debian/0000775000000000000000000000000011771741537007205 5ustar debian/atop.cron.d0000664000000000000000000000015111771741525011247 0ustar PATH=/sbin:/usr/sbin:/bin:/usr/bin # start atop daily at midnight 0 0 * * * root invoke-rc.d atop _cron debian/changelog0000664000000000000000000001712111771741525011056 0ustar atop (1.26-2) unstable; urgency=low * fix typo in bug number in changelog. Sorry, sur5r * add patch to handle vd* disks as well (Closes: 640527) * remove set -e from init script, /etc/init.d/skeleton doesn't have it * Depend on lsb-base (>= 3.2-14) as we use log_* functions * streamlinie init script with current skeleton, add default file. Thanks to Vincent Lefevre (Closes: 675443) * add DEP-3 headers to patches * Roll back Debian patches breaking a feature: * Now, only use mkstemp to create temp file * Roll back Debian change: use upstream cronjob to rotate logs (Closes: 611616) * merge daily cron job and init script, debianize process * use a wrapper to obtain correct redirection * add cron to Recommends * remove atop binary in clean target -- Marc Haber Tue, 22 May 2012 18:50:19 +0200 atop (1.26-1) unstable; urgency=low * New upstream version 1.26 (Closes: #569175) * repack source: remove binary that was contained in the source package * use dh level 9, source format 3.0 (quilt) * roll back Makefile to original state * roll /var/run patch into a quilt patch * roll logfile mkstemp patch into a quilt patch * add README.source * disable most functions of Makefile * disable process accounting (no kernel patch) * don't install package's init script * disable upstream's cron job * disable versioned symlinks * disable chkconfig call from Makefile * postinst: remove path from logrotate, move DEBHELPER last, set -e * new init script * Thanks to Peter Eisentraut for a patch that didn't get used (Closes: #529003) * put proper Copyright statement in debian/copyright * debian/control * add ${misc:Depends} * Standards-Version: 3.9.3 (no further changes necessary) * versioned build dep on debhelper * add Vcs-Lines * Import sources to alioth/collab-maint * New Maintainer (cleared with mia@qa) (Closes: #646744) -- Marc Haber Sun, 20 May 2012 21:07:13 +0000 atop (1.23-1.1) unstable; urgency=high * Non-maintainer upload. * Fix CVE-2011-XXXX: Insecure use of a temporary files rawlog.c and acctproc.c (Closes: #622794) -- Jonathan Wiltshire Mon, 01 Aug 2011 15:35:16 +0100 atop (1.23-1) unstable; urgency=low * fixed typo (Closes: #467447) * last release was built as native package -- Edelhard Becker Fri, 07 Mar 2008 22:07:27 +0100 atop (1.23) unstable; urgency=low * new upstream release * bump standards to 3.7.3 (no changes) * moved homepage from description to control field -- Edelhard Becker Fri, 07 Mar 2008 16:16:15 +0100 atop (1.22) unstable; urgency=low * new upstream release -- Edelhard Becker Tue, 20 Nov 2007 17:44:47 +0100 atop (1.21-1) unstable; urgency=low * new upstream release * made rules and init.d script lintian clean -- Edelhard Becker Fri, 31 Aug 2007 15:55:33 +0200 atop (1.20-2) unstable; urgency=low * do not install upstream's crontab file -- Edelhard Becker Thu, 03 May 2007 00:12:59 +0200 atop (1.20-1) unstable; urgency=low * New upstream release (Closes: #411133, #372935) * include upstream Changelog (Closes: #340093) * bumped standards to 3.7.2 * applied patch to cooperate with sa from acct package, thanks Dominique (Closes: #420676) * restart daemon by logrotate via invoke-rc.d (Closes: #393545) -- Edelhard Becker Wed, 02 May 2007 02:30:09 +0200 atop (1.16-2) unstable; urgency=low * depend on logrotate (Closes: #362893), thanks Tommi -- Edelhard Becker Mon, 17 Apr 2006 15:00:20 +0200 atop (1.16-1) unstable; urgency=low * New upstream release. Most notable upstream changes: - New line with system-level counters called PAG (paging-related counters like scan, stall, swin and swout). - For network-interfaces the effective line-speed in bits-per-second for incoming and outgoing traffic is shown now (so Kbps/Mbps/Gbps). - New function '1': show averages *per second* where applicable. - Improved output that is easier to parse (fixed number of fields per line). -- Edelhard Becker Fri, 7 Apr 2006 11:59:46 +0200 atop (1.15-2) unstable; urgency=low * remove log files on purge (Closes: #359083), thanks Justin -- Edelhard Becker Tue, 28 Mar 2006 16:29:27 +0200 atop (1.15-1) unstable; urgency=low * New upstream release -- Edelhard Becker Mon, 7 Nov 2005 23:08:01 +0100 atop (1.14.99-1) unstable; urgency=low * New upstream release (upcoming 1.15 preview) * removed /etc/atop/ stuff (not necessary) and the corresponding section from the man page * removed /etc/rc.d/ stuff (not necessary) -- Edelhard Becker Sun, 30 Oct 2005 11:56:20 +0100 atop (1.14-1) unstable; urgency=low * New upstream release * added URL of the new website where appropriate (copyright, control, README and watch) -- Edelhard Becker Sat, 18 Dec 2004 14:01:42 +0100 atop (1.13-1) unstable; urgency=low * New upstream release (added recognition of thread-groups and scheduling information) * fixed missing options in manpage and help-screen -- Edelhard Becker Fri, 24 Sep 2004 11:09:04 +0200 atop (1.12-1) unstable; urgency=low * New upstream release -- Edelhard Becker Wed, 2 Jun 2004 10:44:36 +0200 atop (1.10-2) unstable; urgency=low * changed default for raw data filename to /var/log/atop.1 to reflect the Debian layout (Closes: #217387); adapted man page * bumped policy to 3.6.1 (no changes needed) -- Edelhard Becker Fri, 24 Oct 2003 14:48:11 +0200 atop (1.10-1) unstable; urgency=low * New upstream release * increased storage for a number of resources to allow larger values (like reported in #197626) * new commands (see /usr/share/doc/atop/NEWS.Debian.gz for details) * upstream replaced sys/acct.h by linux/acct.h (Closes: #198890) * trailing `pidof atop` removed from init.d/atop (Closes: #199330) -- Edelhard Becker Wed, 9 Jul 2003 15:57:14 +0200 atop (1.9-6) unstable; urgency=low * changed some 'long's to 'long long's to prevent overflows at 2GB (Closes: #197626) * bumped standards to 3.5.10 -- Edelhard Becker Mon, 16 Jun 2003 21:23:21 +0200 atop (1.9-5) unstable; urgency=low * changed Architecture to any (Closes: #192620) * logrotate now should work - seems that atop needs more time after stopping via start-stop-daemon than logrotate waits * changed maintainer e-mail to my debian account * force inclusion of orig.tar.gz via dpkg-buildpackage -sa -- Edelhard Becker Mon, 26 May 2003 18:30:02 +0200 atop (1.9-4) unstable; urgency=low * improved logrotate (again) * new upload should include atop-1.9.orig.tar.gz (Closes: #192344) -- Edelhard Becker Thu, 8 May 2003 12:38:51 +0200 atop (1.9-2) unstable; urgency=low * added -oknodo to start-stop-deamon to allow smooth upgrade * improved upgrade / logrotate handling -- Edelhard Becker Fri, 2 May 2003 16:56:19 +0200 atop (1.9-1) unstable; urgency=low * Initial Release. * removed atop.{daily,24hours,cron}, rely on init.d/atop instead * add support for logrotate * Initial upload (Closes: #190729) -- Edelhard Becker Fri, 25 Apr 2003 14:27:39 +0200 debian/control0000664000000000000000000000235611771741525010613 0ustar Source: atop Section: admin Priority: optional Maintainer: Marc Haber Build-Depends: debhelper (>= 9~), zlib1g-dev, libncurses5-dev Standards-Version: 3.9.3 Homepage: http://www.atconsultancy.nl/atop/home.html Vcs-Git: git://git.debian.org/git/collab-maint/atop.git Vcs-Browser: http://git.debian.org/?p=collab-maint/atop.git;a=summary Package: atop Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.2-14) Recommends: cron Description: Monitor for system resources and process activity Atop is an ASCII full-screen performance monitor, similar to the top command, but atop only shows the active system-resources and processes, and only shows the deviations since the previous interval. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks and network layers, and it shows for every active process the CPU utilization in system and user mode, the virtual and resident memory growth, priority, username, state, and exit code. The process level activity is also shown for processes which finished during the last interval, to get a complete overview about the consumers of things such as CPU time. . Author: Gerlof Langeveld debian/README.Debian0000664000000000000000000000175311771741525011251 0ustar atop Debian package ------------------- For comprehensive screenshots of atops capabilities and features and the HTML online manual (if you don't have dwww and/or man2html installed locally) visit the new official homepage at http://www.atconsultancy.nl/atop/home.html. Edelhard Becker Sat, 18 Dec 2004 12:59:37 +0100 There are the following changes made to the upstream source: - when installed, this package is started via init - the kernel patch is not installed (mentioned in atop.1) - the handling of logfiles is automated with logrotate (mentioned in atop.1) Edelhard Becker Fri Apr 25 12:26:45 CEST 2003 With release 1.10 the raw binary log file format has changed. This should be no big problem since the package only keeps 14 rotations (i.e. 2 weeks when rotated daily as the default is) of logfiles. If you need to replay old logfiles, just install 1.9-6 additionally. Edelhard Becker Mon, 30 Jun 2003 16:44:50 +0200 debian/preinst0000664000000000000000000000025211771741525010610 0ustar #!/bin/bash set -e if dpkg-maintscript-helper supports rm_conffile; then dpkg-maintscript-helper rm_conffile \ /etc/logrotate.d/atop 1.26-2~ -- "$@" fi #DEBHELPER# debian/patches/0000775000000000000000000000000011771741525010631 5ustar debian/patches/logfiles0000664000000000000000000000170611771741525012364 0ustar Description: Use mkstemp to create temp file Origin: other Forwarded: no --- a/rawlog.c +++ b/rawlog.c @@ -158,7 +158,7 @@ #include "photoproc.h" #include "photosyst.h" -#define BASEPATH "/var/log/atop/" +#define BASEPATH "/var/log/atop/" /* ** structure which describes the raw file contents @@ -566,18 +566,17 @@ */ fprintf(stderr, "Decompressing logfile ....\n"); - snprintf(tmpname2, sizeof tmpname2, "/tmp/atopwrk%d", getpid()); - snprintf(command, sizeof command, "gunzip -c %s > %s", - tmpname1, tmpname2); - system (command); - - if ( (rawfd = open(tmpname2, O_RDONLY)) == -1) + snprintf(tmpname2, sizeof tmpname2, "/tmp/atopwrkXXXXXX"); + if ( (rawfd = mkstemp(tmpname2)) == -1) { fprintf(stderr, "%s - ", rawname); perror("open decompressed raw file"); cleanstop(7); } + snprintf(command, sizeof command, "gunzip -c %s > %s", + tmpname1, tmpname2); + system (command); unlink(tmpname2); } debian/patches/no-version-symlinks0000664000000000000000000000077711771741525014535 0ustar Description: Do not symlink binary to binary-version Origin: other Forwarded: no --- a/Makefile +++ b/Makefile @@ -50,8 +50,6 @@ chown root $(DESTDIR)$(BINPATH)/atop chmod 04711 $(DESTDIR)$(BINPATH)/atop ln -sf atop $(DESTDIR)$(BINPATH)/atopsar - cp atop $(DESTDIR)$(BINPATH)/atop-$(VERS) - ln -sf atop-$(VERS) $(DESTDIR)$(BINPATH)/atopsar-$(VERS) cp man/atop.1 $(DESTDIR)$(MAN1PATH) cp man/atopsar.1 $(DESTDIR)$(MAN1PATH) cp man/atoprc.5 $(DESTDIR)$(MAN5PATH) debian/patches/no-psacct0000664000000000000000000000223711771741525012447 0ustar Description: Disable Red Hat specific handling of logrotate.d files Origin: other Forwarded: no --- a/Makefile +++ b/Makefile @@ -10,7 +10,6 @@ MAN1PATH = /usr/share/man/man1 MAN5PATH = /usr/share/man/man5 CRNPATH = /etc/cron.d -ROTPATH = /etc/logrotate.d PMPATH1 = /usr/lib/pm-utils/sleep.d PMPATH2 = /usr/lib64/pm-utils/sleep.d @@ -46,8 +45,6 @@ then mkdir -p $(DESTDIR)$(MAN5PATH); fi if [ ! -d $(DESTDIR)$(CRNPATH) ]; \ then mkdir -p $(DESTDIR)$(CRNPATH); fi - if [ ! -d $(DESTDIR)$(ROTPATH) ]; \ - then mkdir -p $(DESTDIR)$(ROTPATH); fi if [ -d $(DESTDIR)$(PMPATH1) ]; \ then cp 45atoppm $(DESTDIR)$(PMPATH1); \ chmod 0711 $(DESTDIR)$(PMPATH1)/45atoppm; fi @@ -67,10 +64,6 @@ cp man/atopsar.1 $(DESTDIR)$(MAN1PATH) cp man/atoprc.5 $(DESTDIR)$(MAN5PATH) cp atop.cron $(DESTDIR)$(CRNPATH)/atop - cp psaccs_atop $(DESTDIR)$(ROTPATH)/psaccs_atop - cp psaccu_atop $(DESTDIR)$(ROTPATH)/psaccu_atop - touch $(DESTDIR)$(LOGPATH)/dummy_before - touch $(DESTDIR)$(LOGPATH)/dummy_after if [ -z "$(DESTDIR)" ]; then /sbin/chkconfig --add atop; fi distr: rm -f *.o tar czvf /tmp/atop.tar.gz * debian/patches/series0000664000000000000000000000014411771741525012045 0ustar virtio-disks no-package-init no-psacct logfiles var-run no-cronjob no-version-symlinks no-chkconfig debian/patches/no-package-init0000664000000000000000000000202711771741525013523 0ustar Description: Do not install package init script to wrong path Origin: other Forwarded: no --- a/Makefile +++ b/Makefile @@ -9,7 +9,6 @@ LOGPATH = /var/log/atop MAN1PATH = /usr/share/man/man1 MAN5PATH = /usr/share/man/man5 -INIPATH = /etc/rc.d/init.d CRNPATH = /etc/cron.d ROTPATH = /etc/logrotate.d PMPATH1 = /usr/lib/pm-utils/sleep.d @@ -45,8 +44,6 @@ then mkdir -p $(DESTDIR)$(MAN1PATH); fi if [ ! -d $(DESTDIR)$(MAN5PATH) ]; \ then mkdir -p $(DESTDIR)$(MAN5PATH); fi - if [ ! -d $(DESTDIR)$(INIPATH) ]; \ - then mkdir -p $(DESTDIR)$(INIPATH); fi if [ ! -d $(DESTDIR)$(CRNPATH) ]; \ then mkdir -p $(DESTDIR)$(CRNPATH); fi if [ ! -d $(DESTDIR)$(ROTPATH) ]; \ @@ -69,7 +66,6 @@ cp man/atop.1 $(DESTDIR)$(MAN1PATH) cp man/atopsar.1 $(DESTDIR)$(MAN1PATH) cp man/atoprc.5 $(DESTDIR)$(MAN5PATH) - cp atop.init $(DESTDIR)$(INIPATH)/atop cp atop.cron $(DESTDIR)$(CRNPATH)/atop cp psaccs_atop $(DESTDIR)$(ROTPATH)/psaccs_atop cp psaccu_atop $(DESTDIR)$(ROTPATH)/psaccu_atop debian/patches/no-cronjob0000664000000000000000000000304211771741525012621 0ustar Description: Remove upstream cron stuff, we do it differently Origin: other Forwarded: no --- a/Makefile +++ b/Makefile @@ -5,11 +5,9 @@ DESTDIR = BINPATH = /usr/bin -SCRPATH = /etc/atop LOGPATH = /var/log/atop MAN1PATH = /usr/share/man/man1 MAN5PATH = /usr/share/man/man5 -CRNPATH = /etc/cron.d PMPATH1 = /usr/lib/pm-utils/sleep.d PMPATH2 = /usr/lib64/pm-utils/sleep.d @@ -37,14 +35,10 @@ then mkdir -p $(DESTDIR)$(LOGPATH); fi if [ ! -d $(DESTDIR)$(BINPATH) ]; \ then mkdir -p $(DESTDIR)$(BINPATH); fi - if [ ! -d $(DESTDIR)$(SCRPATH) ]; \ - then mkdir -p $(DESTDIR)$(SCRPATH); fi if [ ! -d $(DESTDIR)$(MAN1PATH) ]; \ then mkdir -p $(DESTDIR)$(MAN1PATH); fi if [ ! -d $(DESTDIR)$(MAN5PATH) ]; \ then mkdir -p $(DESTDIR)$(MAN5PATH); fi - if [ ! -d $(DESTDIR)$(CRNPATH) ]; \ - then mkdir -p $(DESTDIR)$(CRNPATH); fi if [ -d $(DESTDIR)$(PMPATH1) ]; \ then cp 45atoppm $(DESTDIR)$(PMPATH1); \ chmod 0711 $(DESTDIR)$(PMPATH1)/45atoppm; fi @@ -58,12 +52,9 @@ ln -sf atop $(DESTDIR)$(BINPATH)/atopsar cp atop $(DESTDIR)$(BINPATH)/atop-$(VERS) ln -sf atop-$(VERS) $(DESTDIR)$(BINPATH)/atopsar-$(VERS) - cp atop.daily $(DESTDIR)$(SCRPATH) - chmod 0711 $(DESTDIR)$(SCRPATH)/atop.daily cp man/atop.1 $(DESTDIR)$(MAN1PATH) cp man/atopsar.1 $(DESTDIR)$(MAN1PATH) cp man/atoprc.5 $(DESTDIR)$(MAN5PATH) - cp atop.cron $(DESTDIR)$(CRNPATH)/atop if [ -z "$(DESTDIR)" ]; then /sbin/chkconfig --add atop; fi distr: rm -f *.o tar czvf /tmp/atop.tar.gz * debian/patches/var-run0000664000000000000000000000150511771741525012147 0ustar Description: Move ACCTDIR to /var/run/atop. Read from /var/log/account/pacct Origin: other Forwarded: no --- a/acctproc.c +++ b/acctproc.c @@ -132,7 +132,7 @@ #include "photoproc.h" #include "acctproc.h" -#define ACCTDIR "/tmp/atop.d" +#define ACCTDIR "/var/run/atop" #define ACCTFILE "atop.acct" #define ACCTENV "ATOPACCT" @@ -150,6 +150,7 @@ char *name; struct stat stat; } pacctadm[] = { + { "/var/log/account/pacct", {0, }, }, { "/var/log/pacct", {0, }, }, { "/var/account/pacct", {0, }, } }; @@ -336,7 +337,7 @@ if (semctl(semid, 1, GETVAL, 0) == SEMTOTAL) { /* - ** create a new separate directory below /tmp + ** create a new separate directory below /var/run ** for the accounting file; ** if this directory exists (e.g. previous atop-run killed) ** it will be cleaned and newly created debian/patches/no-chkconfig0000664000000000000000000000067311771741525013127 0ustar Description: Do not call chkconfig from make file Origin: other Forwarded: no --- a/Makefile +++ b/Makefile @@ -53,7 +53,6 @@ cp man/atop.1 $(DESTDIR)$(MAN1PATH) cp man/atopsar.1 $(DESTDIR)$(MAN1PATH) cp man/atoprc.5 $(DESTDIR)$(MAN5PATH) - if [ -z "$(DESTDIR)" ]; then /sbin/chkconfig --add atop; fi distr: rm -f *.o tar czvf /tmp/atop.tar.gz * ########################################################################## debian/patches/virtio-disks0000664000000000000000000000110011771741525013173 0ustar Description: make atop display statistics for vd* disks as well Forwarded: yes Author: Marc Haber Applied-Upstream: 1.27 --- a/photosyst.c +++ b/photosyst.c @@ -1146,6 +1146,7 @@ { "^fio[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "/host.*/bus.*/target.*/lun.*/disc", {0}, abbrevname1, DSKTYPE, }, { "^xvd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, + { "^vd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^dasd[a-z][a-z]*$", {0}, nullmodname, DSKTYPE, }, { "^mmcblk[0-9][0-9]*$", {0}, nullmodname, DSKTYPE, }, }; debian/dirs0000664000000000000000000000005211771741525010063 0ustar usr/bin usr/share/man/man1 usr/share/atop debian/atop.wrapper0000775000000000000000000000012011771741525011543 0ustar #!/bin/bash DAEMON="$1" OUTFILE="$2" shift 2 exec $DAEMON "$@" >$OUTFILE 2>&1 debian/atop.init0000664000000000000000000000746211771741525011043 0ustar #! /bin/sh # # atop init script ### BEGIN INIT INFO # Provides: atop # Required-Start: $syslog $remote_fs # Required-Stop: $syslog $remote_fs # Should-Start: $local_fs # Should-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Monitor for system resources and process activity # Description: Atop is an ASCII full-screen performance monitor, # similar to the top command, but atop only shows # the active system-resources and processes, and # only shows the deviations since the previous # interval. ### END INIT INFO # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC="atop system monitor" NAME=atop DAEMON=/usr/bin/atop WRAPPER=/usr/share/atop/atop.wrapper INTERVAL=600 # interval 10 minutes LOGPATH="/var/log/atop" OUTFILE=$LOGPATH/daily.log PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME # Exit if the package is not installed [ -x $DAEMON ] || exit 0 # Read configuration variable file if it is present [ -r /etc/default/$NAME ] && . /etc/default/$NAME # Load the VERBOSE setting and other rcS variables . /lib/init/vars.sh # Define LSB log_* functions. . /lib/lsb/init-functions CURDAY=$(date +%Y%m%d) DAEMON_ARGS="-a -w $LOGPATH/atop_$CURDAY $INTERVAL" # # Function that starts the daemon/service # do_start() { # Return # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started start-stop-daemon --start --background --quiet \ --pidfile $PIDFILE \ --test --startas $WRAPPER > /dev/null \ || return 1 start-stop-daemon --start --background --quiet \ --pidfile $PIDFILE --make-pidfile \ --startas $WRAPPER -- $DAEMON $OUTFILE \ $DAEMON_ARGS \ || return 2 } # # Function that stops the daemon/service # do_stop() { # Return # 0 if daemon has been stopped # 1 if daemon was already stopped # 2 if daemon could not be stopped # other if a failure occurred start-stop-daemon --stop --quiet --retry=USR2/30/KILL/5 --pidfile $PIDFILE --name $NAME RETVAL="$?" [ "$RETVAL" = 2 ] && return 2 rm -f $PIDFILE return "$RETVAL" } case "$1" in start) [ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME" do_start case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; stop) [ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME" do_stop case "$?" in 0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;; 2) [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; status) status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $? ;; restart|force-reload|_cron) [ "$1" = "_cron" ] && VERBOSE="no" [ "$VERBOSE" != no ] && log_daemon_msg "Restarting $DESC" "$NAME" do_stop case "$?" in 0|1) do_start case "$?" in 0) [ "$VERBOSE" != no ] && log_end_msg 0 [ "$1" = "_cron" ] && sleep 3 && find $LOGPATH -name 'atop_*' -mtime +28 -exec rm {} \; ;; 1) [ "$VERBOSE" != no ] && log_end_msg 1 ;; # Old process is still running *) [ "$VERBOSE" != no ] && log_end_msg 1 ;; # Failed to start esac ;; *) # Failed to stop [ "$VERBOSE" != no ] && log_end_msg 1 ;; esac ;; *) echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/watch0000664000000000000000000000061211771741525010232 0ustar # Example watch control file for uscan # Rename this file to "watch" and then you can run the "uscan" command # to check for upstream updates and more. # Site Directory Pattern Version Script version=2 # the old ftp site #ftp://ftp.atcomputing.nl/pub/tools/linux/atop-(.*)\.tar\.gz debian uupdate # the new website http://www.atconsultancy.nl/atop/download.html packages/atop-(.*)\.tar\.gz debian/compat0000664000000000000000000000000211771741525010400 0ustar 9 debian/README.source0000664000000000000000000000034711771741525011365 0ustar This package is built using git, debhelper9 and quilt. It is source format 3.0 (quilt). The original sources have been repacked as atop_$VERSION.orig.tar.xz as upstream decided to ship compiled binaries in their original tarball. debian/docs0000664000000000000000000000000711771741525010052 0ustar README debian/copyright0000664000000000000000000000113611771741525011136 0ustar This package was debianized by Edelhard Becker on Thu, 13 Feb 2003 21:28:07 +0100. It was downloaded from ftp://ftp.ATComputing.nl/pub/tools/linux New homepage and downloads via http://www.atconsultancy.nl/atop/home.html Upstream Author: Gerlof Langeveld Copyright (C) 2000-2010 Gerlof Langeveld, AT Computing (gerlof@ATComputing.nl) You are free to distribute this software under the terms of the GNU General Public License. On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL'. debian/postrm0000664000000000000000000000034111771741525010447 0ustar #! /bin/bash #DEBHELPER# set -e if dpkg-maintscript-helper supports rm_conffile; then dpkg-maintscript-helper rm_conffile \ /etc/logrotate.d/atop 1.26-2~ -- "$@" fi if [ "$1" = "purge" ] then rm -rf /var/log/atop fi debian/source/0000775000000000000000000000000011771741525010502 5ustar debian/source/format0000664000000000000000000000001411771741525011710 0ustar 3.0 (quilt) debian/NEWS0000664000000000000000000000055211771741525007703 0ustar atop (1.13-1) unstable; urgency=low This new upstream release adds, among the usual bugfixes, recognition of thread-groups and scheduling information. The log-file format has changed to store the new information. This means that you can't read logs from the previous releases. -- Edelhard Becker Fri, 24 Sep 2004 11:09:04 +0200 debian/rules0000775000000000000000000000012211771741525010255 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_clean: dh_auto_clean rm -f atop debian/atop.install0000664000000000000000000000004211771741525011531 0ustar debian/atop.wrapper usr/share/atopdebian/atop.default0000664000000000000000000000012711771741525011513 0ustar # /etc/default/atop INTERVAL=600 LOGPATH="/var/log/atop" OUTFILE="$LOGPATH/daily.log" debian/postinst0000664000000000000000000000025211771741525011007 0ustar #!/bin/bash set -e if dpkg-maintscript-helper supports rm_conffile; then dpkg-maintscript-helper rm_conffile \ /etc/logrotate.d/atop 1.26-2~ -- "$@" fi #DEBHELPER#