JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
AI赋能项目
代码
redis数据库
二工大鉴权
K8s
github
AI赋能项目
获取系统资源使用率
API
CmhAttCPI
old-backup
More
Share
Explore
获取系统资源使用率
注册为服务
G2
sudo nano /etc/systemd/system/ai-jk.service
[Unit]
Description=Client2 Service
After=network.target
[Service]
ExecStart=/root/python-usage/client2
Restart=always
User=root
WorkingDirectory=/root/python-usage
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable ai-jk
sudo systemctl start ai-jk
sudo systemctl status ai-jk
G3
sudo nano /etc/systemd/system/g3jk.service
[Unit]
Description=Server Service
After=network.target
[Service]
ExecStart=/root/tmpfile/server
Restart=always
User=root
WorkingDirectory=/root/tmpfile
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable g3jk
sudo systemctl start g3jk
监控服务固定地址
http://10.100.1.98:5000/full_status
G1由于有虚拟GPU无法获取实用信息
路由
/update_status
/full_status
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.