首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

Solaris环境上性能采集脚本B

2012-08-15 
Solaris环境下性能采集脚本B#echo #Parameter:echo #-h:# Call script help.echo #-period:# Set c

Solaris环境下性能采集脚本B
"#"
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 "################################################################################################################"
}

热点排行