File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Linux / UNIX and the fly likes back ground process id  ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "back ground process id  ??" Watch "back ground process id  ??" New topic

back ground process id ??

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1427
How can i find out unix back ground process id thru ps -e ?
M Beck
Ranch Hand

Joined: Jan 14, 2005
Posts: 323
well, let's try it:

the first column is the PID. the second column, TTY, is not always relevant, and can usually be ignored. the third column, TIME, is the total accumulated CPU time thus far; it's seldom very interesting. the last column is the name of the process binary.

what doesn't show up here is that "ps -e" lists everybody's processes, not just your own. this may or may not be what you want to see. for information on how to modify this, and other, aspects of the "ps" output, see "man ps".
I agree. Here's the link:
subject: back ground process id ??
It's not a secret anymore!