mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-05 05:29:23 +08:00
690 B
690 B
Server
Configure
Add target server in goploy and get the server id.
Run goploy-agent in target server.
Target illustrate
- CPU usage rate: /proc/stat add all columns and minis the 4th column
- RAM usage rate: /proc/meminfo Memfree/MemTotal
- Loadavg: /proc/loadavg
- TCP: /proc/net/tcp established、total
- Public network bandwidth: /proc/net/dev collect the 1st(in) and 9th(out) column the eth column
- Intranet bandwidth: /proc/net/dev collect the 1st(in) and 9th(out) column the lo column
- Disk usage rate: df --output=pcent,ipcent,source
- Disk IO: /sys/block//stat collect the 0th(read iops) and 4th(write iops) column