From 390ef9a08c1f5e8547a35e2d38e6928a4b1ac5b5 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 16 Jan 2009 17:19:02 +0000 Subject: Add RSS size --- doc/JAILS-MIB.txt | 13 +++++++++++-- doc/bsnmp-jails.8 | 6 ++++++ 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/JAILS-MIB.txt b/doc/JAILS-MIB.txt index d4fc1b7..0b07843 100644 --- a/doc/JAILS-MIB.txt +++ b/doc/JAILS-MIB.txt @@ -75,7 +75,8 @@ JailEntry ::= jailThreads Integer32, jailCpuTime TimeTicks, jailDiskSpace Counter64, - jailDiskFiles Integer32 + jailDiskFiles Counter64, + jailResidentSize Counter64 } jailIndex OBJECT-TYPE @@ -149,10 +150,18 @@ jailDiskSpace OBJECT-TYPE ::= { jailEntry 30 } jailDiskFiles OBJECT-TYPE - SYNTAX Integer32 + SYNTAX Counter64 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of files (inodes) in this jail. Zero means unknown." ::= { jailEntry 31 } +jailResidentSize OBJECT-TYPE + SYNTAX Counter64 + MAX-ACCESS read-only + STATUS current + DESCRIPTION "The sum of the resident set size (RSS) of all processes in jail. An inaccurate representation of memory usage of the jail." + ::= { jailEntry 40 } + + END diff --git a/doc/bsnmp-jails.8 b/doc/bsnmp-jails.8 index aaa264d..d0aa2ec 100644 --- a/doc/bsnmp-jails.8 +++ b/doc/bsnmp-jails.8 @@ -80,6 +80,12 @@ The number of processes running in the jail. The number of threads running in the jail. .It Ar jails.jailTable.jailEntry.jailCpuTime.X The amount of CPU time (in SNMP time ticks) the jail has used. +.It Ar jails.jailTable.jailEntry.jailDiskSpace.X +Amount of disk space taken by this jail. Zero means unknown. +.It Ar jails.jailTable.jailEntry.jailDiskFiles.X +Number of files (inodes) in this jail. Zero means unknown. +.It Ar jails.jailTable.jailEntry.jailResidentSize.X +The sum of the resident set size (RSS) of all processes in jail. In bytes. An inaccurate representation of memory usage of the jail. .It Ar jails.jailNetworkFilter A tcpdump style filter for the network traffic. Only matched traffic is counted in the jail statistics. -- cgit v1.2.3