From 6ea23545e73c135b1ce67fa7fb63b998672ac282 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 7 Dec 2010 10:23:48 -0800 Subject: Add show system memory detail Bug 5704 --- templates/show/system/memory/detail/node.def | 2 ++ templates/show/system/memory/node.def | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 templates/show/system/memory/detail/node.def (limited to 'templates/show/system/memory') diff --git a/templates/show/system/memory/detail/node.def b/templates/show/system/memory/detail/node.def new file mode 100644 index 0000000..04e98c5 --- /dev/null +++ b/templates/show/system/memory/detail/node.def @@ -0,0 +1,2 @@ +help: Report detailed system memory usage +run: cat /proc/meminfo diff --git a/templates/show/system/memory/node.def b/templates/show/system/memory/node.def index f66ce62..cee2320 100644 --- a/templates/show/system/memory/node.def +++ b/templates/show/system/memory/node.def @@ -1,2 +1,2 @@ -help: Show system memory usage +help: Display system memory usage run: free -ot -- cgit v1.2.3 From ffa8809a4cdda655cc8e731dca7c6a95d49e931e Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 7 Dec 2010 11:06:43 -0800 Subject: Add show system memory cache This provides information requested in Bug 515 --- templates/show/system/memory/cache/node.def | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 templates/show/system/memory/cache/node.def (limited to 'templates/show/system/memory') diff --git a/templates/show/system/memory/cache/node.def b/templates/show/system/memory/cache/node.def new file mode 100644 index 0000000..5583a54 --- /dev/null +++ b/templates/show/system/memory/cache/node.def @@ -0,0 +1,2 @@ +help: Show kernel cache information +run: slabtop -o -- cgit v1.2.3