469,906 Members | 2,218 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,906 developers. It's quick & easy.

How to find processes from Python

Is there a way how to find out running processes?E.g. how many
Appache's processes are running?
Thanks for help.
BB.
Jul 25 '08 #1
1 1216
In message
<9f**********************************@e53g2000hsa. googlegroups.com>, Johny
wrote:
Is there a way how to find out running processes?E.g. how many
Appache's processes are running?
Under Linux, every process has a procfs directory /proc/<pid>, where <pid>
is the process ID. In here you will find all kinds of interesting
information about the process command line, what files it has open, its
environment, its memory usage etc.
Jul 28 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Sylwia | last post: by
1 post views Thread by Markus Franz | last post: by
1 post views Thread by Sori Schwimmer | last post: by
4 posts views Thread by Robin Haswell | last post: by
3 posts views Thread by adsheehan | last post: by
35 posts views Thread by Carl J. Van Arsdall | last post: by
6 posts views Thread by Kay Schluehr | last post: by
1 post views Thread by | last post: by
reply views Thread by Gary Josack | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.