nmon

  • 创建文件夹
1mdir nmon
  • 进入文件夹
1cd nmon
  • 上传文件(安装包)

  • 解压

    1tar -zxvf nmon16m_helpsystems.tar.gz 
    
  • 给权限

    1chmod +x nmon_x86_64_centos7
    
  • 添加到path中

    1mv nmon_x86_64_centos7 /usr/bin/nmon
    
  • 创建nmon日志文件

    1mkdir   /nmon/log
    
  • 添加定时任务

    1crontab –e
    
  • 定时任务启动

    130 20 * * * nmon -f -N -m /nmon/log -s 30 -c 1440
    2systemctl  start crond
    3systemctl  status crond
    

nmonchar

1cd nmon
  • 上传文件(安装包)

  • 解压

    1tar -xvf nmonchart31.tar
    
  • 给权限

    1chmod u+x nmonchart
    
  • nmonchart 使用

    1nmonchart <nmon-file> <output-file>.html
    
  • example

    1nmonchart blue_150508_0800.nmon blue_150508_0800.html