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
If not, what can I do to get the values in a field? Thanks.