I would like to parse the output of ps
, to get any field using awk
. It seems that ps
separate the fields by whitespaces, but the values in COMMAND
field usually have whitespaces.
Is there a way to tell ps
to use some distinctive field separator in its output? I haven't found one in ps
manpage.
If not, what can I do to get the values in a field? Thanks.
%x
s aren't available. – Michael come lately Oct 10 '19 at 13:58