On Tue, 19 May 2009, Yakoob, M. Kazi M. wrote: > Dear All, > > I have one problem regarding ubuntu .. performance matrices. > The command i processed is > * > sar -d 60 1000000 > disk.out &* > > What i was expecting as a result: > > DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz > await svctm %util dev8-0 0 0 0 0 0 0 0 0 dev8-0 1.3 0 > 34.01 26.15 0.01 4.62 0.51 0.07 dev8-0 1.98 0 33.89 17.08 0.01 5.14 1.48 > 0.29 dev8-0 1.8 3.21 34.99 21.19 0.01 4.3 2 0.36 dev8-0 1.32 0 27.06 > 20.56 0 1.87 0.3 0.04 dev8-0 1.9 0 32.41 17.05 0.01 4.28 2.28 0.43 > But the result is : > > 15:23:14 device read/s rdKb/s write/s wrKb/s rdwr/s 15:24:14 > disk008-000 0.02 0.2 2.01 20.58 2.03 15:25:14 disk008-000 0 0 1.23 13.46 > 1.23 15:26:14 disk008-000 0 0 1.35 13.6 1.35 15:27:14 disk008-000 0.02 > 0.07 1.93 16.33 1.95 15:28:14 disk008-000 0 0 1.33 13.67 1.33 15:29:14 > disk008-000 0 0 1.87 16.33 1.87 15:30:14 disk008-000 0 0 1.65 17.93 1.65 > 15:31:14 disk008-000 0 0 2 17.07 2 > > I mean the parameters or column names in my obtained ones differ from the > expected one. ... i.e there is no TPS or SVCTM .. %util columns > > Well, i can understand rdwr/s = TPS .... but i need to calculate svctm and > %util from the given results. > > Can you please guide me, how to calculate manually ... > > I would appreciate your cooperation. > > Regards, > Yakoob, M. Kazi M. > 723036 >
Hi Yakoob: just located and installed the package app-admin/sysstat. Ran 'sar' (system activity report) command with the same options as you provided speed ~ # sar -d 60 100000 > disk.out & Linux 2.6.24-gentoo-r8-saifi (speed) 05/19/09 13:12:03 DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz await svctm %util 13:13:03 dev3-0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:13:03 dev8-0 0.87 1.33 12.53 16.00 0.03 39.23 11.04 0.96 13:13:03 DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz await svctm %util 13:14:03 dev3-0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:14:03 dev8-0 2.05 0.40 37.61 18.54 0.11 54.15 9.21 1.89 As you can see the output, both . 'svctm' (average service time for I/O request) . %util (%cpu time during the I/O request) are displayed. Is there a possibility of upgrading the package or even better just download the sources and compiling it ? thanks Saifi.

