1*1285115cSWilliam A. Kennington IIIIPMI BLOBs handler to export BMC metrics snapshot
2*1285115cSWilliam A. Kennington III
3*1285115cSWilliam A. Kennington IIIThis BLOB handler registers one blob with the name "/metric/snapshot".
4*1285115cSWilliam A. Kennington III
5*1285115cSWilliam A. Kennington IIIThe contents of the BLOB is a protocol buffer containing an instantaneous snapshot of the BMC's health metrics, which includes the following categories:
6*1285115cSWilliam A. Kennington III
7*1285115cSWilliam A. Kennington III1. BMC memory metric: mem_available, slab, kernel_stack
8*1285115cSWilliam A. Kennington III2. Uptime: uptime in wall clock time, idle process across all cores
9*1285115cSWilliam A. Kennington III3. Disk space: free space in RWFS in KiB
10*1285115cSWilliam A. Kennington III4. Status of the top 10 processes: cmdline, utime, stime
11*1285115cSWilliam A. Kennington III5. File descriptor of top 10 processes: cmdline, file descriptor count
12*1285115cSWilliam A. Kennington III
13*1285115cSWilliam A. Kennington IIIThe size of the metrics are usually around 1KB to 1.5KB.
14