summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control1
-rw-r--r--templates/show/system/accounting/node.def2
-rw-r--r--templates/show/system/accounting/node.tag/node.def2
3 files changed, 5 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index e467822..a6a8638 100644
--- a/debian/control
+++ b/debian/control
@@ -20,6 +20,7 @@ Depends: sed (>= 4.1.5),
less,
libio-prompt-perl,
mail-transport-agent,
+ acct,
at,
net-tools,
libtimedate-perl
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"