Mellanox MLNX-OS®Command Reference Guide for SX1018HP Ethernet Managed Blade Switch
Rev 1.6.2
Mellanox Technologies
264
stats chd <chd-id> compute time
stats chd <CHD ID> compute time {interval | range} <number of seconds>
Sets parameters for when this CHD is computed.
Syntax Description CHD ID Possible IDs:
• cpu_util - CPU utilization: percentage of time spent
• cpu_util_ave - CPU utilization average: percentage of
time spent
• cpu_util_day - CPU utilization average: percentage of
time spent
• disk_device_io_hour - Storage device I/O read/write sta-
tistics for the last hour: bytes
• disk_io - Operating system aggregate disk I/O average:
KB/sec
• eth_day
• eth_hour
• fs_mnt_day - Filesystem system usage average: bytes
• fs_mnt_month - Filesystem system usage average: bytes
• fs_mnt_week - Filesystem system usage average: bytes
• ib_day
• ib_hour
• intf_day - Network interface statistics aggregation: bytes
• intf_hour - Network interface statistics (same as “inter-
face” sample)
• intf_util - Aggregate network utilization across all inter-
faces
• memory_day - Average physical memory usage: bytes
• memory_pct - Average physical memory usage
• paging - Paging activity: page faults
• paging_day - Paging activity: page faults
interval Specifies calculation interval (how often to do a new
calculation) in number of seconds.
range Specifies calculation range, in number of seconds.
number of seconds Number of seconds.
Default Different per CHD
Modes/Context Config
History 3.1.0000
Role monitor/admin
Example
switch (config) # stats chd memory_day compute time interval 120
switch (config) # show stats chd memory_day
CHD "memory_day" (Average physical memory usage: bytes):
Source dataset: sample "memory"
Computation basis: time
Interval: 120 second(s)
Range: 1800 second(s)
switch (config) #