Getting "sysstat" working on Mageia Linux
Can someone please tell me in what directories and files I need to modify or set up for sar collection start in crontab or where ever?
|
assuming it's installled, try this:
crontab as root using Code:
sudo crontab -e -u root 59 23 * * * /usr/lib/sa/sa1 -S ALL 60 2 Save and exit the editor and Code:
/etc/init.d/sysstat start Code:
sar |
I tried that with no luck, the sar command does work, it just won't collect and sadc is not pressent is a process status report? Can you tell me where that file we created resides?
|
what file "we" created are you referring to?
is there anything in /var/log/sa/ ? have a 'look' at Code:
less /etc/sysconfig/sysstat Code:
man sadc Tracking system performance with SAR IBM's page on this subject... |
OK, will do
Thanks very much. trying to keep my mind and skills sharp |
# sysstat-10.1.7 configuration file.
# How long to keep log files (in days). # If value is greater than 28, then log files are kept in # multiple directories, one for each month. HISTORY=7 # Compress (using gzip or bzip2) sa and sar files older than (in days): COMPRESSAFTER=10 # Parameters for the system activity data collector (see sadc manual page) # which are used for the generation of log files. SADC_OPTIONS="" I DID SET DATA COLLECTION TO 30 DAYS I'll check directory and file permissions |
Quote:
Code:
grep -E "sar|sysstat|sadc" /var/log/* |
All times are GMT -5. The time now is 04:43 PM. |