Split PEL logs FFDC data to list and display JSON files
Change-Id: I077fd6a252367b33d962da250a9662c4cb8484a8
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index dbb2eda..d7e188b 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -46,7 +46,8 @@
'BMC_meminfo.txt': 'cat /proc/meminfo >/tmp/BMC_meminfo.txt 2>&1',
'BMC_systemd.txt': 'systemctl status --all >/tmp/BMC_systemd.txt 2>&1',
'BMC_obmc_console.txt': 'cat /var/log/obmc-console.log >/tmp/BMC_obmc_console.txt 2>&1',
- 'PEL_logs.json': '{ peltool -l; peltool -a ; } >/tmp/PEL_logs.json 2>&1',
+ 'PEL_logs_list.json': 'peltool -l >/tmp/PEL_logs_list.json 2>&1',
+ 'PEL_logs_display.json': 'peltool -a >/tmp/PEL_logs_display.json 2>&1',
},
}
# Add file name and corresponding command needed for all Linux distributions