View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


Search this Thread
Old 06-14-2006, 04:51 AM   #1
Senior Member
Registered: Apr 2003
Posts: 3,428

Rep: Reputation: 53
About sar

Hi folks,

About the small package "sar" on "sysstat'

If I want to poll the CPU utilization every 15 min for the hours between 7am and 10pm through Mon to Fri to a file "sar1", please advise how to setup the sar crontab entry. TIA

Old 06-14-2006, 05:24 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,999
Blog Entries: 11

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
0,15,30,45 7-22 * * mon-fri

Old 06-14-2006, 05:35 AM   #3
Senior Member
Registered: Apr 2003
Posts: 3,428

Original Poster
Rep: Reputation: 53
Hi Tinkster,

Tks for your advice.

0,15,30,45 7-22 * * mon-fri
1. whether create a file /usr/lib/sa/sar1 and place this line on it. Then activate the file.

How to make it run each time with following options?
$ /usr/lib/sa/sar1 sart/stop/restart

2) can "mon-fri" be replaced with "1-5" (without quote)?




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sar -b DotHQ Linux - General 0 05-04-2006 08:44 AM
i cannot get the sar reading for 00:00:00 spyghost Solaris / OpenSolaris 1 04-06-2006 09:58 AM
sar command rsuks Linux - General 2 03-25-2006 04:53 AM
Sar sathish80 Linux - Newbie 1 01-16-2006 07:57 AM
SAR does not seem to be updating. Cronjob Debian 1 01-11-2006 11:16 AM

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration