You did fully povided an answer to my question … This is all that I was after, and I never had a clue. I thought I had do did to deep.Useps
, with the-G
argument for groups, then you can pipe it to a file, with>
myfile.txt.
This doesn't fully answer your question, but it's a start.
ps -J0 > output_1
ps -J0 > /root/Desktop/ps.G
pgrep libgtop-server
pkill libgtop-server
or
kill -s HUP 20383