Skip to content

Commit

Permalink
[generate_dump] Dump systemd specific information (#602)
Browse files Browse the repository at this point in the history
- dump: dumps the entire state of all the units
 - blame: provides startup time for each service
 - plot: generate a svg of the boot order

Co-authored-by: lguohan <[email protected]>
  • Loading branch information
Staphylo and lguohan authored Apr 17, 2020
1 parent 3f651dc commit eccefa4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/generate_dump
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,10 @@ main() {
/proc/zoneinfo \
|| abort "${ERROR_PROCFS_SAVE_FAILED}" "Proc saving operation failed. Aborting for safety."

save_cmd "systemd-analyze blame" "systemd.analyze.blame"
save_cmd "systemd-analyze dump" "systemd.analyze.dump"
save_cmd "systemd-analyze plot" "systemd.analyze.plot.svg"

save_platform "syseeprom" "platform"
save_platform "psustatus" "platform"
save_platform "ssdhealth" "platform"
Expand Down

0 comments on commit eccefa4

Please sign in to comment.