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 | |
---|
9 | queries cat /etc/athena/athinfo.defs |
---|
10 | uname uname -a |
---|
11 | machtype /bin/machtype |
---|
12 | sysname /bin/machtype -S |
---|
13 | cputype /bin/machtype -v -c |
---|
14 | display /bin/machtype -v -d |
---|
15 | disks /bin/machtype -v -r |
---|
16 | memory /bin/machtype -v -M |
---|
17 | swap swapon -s |
---|
18 | rc.conf cat /etc/athena/rc.conf |
---|
19 | version cat /etc/athena/version |
---|
20 | clusterinfo test -r /var/athena/clusterinfo && cat /var/athena/clusterinfo |
---|
21 | clusterinfo.bsh test -r /var/athena/clusterinfo.bsh && cat /var/athena/clusterinfo.bsh |
---|
22 | update.desync test -r /var/athena/update.desync && cat /var/athena/update.desync |
---|
23 | services test -r /var/server/.services && cat /var/server/.services |
---|
24 | update.log . /etc/athena/rc.conf && test true = "$PUBLIC" && test -r /var/athena/update.log && cat /var/athena/update.log |
---|
25 | install.log test -r /var/athena/install.log && cat /var/athena/install.log |
---|
26 | verify.log test -r /var/athena/verify.log && cat /var/athena/verify.log |
---|
27 | date date |
---|
28 | uptime uptime |
---|
29 | partitions fdisk -l |
---|
30 | df df -k -t ext2 -t ext3 |
---|
31 | interfaces netstat -in |
---|
32 | routes netstat -rn |
---|
33 | listeners netstat -lnt |
---|
34 | login test -f /etc/nologin; echo $? |
---|
35 | cpuspeed grep MHz /proc/cpuinfo |
---|
36 | packages dpkg-query -W |
---|
37 | modules lsmod |
---|
38 | update-status aptitude --simulate --assume-yes full-upgrade |
---|
Note: See
TracBrowser
for help on using the repository browser.