Revision 25693,
1.3 KB
checked in by jdreed, 12 years ago
(diff) |
In athinfod:
* Update 'queries' query to return new queries
|
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 /etc/athena/athinfo.defs.d/*.defs 2>/dev/null |
---|
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 | version echo `machtype -L` on `machtype -E` |
---|
19 | clusterinfo test -r /var/run/athena-clusterinfo.csh && cat /var/run/athena-clusterinfo.csh |
---|
20 | clusterinfo.bsh test -r /var/run/athena-clusterinfo.sh && cat /var/run/athena-clusterinfo.sh |
---|
21 | date date |
---|
22 | uptime uptime |
---|
23 | partitions cat /proc/partitions |
---|
24 | df df -k -t ext2 -t ext3 -t ext4 |
---|
25 | interfaces netstat -in |
---|
26 | routes netstat -rn |
---|
27 | listeners netstat -lnt |
---|
28 | login test -f /etc/nologin; echo $? |
---|
29 | cpuspeed grep MHz /proc/cpuinfo |
---|
30 | packages dpkg-query -W -f '${Package}\t${Version}\t${Status}\n' | sed -n 's/\tinstall ok installed$//p' |
---|
31 | modules lsmod |
---|
32 | policy apt-cache policy |
---|
33 | hardware cat /sys/class/dmi/id/product_name /sys/class/dmi/id/product_version |
---|
Note: See
TracBrowser
for help on using the repository browser.