Unix administration - Sar display

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > January 2007 > Sar display





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Sar display
shettysushil@gmail.com

2007-01-15, 1:19 pm

Hi

I had couple of questions
1.Is it possible to display the sar data in 24hour format always? is
there some switch available for it?

Eg.

12:00:00 AM CPU %user %nice %system %iowait %idle
12:10:01 AM all 1.43 0.03 1.24 0.31 96.98
12:20:00 AM all 0.90 0.03 1.06 0.33 97.67

should always show

00:00:00 CPU %user %nice %system %iowait %idle
00:10:01 all 1.43 0.03 1.24 0.31 96.98
00:20:00 all 0.90 0.03 1.06 0.33 97.67


2. if the above is not possible then how do i limit the start and end
times with the switches -s and -e

sar -s 12:00:00 -e 01:00:00 ...dosent display and output when the sar
data is in 12 hour format.

Thanks
SS

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com