Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
0
Share

SysProc

SysProc class.

Wrapper of psutil.Process class. This class that only exposes necessary functionalities to easily manage shell processes.

Functions
__init__

Initialize self. See help(type(self)) for accurate signature.

process : Process
get_all_children

Return all the chlidren of process recursively.

Return type : List
get_process
Return type : Process
is_alive
Return type : bool
is_zombie
Return type : bool
kill
kill_with_children
stats

Get process statistics

Return type : dict
wait

Wait for a process PID to terminate

timeout : Any
popen @classmethod
cmd : Any
Return type : SysProc
from_pid @staticmethod
pid : Any
Return type : SysProc
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.