linux数据收集

时间:2021-06-22 15:06:39   收藏:0   阅读:21
#!/bin/sh
timeout 3610 sar -t 60  >>/opt/collect/cpu_collect.txt
timeout 3610 iostat  -x -k 60 >>/opt/collect/io_collect.txt
timeout 3610 free -s 60 -m >>/opt/collect/mem_collect.txt

原文:https://www.cnblogs.com/pengpengboshi/p/14917454.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!