module documentation
FiftyOne service utilities.
Function | describe |
Returns a detailed description of a process. |
Function | find |
Finds a process with the specified command-line arguments. |
Function | get |
Retrieves a list of TCP ports that the specified process is listening on. |
Function | normalize |
Returns the given process, or its child if it is a wrapper processes. |
Function | send |
Sends a message to a process's IPCServer. |
Function | _is |
Returns true if the specified process is a wrapper around a single child process with the same arguments. |
Retrieves a list of TCP ports that the specified process is listening on.
Parameters | |
process:psutil.Process | the process to check |
Returns | |
generator of integers |
Returns the given process, or its child if it is a wrapper processes.
See _is_wrapper_process() for details.
Parameters | |
process:psutil.Process | |
Returns | |
psutil.Process |
Sends a message to a process's IPCServer.
Parameters | |
process:psutil.Process | process to send the message to |
message:any type | |
Returns | |
response (any type) |