Package osh :: Module process
[frames] | no frames]

Module process

source code

Provides information on currently running processes, by examining files in the /proc filesystem. (So it doesn't work on OS X, for example.) The processes function returns a list of Process objects. Each Process object reveals information derived from /proc, identifies parent and child processes, and can be used to send signals to the process.

Classes
  Process
A Process object represents a process with a particular PID.
Functions
 
processes(*dummy)
Returns a list of process objects based on the current contents of /proc.
source code
Function Details

processes(*dummy)

source code 

Returns a list of process objects based on the current contents of /proc. Of course the list is stale as soon as it is formed. In particular, a Process object in the list may correspond to a process that has terminated by the time you use the object.