Operating System - HP-UX
1754823 Members
4475 Online
108825 Solutions
New Discussion юеВ

Re: To check system activity data

 
SOLVED
Go to solution
Jayan Nair
Frequent Advisor

To check system activity data

Hello,

Is there any command or tool to check hp ux system activity data for last 10 days.

Thanks & Regards
Jay
5 REPLIES 5
Matti_Kurkela
Honored Contributor
Solution

Re: To check system activity data

What sort of activity data are you thinking about? History of user actions, or system performance statistics?

For user logins, see "man last". A more detailed timeline of user actions would be available if you had enabled auditing before the time you're interested in.

For system performance statistics, there is sar and its data collector process. It isn't enabled automatically: like auditing, you must set it up and define what data is collected and how often.

MK
MK
Jayan Nair
Frequent Advisor

Re: To check system activity data

Thanks MK,
Could you please explain more how to setup system auditing with sar

Regrads
Jay
Stefan Stechemesser
Honored Contributor

Re: To check system activity data

Hi Jay,

I could imagine that GlancePlus / Performance Agent could be interesting for you:

https://h10078.www1.hp.com/cda/hpms/display/main/hpms_content.jsp?zn=bto&cp=1-11-15-28^9637_4000_100__

best regards

Stefan
Md. Farhan A Azam
Trusted Contributor

Re: To check system activity data

Hi,

You can use...

#sar -u 5 10
#sar -d 5 10
#sar -b 5 10

for more details....

#man sar
likid0
Honored Contributor

Re: To check system activity data

An example of some sa1/sa2 commands that can go into a script and launch it from the crontab , with something similar to:

$SADIR/sa1 > $LOG 2>&1

$SADIR/sa2 -s 8:00 -e 18:01 -i 1200 -A >> $LOG 2>&1




man sa1 or man sar for more info
Windows?, no thanks