![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Pls Help me out ... I want to check process status at regular intervals of time | srinivasvandana | Shell Programming and Scripting | 5 | 08-02-2008 04:44 AM |
| eCos real-time OS makes short work of building a SAN appliance | iBot | UNIX and Linux RSS News | 0 | 12-01-2007 11:05 AM |
| mailing myself at regular intervals... | timepassman | Shell Programming and Scripting | 4 | 08-21-2005 09:11 PM |
| Date Intervals | yongho | Shell Programming and Scripting | 7 | 07-29-2005 05:19 PM |
| How to perform Date Intervals? | yongho | Shell Programming and Scripting | 2 | 06-21-2005 12:02 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How do sa1/sar time intervals work?
Hi,
I have set up sar on my RedHat and Fedora Linux systems. I am running sa1 from cron: Code:
0 8-17 * * 1-5 /usr/lib/sa/sa1 1200 3 & When I run sar to observe my data, I'll see something like this: Code:
# sar -A -f /var/log/sa/sa22 | more Linux 2.6.21-1.3228.fc7 (opchux0011.comp.optiver.com) 10/22/2008 12:00:01 AM proc/s 12:10:01 AM 0.03 12:20:01 AM 0.03 12:30:01 AM 0.03 12:40:01 AM 0.03 12:50:01 AM 0.03 01:00:01 AM 0.03 01:10:01 AM 0.18 01:20:01 AM 0.03 01:30:01 AM 0.38 01:40:01 AM 0.03 01:50:01 AM 0.03 ... Thanks. -mschwage |
|
||||
|
Did you add this cron job yourself, or did you just use the one that was installed by sysstat (usually in /etc/cron.d/sysstat)? Maybe there's another job running that's recording data every 10 minutes.
You shouldn't see 3 entries every x minutes anyway... the 3 just means that it should write 3 entries 20 minutes apart. i.e. first cron job of the day runs at 08:00, collects data for 1200 seconds, writes an entry, collects data for 1200 seconds, writes second entry, collects data for 1200 seconds, writes third entry and exits... at which time it would be 09:00 when the next cron job kicks in and repeats the exercise. So the only mystery here is why it's recording at 10 minute intervals... unless sar insists on reporting in 10 minute intervals by default, but I didn't think it could do that unless the data was actually recorded with that frequency. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|