sa1 - system activity one sample
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.
On success return code is 0, if program failed then return code is:
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.
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.
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 ).
Origin of values description is in Linux kernel source.sa1, sadc, sar