How to get performance report for previous date?


 
Thread Tools Search this Thread
Operating Systems HP-UX How to get performance report for previous date?
# 8  
Old 03-12-2009
Wow..Thats great.. Thanks a lot apra143..
i'll try and get back to you soon..
# 9  
Old 03-13-2009
yes that command is working..i'm getting the data..
but i am not able to read it..Smilie here i have collected for process but not able to read that.please help.



000 0.00 0.000 0.00 0.000 0 0
PROC 03/12/09 00:43 2009 71 1236818580 60 60.26 7103 11 ora_psp0_ebosspe 1 301 ? oracle 156 M SEM 0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 133.66 0.0 0 0 0 0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 0 0.0 46 0 70 0.0 292 74752 700416 0 0 1741893.25 1 0 0.00 0.000 0.00 0.000 100.00 1741893.250 0 0 0.00 0.000 0.00 0.000 0.00 0.000 0.00 0.000 0.00 0.000 100.00 1741893.250 0.00 0.000 0 0
# 10  
Old 03-14-2009
Each line is separated by white space.
To be more specific on what type of data you want extracted:
IT Resource Center forums - Access historical measureware data with glance
Checkout the example posted by Geoff Wild there.

Don't have a HP-UX machine with mwa installed to check, but extract should be pretty straight forward.

Note: if the mwa daemons are down, no data might be collected. On rare occasions the mwa log files can get corrupted. What does:
# mwa status
show?
# 11  
Old 03-16-2009
Thanks again..that was very useful..
mwa status..ya its running..
i am able to get data but struggling to read..may be i'm expecting
it like what we get from top or sar commands..in column format
# 12  
Old 03-17-2009
It is in column format. Not sure why you cannot see the headings at the top. If you import into excel, might be more clear.
# 13  
Old 03-17-2009
Yes, i can see headings but everything is just messed up..below i have
pasted the o/p..i'll try to export in excel format.


Rec Seconds Sec Alive App Process Group User Interest Stop
CPU SysCall SysCall System System User User Nice Nice RealTm RealTm CSwtch CSwtch Intrpt Intrpt Normal Normal CPU CPU Phys Phys Logl Logl Logl Logl IO Byte IO FS FS FS FS FileIO File System VM VM System System PhysIO Total Disk Logl Logl IO Byte IO Byte Res Virtual Minor Major Run Thread Process Stop Reasons Histogram Percent Pri Pri DskSubsys DskSubsys Sem Sem Term Term IO IO LAN LAN Sleep Sleep Memory Mem NFS NFS IPC IPC System System Other Other Type Date Time Year Day Since 1970 /Intvl Intvl PID ID Name PPID ID TTY Name Pri Reason Reason PRMID CPU % Time CPU % Time CPU % Time CPU % Time CPU % Time CPU % Time CPU % Time CPU % Time CPU % Time % CumTime Cum IO Rt IOs Rd Rt Reads Wr Rt Writes Rate Byte Rd Rt Reads Wr Rt Writes Rate IOs IO Rt IOs IO RtIOs Rt Cum Transfers IORtCum IO Cum Rt Cum Cum Mem Memory Faults Faults Secs Cum Count B=Busy, C=CPU, D=Disk, M=Memory, N=Network of time Wait % WaitTm Wait % Wait Time Wait % WaitTm Wait % WaitTm Wait % WaitTm Wait % WaitTm Wait % WaitTm Wait % Wait Wait % WaitTm Wait % WaitTm Wait % WaitTm Wait % WaitTm PROC 03/17/09 18:45 2009 76 1237315500 59 59.97 41 3 vxfsd 0 0 ? root 138 D SYSTM 0 0.01 0.00 0.00 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.53 12016.56 17.1 1008 0 0 0 0 63.6 3752 0.0 0 0.0 0 0.0 0 0.0 0 17.1 1008 15.9 35685824 0 0 62.1 139117722 7424 7424 0 0 2239342.25 231 1 0.00 0.000 0.01 223.934 0.00 0.000 0 0 0.03 671.802 0.00 0.000 0.43 9629.172 0.00 0.000 0.00 0.000 0.00 0.000 99.51 2147483.750 0 0 PROC 03/17/09 18:45 2009 76 1237315500 59 59.97 1588 9 ora_s000_cts_prd 1 301 ? oracle 154 CD SLEEP 0 14.65 8.64 1.00 0.58 1.65 0.97 13.00 7.67 0.00 0.00 0.00 0.00 0.05 0.02 0.60 0.35 13.00 7.67 6.85
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Not able to fetch previous month first date and last date

I am not able to fetch first date and last date previous month date -d -1month +%Y-%m-%d date -d -1month +%Y-%m-%d I need two format dd-mm-yyy previous month 01-03-2016 previous month 31-03-2016 and also only date 1 to 31 Aprriciate your replay (4 Replies)
Discussion started by: jagu
4 Replies

2. Shell Programming and Scripting

Script to get previous date for the given input date..

hi all, need a script or command to get the previous date for the given input date... like in my script i will pass date as input parameter like 2014-12-01 and i want the output as previous date.. ie.. 2014-11-30 (2 Replies)
Discussion started by: hemanthsaikumar
2 Replies

3. Shell Programming and Scripting

Date - incorrect results for previous date

Hello: I am bit puzzled with what I could be doing wrong and any help is appreciated. I have a date in YYYMMDD format and I need to find the previous date. Based on the input on this forum, I have come up with the following. It seems to work for all except the following. Here I am passing date... (3 Replies)
Discussion started by: wincrazy
3 Replies

4. Shell Programming and Scripting

Help with getting last date of previous month and first date of previous 4th month from current date

I have requirment to get last date of previous month and the first date of previous 4th month: Example: Current date: 20130320 (yyyymmdd) Last date of previous month: 20130228 (yyyymmdd) First date of previous 4th month: 20121101 (yyyymmdd) In my shell --date, -d, -v switches are not... (3 Replies)
Discussion started by: machomaddy
3 Replies

5. Shell Programming and Scripting

Get Previous date of a past date

Hi all, I have a variable where it has a past date value in the format YYYY-MM-DD eg-> pcontromModate="2008-11-31" How can i get the date 1 day before the pcontromModate. The required date is 2008-11-30. ..Plz reply since its an urgent one (2 Replies)
Discussion started by: morbid_angel
2 Replies

6. Shell Programming and Scripting

finding the previous day date and creating a file with date

Hi guys, I had a scenario... 1. I had to get the previous days date in yyyymmdd format 2. i had to create a file with Date inthe format yyyymmdd.txt format both are different thanks guys in advance.. (4 Replies)
Discussion started by: apple2685
4 Replies

7. Shell Programming and Scripting

Pass the first date and last date of previous month

Hi All, I need to run a job every month at the beginning of the month which is scheduled through autosys, lets say on 03/01/2010. I need to pass the last month's i.e February's first_date = 02/01/2010 and last_date = 02/28/2010 as variables to a stored procedure. Can somebody please pass... (2 Replies)
Discussion started by: vigdmab
2 Replies

8. Shell Programming and Scripting

want to get previous date from date command in ksh

I want to get previous date from date command. I am using ksh shell. Exmp: today is 2008.09.04 I want the result : 2008.09.03 Please help. Thanks in advance. (4 Replies)
Discussion started by: rinku
4 Replies

9. Shell Programming and Scripting

Specify a previous date as start date in shell script

Hi, I am trying to modify a script which accepts date in format dd/mm/yy. I am trying to modify the script so that it retrieves the date that was 15 days earlier from today as start date. Eg.if today is 05/09/2006, the script should retrieve 21/08/2006 as start date. Is there any script/code to... (2 Replies)
Discussion started by: ritzwan0
2 Replies

10. UNIX for Dummies Questions & Answers

How to find Previous date and Coming date

Hi All, How to find a date which is 7 days from the current date as well as how to find a date which is 7 days before this current date. Urgently i need help. Thanks in Advance Regards Arunava (2 Replies)
Discussion started by: arunava_maity
2 Replies
Login or Register to Ask a Question