接口机检测工具
2023-11-13 11:14:51 4 举报
AI智能生成
登录查看完整内容
工具使用
作者其他创作
大纲/内容
平均负载:uptime | sed -nr 's/.*(load.*)/\\1/gp'
总数量:top -b -n 1 | sed -nr 's/.*Tasks: ([0-9]+ total).*/\\1/gp'
每个用户开启的进程数量:ps auxh | awk '{print $1}' | grep -v '+' |sort | uniq | while read U; do echo -n ${U}:;ps h -u ${U}| wc -l; done
进程数量
总内存:free -h | awk 'NR==2{print $2}'
可用内存:free -h | awk 'NR==2{print $7}'
物理内存
总容量:free -h | awk 'NR==3{print $2}'
未使用空间:free -h | awk 'NR==3{print $4}'
交换分区
子主题
cpu
磁盘IO
网络IO
I/O
系统状态
文件数量
服务状态
接口检测工具
0 条评论
回复 删除
下一页