summaryrefslogtreecommitdiffstats
path: root/health-network-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2007-12-22 09:18:24 +0000
committerMika Havela <mika.havela@gmail.com>2007-12-22 09:18:24 +0000
commitd93688f0d12c5c7c9f35d4746eef58bac11a144a (patch)
treea6e5b82eb5694d9c82599808b13e61242ecb0660 /health-network-html.lsp
parent4062108ee8796ab9f64f05d55cd48352399cd34c (diff)
downloadacf-alpine-baselayout-d93688f0d12c5c7c9f35d4746eef58bac11a144a.tar.bz2
acf-alpine-baselayout-d93688f0d12c5c7c9f35d4746eef58bac11a144a.tar.xz
Display general healt on the system
git-svn-id: svn://svn.alpinelinux.org/acf/alpine-baselayout/trunk@447 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'health-network-html.lsp')
-rw-r--r--health-network-html.lsp11
1 files changed, 11 insertions, 0 deletions
diff --git a/health-network-html.lsp b/health-network-html.lsp
new file mode 100644
index 0000000..f04faaf
--- /dev/null
+++ b/health-network-html.lsp
@@ -0,0 +1,11 @@
+<? local view = ... ?>
+
+<h1>General health</h1>
+
+<h2>Network</h2>
+
+<h3>Interface status</h3>
+<pre><?= view.network.interfaces ?></pre>
+
+<h3>Routes</h3>
+<pre><?= view.network.routes ?></pre>