summaryrefslogtreecommitdiff
path: root/templates/show/system
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-18 15:18:36 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-12-18 15:18:36 -0800
commit5792e5ffc5683493f04dc5f5f13c583b855cffcf (patch)
treee09bd8218a3ec94529938575c1299029fb374836 /templates/show/system
parent735f56914eeb409dcf850662d4e60db462fb7213 (diff)
downloadvyatta-op-5792e5ffc5683493f04dc5f5f13c583b855cffcf.tar.gz
vyatta-op-5792e5ffc5683493f04dc5f5f13c583b855cffcf.zip
Add display of accounting information
Bug 4929 New command: show system accounting show system accounting <user>
Diffstat (limited to 'templates/show/system')
-rw-r--r--templates/show/system/accounting/node.def2
-rw-r--r--templates/show/system/accounting/node.tag/node.def2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/show/system/accounting/node.def b/templates/show/system/accounting/node.def
new file mode 100644
index 0000000..8fe9b11
--- /dev/null
+++ b/templates/show/system/accounting/node.def
@@ -0,0 +1,2 @@
+help: Show system command accounting information
+run: lastcomm
diff --git a/templates/show/system/accounting/node.tag/node.def b/templates/show/system/accounting/node.tag/node.def
new file mode 100644
index 0000000..053e706
--- /dev/null
+++ b/templates/show/system/accounting/node.tag/node.def
@@ -0,0 +1,2 @@
+help: Show accounting information for a specified user
+run: lastcomm --user "$4"