summaryrefslogtreecommitdiffstats
path: root/tools/dreport.d/plugins.d/journalpid
blob: aa6a19a5106c1c6fc6b7be343fd9a5a96fe53cd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
#
# config: 13 1
# @brief: Collect user initialized PID specific journal log information.
#

. $DREPORT_INCLUDE/functions

desc="Journal pid:$pid log"
file_name="journal-pid-$pid.log"
command="journalctl -o verbose _PID=$pid"

add_cmd_output "$command" "$file_name" "$desc"
OpenPOWER on IntegriCloud