KThund
KThund

Reputation: 49

Linux display currently running processes

What is the command to display currently running processes and the option to display PPID's?

I thought that it might be:

jobs -p

jobs -pl

Neither worked though. Any hints?

Upvotes: 2

Views: 4569

Answers (3)

Charlie Parker
Charlie Parker

Reputation: 5241

for getting one using your username: top -u username idk how to do it with ps but that would be nice to know.

Upvotes: -1

Guy Gavriely
Guy Gavriely

Reputation: 11396

it really depends on what you're after

you usually use

top

to see how processes consume system resources

however, if you just want to see some process pid, and know some word from the command that used to run it, try:

ps -ef | grep java

there are other (many) commands and tools, it really depends on the reason you look for the process

Upvotes: 1

Jud
Jud

Reputation: 1188

ps -ef will display all processes and include PPIDs.

Upvotes: 4

Related Questions