diff options
author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-10-15 06:11:27 -0500 |
---|---|---|
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-10-24 10:12:09 -0500 |
commit | 05187a63bf0ddbaf0f151b1bd7209f5a9c35f03a (patch) | |
tree | ec12962317e79c7585cb7a4a1726fd33a0d21f1c | |
parent | 5d7e45f7d8ba7dceb089dfe56ecf4a8b6ab41e29 (diff) | |
download | phosphor-debug-collector-05187a63bf0ddbaf0f151b1bd7209f5a9c35f03a.tar.gz phosphor-debug-collector-05187a63bf0ddbaf0f151b1bd7209f5a9c35f03a.zip |
dreport: Added cpuinfo plugin
Plugin used for collecting BMC cpu core information.
Change-Id: I3cddd89ebe1468d131ddef8ba517ae68aa30c8ab
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
-rw-r--r-- | tools/dreport.d/plugins.d/cpuinfo | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/dreport.d/plugins.d/cpuinfo b/tools/dreport.d/plugins.d/cpuinfo new file mode 100644 index 0000000..217d5f8 --- /dev/null +++ b/tools/dreport.d/plugins.d/cpuinfo @@ -0,0 +1,12 @@ +#!/bin/bash +# +# config: 123 50 +# @brief: Collect cpuinfo log. +# + +. $DREPORT_INCLUDE/functions + +desc="CPU info" +file_name="/proc/cpuinfo" + +add_copy_file "$file_name" "$desc" |