From 2316a0d0c4a584b565f2cf9d2d1ec38ac4592e97 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 16 Jan 2009 01:42:29 +0000 Subject: Add support for listing threads --- doc/JAILS-MIB.txt | 14 ++++++++++++-- doc/bsnmp-jails.8 | 2 ++ 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/JAILS-MIB.txt b/doc/JAILS-MIB.txt index c7016fc..d4fc1b7 100644 --- a/doc/JAILS-MIB.txt +++ b/doc/JAILS-MIB.txt @@ -72,7 +72,10 @@ JailEntry ::= jailOutOctets Counter64, jailOutPackets Counter64, jailProcesses Integer32, - jailCpuTime TimeTicks + jailThreads Integer32, + jailCpuTime TimeTicks, + jailDiskSpace Counter64, + jailDiskFiles Integer32 } jailIndex OBJECT-TYPE @@ -124,12 +127,19 @@ jailProcesses OBJECT-TYPE DESCRIPTION "Number of processes running in this jail." ::= { jailEntry 20 } +jailThreads OBJECT-TYPE + SYNTAX Integer32 + MAX-ACCESS read-only + STATUS current + DESCRIPTION "Number of threads running in this jail." + ::= { jailEntry 21 } + jailCpuTime OBJECT-TYPE SYNTAX TimeTicks MAX-ACCESS read-only STATUS current DESCRIPTION "Amount of CPU time taken by this jail." - ::= { jailEntry 21 } + ::= { jailEntry 25 } jailDiskSpace OBJECT-TYPE SYNTAX Counter64 diff --git a/doc/bsnmp-jails.8 b/doc/bsnmp-jails.8 index 93ea091..aaa264d 100644 --- a/doc/bsnmp-jails.8 +++ b/doc/bsnmp-jails.8 @@ -76,6 +76,8 @@ The number of octets sent by the jail over the network. The number of packets sent by the jail over the network. .It Ar jails.jailTable.jailEntry.jailProcesses.X The number of processes running in the jail. +.It Ar jails.jailTable.jailEntry.jailThreads.X +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.jailNetworkFilter -- cgit v1.2.3