faqts : Computers : Operating Systems : Linux : Daemons

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

59 of 73 people (81%) answered Yes
Recently 10 of 10 people (100%) answered Yes

Entry

Linux: Process: Background: Show: Command: How to see currently running background processes? [ps]

May 15th, 2005 10:44
Keith Duncan, Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 22 November 2003 - 05:48 pm -------------------

Linux: Process: Background: Show: Command: How to see currently 
running background processes? [ps]

---

Type the command:

ps

---
---

That will show output similar to the following:

+-> process id
|     +-> name of your terminal
|     |      +-> time that process has runned
|     |      |         +->- description of that process
|     |      |         |
PID   TTY    TIME      CMD
----------------------------
723   tty11  00:00:00  login
765   tty11  00:00:00  bash
919   tty11  00:00:00  more
940   tty11  00:00:00  emacs
971   tty11  00:00:00  emacs

---
---

with the command

 ps -a

you can see all the currently running processes of all users

---
---

Tested successfully in:

Linux Debian v3

Linux Mandrake v9

Linux Red Hat v9

Linux Slackware v9

Linux SuSE v9

Linux Turbolinux v8

Linux Smoothwall 2.0 fixes 6
---
---

Internet: see also:

---

Linux: Process: Background: Delete: How to delete currently running 
background process? [kill / ps]
http://www.faqts.com/knowledge_base/view.phtml/aid/26746/fid/435

----------------------------------------------------------------------