def list(self, id=None):
        """
        List all running processes

        :param id: optional PID for the process to list
        """
        args = {'pid': id}
        self._process_chk.check(args)
        return self._client.json('process.list', args)
def list ( self , id = None ) : args = { 'pid' : id } self . _process_chk . check ( args ) return self . _client . json ( 'process.list' , args )
List all running processes

        :param id: optional PID for the process to list