mirror of
https://github.com/inspec/inspec
synced 2024-12-23 19:43:14 +00:00
7a1cd660c3
processes('bash').user does not actually make much sense for a resource that is a list -- different entries can belong to different users. Analogous for processes('bash').state. The attributes 'users' and 'states' expose the unique values corresponding to that property of entries in the process list. Fixes #295.
5 lines
358 B
Text
5 lines
358 B
Text
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
|
|
root 1 0.0 0.0 18084 3228 ? Ss 14:15 0:00 /bin/bash
|
|
root 13 0.0 0.0 15284 2148 ? R+ 15:08 0:00 ps aux
|
|
noot 19 0.0 0.0 24521 1536 s001 Ss 09:23 0:00 svc
|
|
noot 23 0.0 0.0 25044 1908 s000 S 08:46 0:00 svc
|