source: trunk/athena/etc/athinfod/debian/athinfo.defs @ 23166

Revision 23166, 1.5 KB checked in by ghudson, 16 years ago (diff)
In athinfod: * Add upgrade-status query.
Line 
1# This file defines the queries understood by the athinfo daemon.
2# Blank lines and lines beginning with a '#' are ignored.  Each line
3# consists of a query name and a shell command to answer the query.
4# The shell command will not receive input and, for security reasons,
5# should not depend on a network filesystem.
6
7# Query         Command
8
9queries         cat /etc/athena/athinfo.defs
10uname           uname -a
11machtype        /bin/machtype
12sysname         /bin/machtype -S
13cputype         /bin/machtype -v -c
14display         /bin/machtype -v -d
15disks           /bin/machtype -v -r
16memory          /bin/machtype -v -M
17swap            swapon -s
18rc.conf         cat /etc/athena/rc.conf
19version         cat /etc/athena/version
20clusterinfo     test -r /var/athena/clusterinfo && cat /var/athena/clusterinfo
21clusterinfo.bsh test -r /var/athena/clusterinfo.bsh && cat /var/athena/clusterinfo.bsh
22update.desync   test -r /var/athena/update.desync && cat /var/athena/update.desync
23services        test -r /var/server/.services && cat /var/server/.services
24update.log      . /etc/athena/rc.conf && test true = "$PUBLIC" && test -r /var/athena/update.log && cat /var/athena/update.log
25install.log     test -r /var/athena/install.log && cat /var/athena/install.log
26verify.log      test -r /var/athena/verify.log && cat /var/athena/verify.log
27date            date
28uptime          uptime
29partitions      fdisk -l
30df              df -k -t ext2 -t ext3
31interfaces      netstat -in
32routes          netstat -rn
33listeners       netstat -lnt
34login           test -f /etc/nologin; echo $?
35cpuspeed        grep MHz /proc/cpuinfo
36packages        dpkg-query -W
37modules         lsmod
38update-status   aptitude --simulate --assume-yes full-upgrade
Note: See TracBrowser for help on using the repository browser.