系统

通用系统属性

描述系统属性

Attributes

StabilityValue Type描述Example Values
system.deviceDevelopment字符串设备标识符(identifier)

文件系统属性

描述文件系统属性

Attributes

StabilityValue Type描述Example Values
system.filesystem.modeDevelopment字符串文件系统的模式rw, ro
system.filesystem.mountpointDevelopment字符串文件系统的挂载路径/mnt/data
system.filesystem.stateDevelopment字符串文件系统的状态used
system.filesystem.typeDevelopment字符串文件系统的类型ext4

system.filesystem.state 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
freefreeDevelopment
reservedreservedDevelopment
usedusedDevelopment

system.filesystem.type 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
exfatexfatDevelopment
ext4ext4Development
fat32fat32Development
hfsplushfsplusDevelopment
ntfsntfsDevelopment
refsrefsDevelopment

系统内存属性

描述系统内存属性

Attributes

StabilityValue Type描述Example Values
system.memory.stateDevelopment字符串内存的状态free; cached

system.memory.state 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
buffersbuffersDevelopment
cachedcachedDevelopment
freefreeDevelopment
used实际使用的虚拟内存(字节)。[1]Development

[1]: 基于操作系统指标的计算。在 Linux 上,这对应于 `/proc/meminfo` 中的“MemTotal - MemAvailable”,它比基于 free、cached 和 buffers 的旧公式更准确地反映了应用程序实际使用的内存。如果 MemAvailable 不可用,则可能使用旧公式作为回退。

系统分页属性

描述系统内存分页属性

Attributes

StabilityValue Type描述Example Values
system.paging.directionDevelopment字符串分页访问方向in
system.paging.fault.typeDevelopment字符串分页错误类型minor
system.paging.stateDevelopment字符串内存分页的状态free

system.paging.direction 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
ininDevelopment
outoutDevelopment

system.paging.fault.type 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以(MAY)使用自定义值。

描述Stability
majormajorDevelopment
minorminorDevelopment

system.paging.state 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
freefreeDevelopment
usedusedDevelopment

已弃用的系统属性

已弃用的系统属性。

Attributes

StabilityValue Type描述Example Values
system.cpu.logical_numberDeprecated
已替换为 cpu.logical_number
int已弃用,请改用 cpu.logical_number1
system.cpu.stateDeprecated
已由 cpu.mode 替换。
字符串已弃用,请改用 cpu.modeidle; interrupt
system.network.stateDeprecated
已替换为 network.connection.state
字符串已弃用,请改用 network.connection.stateclose_wait
system.paging.typeDeprecated
已替换为 system.paging.fault.type
字符串已弃用,请改用 system.paging.fault.typeminor
system.process.statusDeprecated
已替换为 process.state
字符串已弃用,请改用 process.staterunning
system.processes.statusDeprecated
已替换为 process.state
字符串已弃用,请改用 process.staterunning

system.cpu.state 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
idleidleDevelopment
interruptinterruptDevelopment
iowaitiowaitDevelopment
niceniceDevelopment
stealstealDevelopment
systemsystemDevelopment
useruserDevelopment

system.network.state 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
closecloseDevelopment
close_waitclose_waitDevelopment
closingclosingDevelopment
deletedeleteDevelopment
establishedestablishedDevelopment
fin_wait_1fin_wait_1Development
fin_wait_2fin_wait_2Development
last_acklast_ackDevelopment
listenlistenDevelopment
syn_recvsyn_recvDevelopment
syn_sentsyn_sentDevelopment
time_waittime_waitDevelopment

system.paging.type 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
majormajorDevelopment
minorminorDevelopment

system.process.status 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
defunctdefunctDevelopment
runningrunningDevelopment
sleepingsleepingDevelopment
stoppedstoppedDevelopment

system.processes.status 具有以下已知值列表。如果其中一个适用,则必须使用相应的值;否则,可以使用自定义值。

描述Stability
defunctdefunctDevelopment
runningrunningDevelopment
sleepingsleepingDevelopment
stoppedstoppedDevelopment