finding these, whether previous data stored ?

Thread Tools Search this Thread
Operating Systems HP-UX finding these, whether previous data stored ?
# 1  
Old 06-21-2011
finding these, whether previous data stored ?

Hi All,

On HP Unix, 11.23 can following be checked ,
Processes which were consuming more

3)page faults

For particular Time Frame say Yesterday 7 Am to 7.30 Am
and , Yesterday Evening 19.00 Pm to 19.30 Pm

Please specify how.

whether we need to enable, some thing in the system, in order the system stores the above parameters for the Last one week, some thing like this

Is the above requirement is possible on HP UX

# 2  
Old 06-21-2011
SAR utility is what you are looking for.
Please check if you have

It's a simple shell script, which you edit and point where you want reports to be created. Default is /var/adm/sa i belive.
Put in cron smth similar to
0 * * * *  /usr/lbin/sa/sa1 300 12

After some time, issuing sar will generate report per specifed options for last 24 hours.

If you want previous reports you can read them with sar under /var/adm/sa/sa<num> by issuing :
sar <other options check man> -f sa<num>

This way you can check when you have peaks, and code script to monitor those times with ps / tusc / or alike.

Hope this helps.
# 3  
Old 06-21-2011
Hi Peasant,

Thanks for the Reply, we have /usr/lbin/sa/sa1 ,

Now by editing the script , can we pull the report for the date say 14.06.2011 , i e One week

back, What is the limitation, can we pull the report , For one month back also

# 4  
Old 06-21-2011
Unfortunatly not.
Put that in cron for future reports avalibility Smilie

Syslog should be your first look (e.g kernel will kill processes which hit the kernel limits, and write that in syslog )

Other then that, if you are using Nagios,HP OpenView/ SIM or alike, some data should be there.

If you want to catch 'what is wrong' you need to constantly monitor your HW and use monitoring tools like Nagios/OpenView/HPSIM, create rules and such.

Example, you use sar in cron to catch in what part of day/week/etc. the problems are occurring.
Presuming the time, write script / configure monitoring tool etc. to run some command when machine is constantly 100% or alike..

Last edited by Peasant; 06-21-2011 at 01:32 PM..
# 5  
Old 07-07-2011

Thank you Peasant for your, response
# 6  
Old 07-07-2011
Thread being moved to more suitable forum: HP-UX
There are other HP specific utilities if you have them installed (for they are not free, at the best if you dont have, you can install an evaluation (30-60 days?) copy).

Dont know if still valid, but you can try.. to execute:
/opt/perf/bin/perfstat -v

Should give you the status of performance tools if installed like OV measureware, glance etc...

Last edited by vbe; 07-07-2011 at 11:59 AM..
# 7  
Old 07-07-2011
There are some good open source monitoring tools out there you know like NAGIOS or ZABBIX...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to send data to previous program (pipe)?

Hi, Suppose I have a command:$ cmd1 | cmd2I need to send a message from cmd2 to cmd1 when I receive some a certain message from cmd1. How to do this? I think that I have to know cmd1's PID and then in cmd2 send a message to this PID. How? (24 Replies)
Discussion started by: JackK
24 Replies

2. AIX

AIX and Value too large to be stored in data type.

root@test8:/config1>oslevel -s 5300-01-00-0000 root@test8:/config1>oslevel -r 5300-01 while moving a file sized 9GB i got this message root@test8:/configapp>mv bkp_14JUN16_oraapp_2.tgz /oraapp bkp_14JUN16_oraapp_2.tgz: Value too large to be stored in data type. possibly need APAR... (2 Replies)
Discussion started by: filosophizer
2 Replies

3. Shell Programming and Scripting

awk - Multi-line data to be stored in variable

Greetings Experts, As part of automating the sql generation, I have the source table name, target table name, join condition stored in a file join_conditions.txt which is a delimited file (I can edit the file if for any reason). The reason I needed to store is I have built SELECT list without... (5 Replies)
Discussion started by: chill3chee
5 Replies

4. Shell Programming and Scripting

Fill data in column with previous value

Gents, Kindly help me. I have a file with empty values in selected column, I will like to fill the empty values with the previous value. Example Input file X 4959 30010 66727.00 20457.001 1 1441 66512.00 20234.00 20520.001 X 4959 30010 66727.00 20457.001 145 ... (7 Replies)
Discussion started by: jiam912
7 Replies

5. Post Here to Contact Site Administrators and Moderators

Please Help remove some data from previous post

I have posted some data on the forum which needs to be deletd ASAP. The post here in question are How to do in this in shell script? How to modify this script? How to resolve this error? Error in code in linux? Please remove all the parts from post : i-d4411185 ... (6 Replies)
Discussion started by: Palak Sharma
6 Replies

6. UNIX for Dummies Questions & Answers

Finding days in previous month

#!/bin/ksh day=1 month=1 year=2012 if then then prevmonth=31 elif then prevmonth=30 elif then then prevmonth=29 elif then prevmonth=29 else prevmonth=28 fi (4 Replies)
Discussion started by: vagar11
4 Replies

7. HP-UX

struct utsname throwing error : Value too large to be stored in data type

Hi, I am trying to fetch sysname and nodename using struct utsname. I have two HP-UX servers on with 10 characters and other with 13 characters host name. For the first one I am getting truncated 8 characters as output but for the second one i am getting "Value too large to be stored in data type"... (1 Reply)
Discussion started by: shivarajbm
1 Replies

8. Shell Programming and Scripting

appending previous data.

I have on file abc.txt abc.txt: 20090807 Now I want to delete empty lines which has tap/whit spaces from abc.txt .and store the date value in the file into variable.some processs will update the this file with some date . if the process updtes thiis file with empty string , write the... (3 Replies)
Discussion started by: Gopal_Engg
3 Replies

9. Shell Programming and Scripting

script or piece of code where the data returned by a stored procedure you are writing

hi fndz. Can you please help me with the code if I call a stored procedure from my shell script and stored procedure returns a cursor, cursor output should be saved to a file (3 Replies)
Discussion started by: enigma_83
3 Replies

10. AIX

Value too large to be stored in data type???

Hello, I get this message : "Value too large to be stored in data type" when I try to open a 3Gb file. Can someone helps me to resolve the problem. Thank you very much (5 Replies)
Discussion started by: limame
5 Replies
Login or Register to Ask a Question

Featured Tech Videos