From 5792e5ffc5683493f04dc5f5f13c583b855cffcf Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 18 Dec 2009 15:18:36 -0800 Subject: Add display of accounting information Bug 4929 New command: show system accounting show system accounting --- templates/show/system/accounting/node.def | 2 ++ templates/show/system/accounting/node.tag/node.def | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 templates/show/system/accounting/node.def create mode 100644 templates/show/system/accounting/node.tag/node.def (limited to 'templates/show') 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" -- cgit v1.2.3