mirror of
https://github.com/lzh-1625/go_process_manager.git
synced 2025-09-26 20:11:20 +08:00
50 lines
1.4 KiB
Markdown
50 lines
1.4 KiB
Markdown
|
||
# Golang-based Process Management Tool
|
||
|
||
## Basic Features
|
||
- Similar to screen's process management
|
||
- Web UI for visual operations
|
||
- Log management based on Elasticsearch
|
||
- 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 | ✔ | ✔ | ✔ | ✔ |
|
||
| admin | × | × | ✔ | ✔ |
|
||
| user | × | × | Configurable | × |
|
||
|
||
## How to Use
|
||
### Starting a Process
|
||
#### Windows
|
||
Download the Windows version and double-click to run.
|
||
#### Linux
|
||
Download the Linux version.
|
||
Use the command:
|
||
```
|
||
chmod 777 ./xpm
|
||
./xpm
|
||
```
|
||
### Web Interface
|
||
Access http://[ip]:8797
|
||
Default username and password: root/root
|
||
|
||
## Interface
|
||
### Process
|
||

|
||
|
||
### Terminal
|
||

|
||
|
||
### Log
|
||

|