| Jayanth Othayoth | a172469 | 2017-10-15 05:45:58 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # | ||||
| 3 | # config: 13 1 | ||||
| 4 | # @brief: Collect user initialized PID specific journal log information. | ||||
| 5 | # | ||||
| 6 | |||||
| 7 | . $DREPORT_INCLUDE/functions | ||||
| 8 | |||||
| 9 | desc="Journal pid:$pid log" | ||||
| 10 | file_name="journal-pid-$pid.log" | ||||
| 11 | command="journalctl -o verbose _PID=$pid" | ||||
| 12 | |||||
| 13 | add_cmd_output "$command" "$file_name" "$desc" | ||||