mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-10-04 15:42:44 +08:00
Update README.md
This commit is contained in:
62
README.md
62
README.md
@@ -1,49 +1,49 @@
|
|||||||
基于golang的进程管理工具
|
|
||||||
|
|
||||||
# 基础功能
|
# Golang-based Process Management Tool
|
||||||
- 类似screen的进程管理
|
|
||||||
- 提供web ui可视化操作
|
|
||||||
- 基于Elasticsearch的日志管理
|
|
||||||
- 三种角色的权限管理
|
|
||||||
- 进程性能监控
|
|
||||||
- 进程状态推送
|
|
||||||
|
|
||||||
# 终端类型
|
## Basic Features
|
||||||
## pty
|
- Similar to screen's process management
|
||||||
基于伪终端实现,支持ansi字符、快捷键,仅支持linux
|
- Web UI for visual operations
|
||||||
## std
|
- Log management based on Elasticsearch
|
||||||
基于stdin、stdout管道实现,支持所有平台
|
- Role-based permission management (three roles)
|
||||||
|
- Process performance monitoring
|
||||||
|
- Process state notifications
|
||||||
|
|
||||||
# 角色
|
## Terminal Types
|
||||||
|
### pty
|
||||||
|
Implemented based on pseudo terminal, supporting ANSI characters and shortcuts. Only supports Linux.
|
||||||
|
### std
|
||||||
|
Implemented based on stdin and stdout pipes, supporting all platforms.
|
||||||
|
|
||||||
| 角色 | 角色管理 | 进程创建 | 操控进程 | 日志查看 |
|
## Roles
|
||||||
|
|
||||||
|
| Role | Role Management | Process Creation | Process Control | Log View |
|
||||||
| ----- | -------- | -------- | -------- | ---- |
|
| ----- | -------- | -------- | -------- | ---- |
|
||||||
| root | ✔ | ✔ | ✔ | ✔ |
|
| root | ✔ | ✔ | ✔ | ✔ |
|
||||||
| admin | × | × | ✔ | ✔ |
|
| admin | × | × | ✔ | ✔ |
|
||||||
| user | × | × | 需配置 | × |
|
| user | × | × | Configurable | × |
|
||||||
|
|
||||||
|
## How to Use
|
||||||
# 如何使用
|
### Starting a Process
|
||||||
## 启动进程
|
#### Windows
|
||||||
### windows
|
Download the Windows version and double-click to run.
|
||||||
下载windows版本双击运行
|
#### Linux
|
||||||
### linux
|
Download the Linux version.
|
||||||
下载linux版本
|
Use the command:
|
||||||
使用命令
|
|
||||||
```
|
```
|
||||||
chmod 777 ./xpm
|
chmod 777 ./xpm
|
||||||
./xpm
|
./xpm
|
||||||
```
|
```
|
||||||
## web界面
|
### Web Interface
|
||||||
访问http://[ip]:8797
|
Access http://[ip]:8797
|
||||||
默认账号密码 root/root
|
Default username and password: root/root
|
||||||
|
|
||||||
# 界面
|
## Interface
|
||||||
### 进程
|
### Process
|
||||||

|

|
||||||
|
|
||||||
### 终端
|
### Terminal
|
||||||

|

|
||||||
|
|
||||||
### 日志
|
### Log
|
||||||

|

|
||||||
|
Reference in New Issue
Block a user