Difference between revisions of "/usr/lib/sysstat/debian-sa1"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Debian-sa1 to /usr/lib/sysstat/debian-sa1)
Line 28: Line 28:
 
</pre>
 
</pre>
  
 +
== Related terms ==
 +
* <code>[[/etc/cron.d/sysstat]]</code>
  
  

Revision as of 05:57, 30 September 2020

/usr/lib/sysstat/debian-sa1

!/bin/sh
# vim:ts=2:et
# Debian sa1 helper which is run from cron.d job, not to needlessly
# fill logs (see Bug#499461).

set -e

# Global variables:
#
#  our configuration file
DEFAULT=/etc/default/sysstat
#  default setting, overriden in the above file
ENABLED=false

# Read defaults file
if [ -r "$DEFAULT" ]; then
  . "$DEFAULT"
fi

if [ "true" = "$ENABLED" ]; then
  exec /usr/lib/sysstat/sa1 "$@"
fi

exit 0

Related terms


See also

Advertising: