Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djosix/servstat
Server resource and GPU process monitor.
https://github.com/djosix/servstat
cpu-monitoring dashboard gpu-monitoring monitoring process-monitoring server-dashboard
Last synced: 10 days ago
JSON representation
Server resource and GPU process monitor.
- Host: GitHub
- URL: https://github.com/djosix/servstat
- Owner: djosix
- Created: 2020-03-03T17:39:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-06-01T18:53:20.000Z (over 1 year ago)
- Last Synced: 2024-11-10T23:35:57.692Z (2 months ago)
- Topics: cpu-monitoring, dashboard, gpu-monitoring, monitoring, process-monitoring, server-dashboard
- Language: Vue
- Homepage:
- Size: 70.3 KB
- Stars: 26
- Watchers: 3
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ServStat: Server Usage Monitoring Tool
ServStat is a robust tool designed to monitor multiple servers for CPU, memory, and GPU usage.
![Demonstration Image](https://user-images.githubusercontent.com/17045050/81972895-dfd6bc00-9655-11ea-9e1c-bda752e6b6bc.png)
## Backend Deployment
Ensure that you are logged in as the root user.
```shell
cd /root
git clone https://github.com/djosix/servstat.git .servstat
cd .servstat/backendpython3 -m pip install -r requirements.txt
```To launch the API server:
```shell
python3 main.py --host=0.0.0.0 --port=9989
```Optionally, you can manage the service with supervisor to ensure it always restarts after system reboots:
```shell
# Install supervisor
apt install supervisorcp servstat.conf /etc/supervisor/conf.d/servstat.conf
vim /etc/supervisor/conf.d/servstat.conf # Customization allowedsystemctl reload supervisor
supervisorctl start servstat
```## Frontend Building Process
This process has been tested with Node.js v14.16.0 and Ubuntu 20.04.
```shell
git clone https://github.com/djosix/servstat.git
cd servstat/frontendnpm install
# Add your server configuration
vim public/config.json# Build the static site
npm run build# Or build with a custom base path
npx vite build --base=/base/path/
```After building, serve the `dist/` folder using a web server:
```shell
# Copy files to the document root
cp -r dist/* /var/www/html/
```These instructions will assist you in getting a copy of the project up and running on your local machines for development and testing purposes.