What I did: ps -ax -o pid,cmd,user | grep root but this shows me on 3 columns showing the root inclusive, how do I eliminate the "root" column?


You can do this by asking ps to filter:

ps -u root -o pid,cmd

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.