xref: /openbmc/google-misc/dhcp-done/subprojects/metrics-ipmi-blobs/README.md (revision f75f29be7a14984dd6e7db76837d7e57c26d8fe1)
1*f75f29beSPatrick Williams# metrics-ipmi-blobs
2*f75f29beSPatrick Williams
31285115cSWilliam A. Kennington IIIIPMI BLOBs handler to export BMC metrics snapshot
41285115cSWilliam A. Kennington III
51285115cSWilliam A. Kennington IIIThis BLOB handler registers one blob with the name "/metric/snapshot".
61285115cSWilliam A. Kennington III
725c55c54SPatrick WilliamsThe contents of the BLOB is a protocol buffer containing an instantaneous
825c55c54SPatrick Williamssnapshot of the BMC's health metrics, which includes the following categories:
91285115cSWilliam A. Kennington III
101285115cSWilliam A. Kennington III1. BMC memory metric: mem_available, slab, kernel_stack
111285115cSWilliam A. Kennington III2. Uptime: uptime in wall clock time, idle process across all cores
121285115cSWilliam A. Kennington III3. Disk space: free space in RWFS in KiB
131285115cSWilliam A. Kennington III4. Status of the top 10 processes: cmdline, utime, stime
141285115cSWilliam A. Kennington III5. File descriptor of top 10 processes: cmdline, file descriptor count
151285115cSWilliam A. Kennington III
161285115cSWilliam A. Kennington IIIThe size of the metrics are usually around 1KB to 1.5KB.
17