NAME

sa1 - system activity one sample


SYNOPSIS

sa1


DESCRIPTION

sa1 samples cumulative activity counters in /proc filesystem and stores it into /var/log/sa/sa dd file where dd is actual day. And these files are readable using sar with -f option.

Ussually is entered into crontab for periodic sample of system load.


RETURN VALUE

On success return code is 0, if program failed then return code is:

  1. Program wasn't able to read performance data.

  2. Program failed in opening /var/log/sa/sa dd file.


KNOWN BUGS

This sar/sadc may be unstable. If is system very load (busy) you can get some unusable data (wait interval between samples goes to zero), if you use short sampling interval.

Sometimes may program hangs itself.


BUGS REPORTING

Report bugs to linux_monitor(at)volny(dot)cz .

Please use subject: bug report and related form, which is available at: Bug Report

Or in source distribution ./web/bug_rep.html.


COPYRIGHT

This function is wroted as part of system activity utilities for Linux system and may be freely distributed under GPL terms.

Copyright (c) 1995, 2001 David Doubrava (e-mail: linux_monitor(at)volny(dot)cz ).


SEE ALSO

Origin of values description is in Linux kernel source.

sa1, sadc, sar