~ubuntu-branches/ubuntu/karmic/sysstat/karmic

« back to all changes in this revision

Viewing changes to debian/sysstat.cron.d

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2009-03-08 19:01:43 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20090308190143-88odmo9euvg7f71d
Tags: 9.0.1-1
* New upstream release:
  + sar man page now mentions dependencies on sadc options (closes: #518438).
* Makefile.in: don't update sysstat.pot in clean. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Global variables:
2
 
#
3
 
#  our configuration file
4
 
DEFAULT=/etc/default/sysstat
5
 
#  default setting, overriden in the above file
6
 
ENABLED=false
7
 
SA1_OPTIONS=""
 
1
# The first element of the path is a directory where the debian-sa1
 
2
# script is located
 
3
PATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin
8
4
 
9
5
# Activity reports every 10 minutes everyday
10
 
5-55/10 * * * * root [ -x /usr/lib/sysstat/sa1 ] && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; [ "$ENABLED" = "true" ] && exec /usr/lib/sysstat/sa1 $SA1_OPTIONS 1 1 ; }
 
6
5-55/10 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1
11
7
 
12
8
# Additional run at 23:59 to rotate the statistics file
13
 
59 23 * * * root [ -x /usr/lib/sysstat/sa1 ] && { [ -r "$DEFAULT" ] && . "$DEFAULT" ; [ "$ENABLED" = "true" ] && exec /usr/lib/sysstat/sa1 $SA1_OPTIONS 60 2 ; }
 
9
59 23 * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2