六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 172|回复: 0

Solaris环境下性能采集脚本B

[复制链接]

升级  67.67%

123

主题

123

主题

123

主题

举人

Rank: 3Rank: 3

积分
403
 楼主| 发表于 2013-2-7 13:07:16 | 显示全部楼层 |阅读模式
"#"
echo "#Parameter:    "
echo "#       -h:            # Call script help."
echo "#       -period:       # Set collect period"
echo "#       -process:      # Add a backgroud process to monitor for each daemon"
echo "#       -cpu:          # Collect server cpu information"
echo "#       -net:          # Collect server network information"
echo "#       -diskio:       # Collect server disk information"
echo "#       -memory:       # Collect server memory information"
echo "#       -summary:      # Create a summary report include importent cpu, memory, io, net information"
echo "#"
echo "#       -list:         # list all process start up by collectMan"
echo "#       -kill:         # kill all process start up by collectMan"
echo "#"
echo "#       -br:           # Backup collectMan report"
echo "#       -dr:           # delete collectMan report"
echo "#       -lr:           # list collectMan report"
echo "#       -vsr:          # View summary report"
echo "#       -vpr:          # View process report"
echo "#"
echo "#       -q:            # Quick mode, backup report and restart collectMan"
echo "#       -zip:          # If file is too big, will zip file."
echo "#       -notzip:       # Set not zip file"
echo "#"
echo "#Example:"
echo "#      sh ./collectMan.sh -period 30 -process dataserver IPMSDm DCServer -cpu -memory -diskio c1t1d0s4 c1t2d0s6 c1t3d0s6 -net ce0 ce1 -summary"
echo "#"
echo "#      This command will collect process information for dataserver, IPMSDm, DCServer."
echo "#      And collect server cpu, diskio, memory and network information."
echo "#      And will create a summary report for importent information of server."
echo "#      "
echo "#"
echo "# History:"
echo "#  2005-12: V1.0 Write by zhangfan. Get the process information."
echo "#  2007-6: V2.0 Modify by zhangfan. Add function to get system information. And improved scripts architecture."
echo "#  2007-6: V2.01 Modify by zhangfan. More smart for default setting."
echo "################################################################################################################"
}
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表