Operating System - HP-UX
1832595 Members
2758 Online
110043 Solutions
New Discussion

want a script to monitor my system performance

 
leelangco_1
Frequent Advisor

want a script to monitor my system performance

i want to statistic the usage of disk ,mem,cpu of my system(11.11).we need to make a hardware purchase plan based on the statistic i get.we do not have glance or ovo,so i write a script (as followings)to get data:
#########collect cpu info#########
nohup sar -u 60 1440 >/tmp/collect/sar_u_$host.inf &

####collect mem info##############
nohup vmstat 60 1440 >/tmp/collect/vmstat_$host.inf &

#########collect i/o info#########
nohup sar -b 60 1440 >/tmp/collect/sar_b_$host.inf &

#########collect i/o info#########
nohup sar -d 60 1440 >/tmp/collect/sar_d_$host.inf &

#########collect i/o info#########
nohup iostat 60 1440 >/tmp/collect/iostat_$host.inf &


do you think the scaript is feasible and comprenhensive enough to lead me to get a conclusion ?any body can give some advise?
1 REPLY 1
Yogeeraj_1
Honored Contributor

Re: want a script to monitor my system performance

hi,

have a look at SEP's performance monitoring script:
http://www.hpux.ws/system.perf.sh

What type of application are you running?


kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)