Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
openbmc
/
phosphor-debug-collector
/
b7e6e2e44406136fff7e4be813c8aa5cb9506d9f
/
.
/
tools
/
dreport.d
/
plugins.d
/
hwmon
blob: 1512d46dfbe1e19c92128d136e81e26479f4f769 [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
#
# config: 2 50
# @brief: Collect hwmon information
#
.
$DREPORT_INCLUDE
/
functions
file_name
=
"hwmon.log"
if
[
-
d
"/sys/class/hwmon/"
];
then
add_cmd_output
"grep -r . /sys/class/hwmon/*"
"$file_name"
"hwmon"
fi