M BUZZ CRAZE NEWS
// news

How to list all the PIDs and names of all the runing processes

By Jessica Wood

I know that there is this command :

ps aux 

to get all info about the running processes .. but I need only the names and ids for these processes , is there any command can list the processes ids or names only ?

Thanks

0

1 Answer

You can use the o argument instead of u to specify what you want to see:

ps axo pid,comm
0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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