aboutsummaryrefslogtreecommitdiffstats
path: root/collect.d
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2008-05-31 09:44:38 +0000
committerPetter Reinholdtsen <pere@hungry.com>2008-05-31 09:44:38 +0000
commit76416807d26a49695aca7beda298becde9d6d109 (patch)
tree5b0be35faaebf582c1b5336541a5e3cffa4cfbbc /collect.d
parent0d41198220e807c0a67ff846532e6da69c2d6317 (diff)
downloadsitesummary-76416807d26a49695aca7beda298becde9d6d109.tar.gz
sitesummary-76416807d26a49695aca7beda298becde9d6d109.tar.bz2
sitesummary-76416807d26a49695aca7beda298becde9d6d109.tar.xz
[ Petter Reinholdtsen ]
* Collect current runlevel in the system directory.
Diffstat (limited to 'collect.d')
-rw-r--r--collect.d/system4
1 files changed, 4 insertions, 0 deletions
diff --git a/collect.d/system b/collect.d/system
index 50c8ce3..3465216 100644
--- a/collect.d/system
+++ b/collect.d/system
@@ -38,3 +38,7 @@ cat /proc/cpuinfo > cpuinfo
# Collect mount points, for nagios configuration
cp /etc/fstab fstab
cat /proc/mounts > procmounts
+
+# Document current runlevel, useful to differenciate LTSP
+# thin clients from diskless workstations.
+runlevel > runlevel