Operating System - HP-UX
1848345 Members
6628 Online
104024 Solutions
New Discussion

Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

 
SOLVED
Go to solution
Eric  Unix
Frequent Advisor

Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Dear Sirs

Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data in HP 11 and 11i. Appreciatively.

Best Regards
Eric
Look forward
7 REPLIES 7

Re: Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Eric,

Depending on what software is installed on your systems, you may already have a product called "Performance Agent" (previously called Measureware) installed on your systems.

See if:

mwa status

returns anything when run as root. If it does, you have measureware installed and will be able to extract more historical data than you could ever be interested in.

If it's not installed, then the easiest way to start to collect this sort of data is to enable accounting - see Shannon's post in this thread for details:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=97453

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Steven E. Protter
Exalted Contributor

Re: Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Shalom,

A few

http://www.hpux.ws/?p=6

Works on 10.20-11.31 I believe.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
rico_cebiche
Advisor

Re: Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Eric,

Use sar, it is installed with all HP-UX versions.

EXAMPLES
Example 1: Viewing system activity
To see today's CPU activity so far:
example% sar
Example 2: Watching system activity evolve
To watch activity evolve for 10 minutes and save data to temp:
example% sar -o temp 60 10
Example 3: Reviewing disk and tape activity
To later review disk and tape activity from that period:
example% sar -d -f temp
Eric  Unix
Frequent Advisor

Re: Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Hello Shalom

Appreciate your help. And do you have any document about how to use it. Should I let this scripts setup as a schedule job in crontab ?

if issue this command -> ./system.perf.sh 6
then RUNSEC = 6 right ?

So what it means "nohup vmstat -d -n 1 6 ?

Thanks your great help.

BR
Eric

Look forward
James R. Ferguson
Acclaimed Contributor
Solution

Re: Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Hi Eric:

> So what it means "nohup vmstat -d -n 1 6 ?

I would suggest you do:

# man nohup
# man vmstat

Regards!

...JRF...
Eric  Unix
Frequent Advisor

Re: Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Hello All

I have gather some sar and vmstat data, and want to load them into database to generate a os performance report. Do you have any scripts which can catch my wanted data into text file ? Appreciate for all of your grate help. Thanks a lot.

Best Regards
Eric
Look forward
Rita C Workman
Honored Contributor

Re: Does there are any tools or scrpts to gather cup, disk IO, memory usages infomation data

Eric & Unix

Go back and read Duncan's comments regarding Measureware or Performance Agent.

Get it...set it up and start collecting data that you can then keep,collect and extract.

Have fun,
Rita