hwsLswTrapProcessCpuInfo
HUAWEI-LswTRAP-MIB ·
.1.3.6.1.4.1.2011.2.23.1.12.2.2
Object
scalar OctetString
hwLswProcessJobId,hwLswProcessPid,hwLswProcessName,
hwLswProcessState,hwLswProcessPriority,hwLswProcessFDs,
hwLswProcessRunTime,hwLswProcessCpuRatio5Secs,hwLswProcessCpuRatio1Min,
hwLswProcessCpuRatio5Mins.
Each line contains the following comma-separated values:
hwLswProcessName: Process name
hwLswProcessJobId:Job ID
hwLswProcessPid: Process ID
hwLswProcessPriority: Process priority
hwLswProcessState: Process state
{
R(1):running,
S(2):sleeping,
T(3):tracedorStopped,
D(4):uninterruptibleSleep,
Z(5):zombie
}
hwLswProcessFDs: Process FDs
hwLswProcessRunTime: Process run time
hwLswProcessCpuRatio: CPU ratio for the process.
Context
- MIB
- HUAWEI-LswTRAP-MIB
- OID
.1.3.6.1.4.1.2011.2.23.1.12.2.2- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwsLswTRAPMibInfor
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-LswTRAP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-LswTRAP-MIB::hwsLswTrapProcessCpuInfo.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-LswTRAP-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-LswTRAP-MIB::hwsLswTrapProcessCpuInfo'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255