Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lzh-1625/go_process_manager
Implement a process management tool in Go.
https://github.com/lzh-1625/go_process_manager
elasticsearch go process-manager pty terminal websocket webui
Last synced: about 1 month ago
JSON representation
Implement a process management tool in Go.
- Host: GitHub
- URL: https://github.com/lzh-1625/go_process_manager
- Owner: lzh-1625
- License: agpl-3.0
- Created: 2024-06-26T12:42:30.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T03:26:16.000Z (4 months ago)
- Last Synced: 2024-09-29T05:04:50.018Z (about 2 months ago)
- Topics: elasticsearch, go, process-manager, pty, terminal, websocket, webui
- Language: Go
- Homepage:
- Size: 6.54 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
![image](https://github.com/lzh-1625/x_process_manager/assets/59822923/50f31b99-41d4-4d8c-88fe-20c978385155)### Terminal
![image](https://github.com/lzh-1625/x_process_manager/assets/59822923/63eb6bec-353f-4d12-a1d9-95d89fccdac3)### Log
![image](https://github.com/lzh-1625/x_process_manager/assets/59822923/6af8e228-7709-45c5-aba8-4b61dc825026)