ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux 使用sar收集性能分析數據步驟(按每月31天收集)

Linux 使用sar收集性能分析數據步驟(按每月31天收集)

原创 Linux操作系统 作者:smalljunfei 时间:2008-09-09 10:58:15 0 删除 编辑

Linux 使用sar收集性能分析數據步驟(按每月31天收集)

 

.確保sysstat工具已經安裝;

2.cd /etc/sysconfig;
vi sysstat ,change history=7 to history=31 and save ;

3.cd /usr/lib/sa
vi sa2 , change history=7 to history=31 and save ;

4.chkconfig --list sysstat
make sure this service's status is on at run level 3;

5.service sysstat restart .

6.data collection
cd /var/log/sa/; ls sa?? and extract the data you wanted with sar command .

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/11783655/viewspace-442588/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: Samba使用詳解
请登录后发表评论 登录
全部评论

注册时间:2008-05-17

  • 博文量
    37
  • 访问量
    37497