source: trunk/packs/config/os/linux/athinfo.defs @ 13474

Revision 13474, 1.1 KB checked in by rbasch, 25 years ago (diff)
Add update.log, for PUBLIC=true machines only.
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/athena/machtype
12sysname         /bin/athena/machtype -S
13cputype         /bin/athena/machtype -v -c
14display         /bin/athena/machtype -v -d
15disks           /bin/athena/machtype -v -r
16memory          /bin/athena/machtype -v -M
17swap            swapon -s
18rc.conf         cat /etc/athena/rc.conf
19version         cat /etc/athena/version
20rvdinfo         cat /srvd/.rvdinfo
21services        test -r /var/server/.services && cat /var/server/.services
22update.log      . /etc/athena/rc.conf && test true = "$PUBLIC" && test -r /var/athena/update.log && cat /var/athena/update.log
23date            date
24uptime          uptime
25partitions      fdisk -l `mount | sed -n -e 's/^\([^ ]*\)[0-9] on \/ .*$/\1/p'`
26interfaces      netstat -in
27routes          netstat -rn
28listeners       netstat -an --inet --tcp | awk '$NF == "LISTEN"'
29login           test -f /etc/nologin; echo $?
Note: See TracBrowser for help on using the repository browser.