Skip to content

Commit

Permalink
Merge pull request #268 from mnrkbys/proc_pid_stat
Browse files Browse the repository at this point in the history
artif: collect /proc/*/stat
  • Loading branch information
tclahr authored Aug 15, 2024
2 parents 6c95a63 + 8b2242c commit e200d38
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion artifacts/live_response/process/procfs_information.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@ artifacts:
command: cat /proc/%line%/status
output_directory: /live_response/process/proc/%line%
output_file: status.txt
-
description: Collect stat of each process.
supported_os: [linux]
collector: command
foreach: for pid in /proc/[0-9]*; do echo ${pid} | sed -e 's:/proc/::'; done
command: cat /proc/%line%/stat
output_directory: /live_response/process/proc/%line%
output_file: stat.txt
-
description: Display the list of UNIX sockets.
supported_os: [linux]
Expand Down Expand Up @@ -230,7 +238,7 @@ artifacts:
command: astrings /proc/%line%/environ
output_directory: /live_response/process/proc/%line%
output_file: environ.txt

# macos
-
description: Collect running processes executable path.
Expand Down

0 comments on commit e200d38

Please sign in to comment.