Operating System - HP-UX
1753809 Members
8102 Online
108805 Solutions
New Discussion юеВ

Re: how to explain the below commands output

 
rajesh73
Super Advisor

how to explain the below commands output

1.$sar -q 1 5

HP-UX B.11.11 U 9000/800 01/27/11

22:53:03 runq-sz %runocc swpq-sz %swpocc
22:53:04 1.0 50 0.0 0
22:53:05 1.0 50 0.0 0
22:53:06 1.0 50 0.0 0

2.$sar -d 1 5

HP-UX B.11.11 U 9000/800 01/27/11

22:57:14 device %busy avque r+w/s blks/s avwait avserv
22:57:15
22:57:16
22:57:17 c2t0d0 1.00 0.50 1 2 0.00 7.86
22:57:18 c2t0d0 2.00 0.50 3 24 0.00 16.37
22:57:19

Average c2t0d0 0.60 0.50 1 5 0.00 14.24

question
1.how to calculate the paging space in sar -q option
2.how to calculate the disk i/o in sar -d option
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: how to explain the below commands output

Shalom,

1.how to calculate the paging space in sar -q option

I would use swapinfo -tam to calculate total memory and page space and show use.

2.how to calculate the disk i/o in sar -d option

The key hereis to read the columns.
avwait means there is a wait time for I/O tog et done. Not happening here. There appears to be no problems that I can see. %busy is 1% and 2% for an average of .6%

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
Manix
Honored Contributor

Re: how to explain the below commands output

Hakki Aydin Ucar
Honored Contributor

Re: how to explain the below commands output

runq-sz - Average length of the run queue(s) of processes
(in memory and runnable)

%runocc - The percentage of time the run queue(s) were occupied by processes
(in memory and runnable)

swpq-sz - Average length of the swap queue of runnable processes
(processes swapped out but ready to run)

For second part;
%busy Portion of time device was busy servicing a request

avque Average number of requests outstanding for the device

r+w/s Number of data transfers per second (read and writes)
from and to the device

blks/s Number of bytes transferred (in 512-byte units)
from and to the device

avwait Average time (in milliseconds) that transfer requests
waited idly on queue for the device

avserv Average time (in milliseconds) to service each