sadc to sar
Herta Van den Eynde
herta.vandeneynde at gmail.com
Thu Sep 11 19:48:18 UTC 2008
2008/9/11 Stephen John Smoogen <smooge at gmail.com>:
> On Thu, Sep 11, 2008 at 9:33 AM, Herta Van den Eynde
> <herta.vandeneynde at gmail.com> wrote:
>> A customer asked us for fine grained performance data, so I ran
>> "/usr/lib/sa/sadc -F -L 10 17280 /tmp/sadc.out" and verified that the
>> file was updated every 10 seconds. The resulting output file is 37MB.
>>
>> I then wanted to use sar to convert the sadc file to a sar file, but
>> I'm having problems doing so. Using "sar -A -i 10 -f /tmp/sadc.out |
>> head -n 20" returns:
>>
>>
>
> Did you try it without the -i ? I got the following:
>
> 10:51:53 AM runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
> 10:52:01 AM 0 219 0.28 0.26 0.20
> 10:52:11 AM 0 219 0.24 0.25 0.19
> 10:52:21 AM 1 218 0.20 0.24 0.19
> 10:52:31 AM 1 218 0.17 0.23 0.19
> 10:52:41 AM 1 218 0.29 0.26 0.20
> 10:52:51 AM 0 218 0.25 0.25 0.19
> 10:53:01 AM 1 218 0.21 0.24 0.19
> 10:53:11 AM 0 218 0.17 0.23 0.19
> 10:53:21 AM 1 219 0.15 0.22 0.18
> 10:53:31 AM 0 219 0.20 0.23 0.19
> 10:53:41 AM 0 219 0.17 0.22 0.18
> 10:53:51 AM 0 219 0.14 0.21 0.18
> 10:54:01 AM 0 219 0.12 0.21 0.18
> 10:54:11 AM 0 219 0.10 0.20 0.18
> 10:54:21 AM 0 219 0.08 0.19 0.17
> 10:54:31 AM 0 218 0.07 0.19 0.17
> 10:54:41 AM 0 218 0.06 0.18 0.17
> 10:54:51 AM 1 218 0.05 0.17 0.17
> 10:55:01 AM 0 218 0.28 0.22 0.18
> 10:55:11 AM 0 218 0.24 0.21 0.18
> Average: 0 218 0.17 0.22 0.18
>
> with sar -A -f /tmp/sadc.out
>
> but the file was only 20 in length.
>
>>
>> Herta
>> --
> --
> Stephen J Smoogen. -- BSD/GNU/Linux
> How far that little candle throws his beams! So shines a good deed
> in a naughty world. = Shakespeare. "The Merchant of Venice"
>
Thanks for the suggestion, Stephen. I did try that and it gives the
same result.
Kind regards,
Herta
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
More information about the redhat-sysadmin-list
mailing list