mirror of
https://github.com/inspec/inspec
synced 2024-11-24 05:33:17 +00:00
939ee5ecfc
This change enhances the processes resource to support the busybox ps command which is common on Alpine, for example. The way we map ps fields to the structs needed by FilterTable have also been refactored to be more flexible so we can support multiple formats in the future. Also, the processes resource now allows the grep argument to be optional thus allowing a user to query all resources without passing in a match-all regex. Signed-off-by: Adam Leff <adam@leff.co>
3 lines
172 B
Text
3 lines
172 B
Text
PID VSZ RSS TT STAT TIME RUSER COMMAND
|
|
1 1536 4 136,0 S 0:00 root /bin/sh
|
|
5 1528 4 136,0 R 0:00 joe /some/other/coolprogram
|