Did I find the right examples for you? yes no

All Samples(17)  |  Call(17)  |  Derive(0)  |  Import(0)
Return a list of Process class instances for all running
processes on the local machine (deprecated).

                @wraps(fun)
        def inner(*args, **kwargs):
            warnings.warn(msg, category=DeprecationWarning, stacklevel=2)
            return fun(*args, **kwargs)
        


src/c/m/cms-HEAD/cms/service/ResourceService.py   cms(Download)
        """
        logger.debug("ResourceService._find_proc")
        for proc in psutil.get_process_list():
            try:
                proc_info = proc.as_dict(attrs=PSUTIL_PROC_ATTRS)

src/j/u/JumpScale-core-6.0.0/lib/JumpScale/core/system/process.py   JumpScale-core(Download)
    def getMyProcessObject(self):
        import psutil
        myprocess=[p for p in psutil.get_process_list() if p.pid==j.application.whoAmI.pid][0]
        return myprocess
 
    def getProcessObject(self,pid):
        import psutil
        for process in psutil.get_process_list():
    def getSimularProcesses(self):
        import psutil
        myprocess=self.getMyProcessObject()
        result=[]
        for item in psutil.get_process_list():

src/e/r/ermeSms-HEAD/ermeSms.py   ermeSms(Download)
else:
    this = psutil.Process(getpid())
    quit() if (this.cmdline in [i.cmdline if i.pid != getpid() else [] for i in psutil.get_process_list()]) else None
 
#carico i moduli e avvio il programma

src/t/e/tea-0.0.5/src/tea/process/win_process.py   tea(Download)
def get_processes(sort_by_name=True, cmdline=False):
    if cmdline:
        processes = [(p.pid, p.name, p.cmdline)
                     for p in psutil.get_process_list()]
    else:
        processes = [(p.pid, p.name) for p in psutil.get_process_list()]

src/g/e/genesis-HEAD/plugins/taskmgr/main.py   genesis(Download)
    def get_ui(self):
        ui = self.app.inflate('taskmgr:main')
        l = psutil.get_process_list()
        l = sorted(l, key=self.sort_key)
        if self._sort[1]:
 
        try:
            x = filter(lambda p:p.pid==self._info, psutil.get_process_list())[0]
        except:
            return
            self._info = None
            try:
                x = filter(lambda p:p.pid==self._info, psutil.get_process_list())[0]
                x.kill(int(vars.getvalue('signal', None)))
                self.put_message('info', 'Killed process')

src/d/j/django-profiling-dashboard-fc-1.0/profiling_dashboard/stats.py   django-profiling-dashboard-fc(Download)
def get_top_info():
    processes = psutil.get_process_list()
 
    for p in processes:
        try:

src/d/j/django-profiling-dashboard-0.1/profiling_dashboard/stats.py   django-profiling-dashboard(Download)
def get_top_info():
    processes = psutil.get_process_list()
 
    for p in processes:
        try:

src/t/w/twilight-0.3.6/twilight/lib/filesystem.py   twilight(Download)
def openfilepaths():
    '''
    `openfilepaths` intends for the `open` to look less like a verb than it would in `open_filepaths`
    '''
    for process in psutil.get_process_list():

src/d/j/django-profiling-dashboard-HEAD/profiling_dashboard/stats.py   django-profiling-dashboard(Download)
def get_top_info():
    processes = psutil.get_process_list()
 
    for p in processes:
        try:

src/n/e/neurotrends-HEAD/neurotrends/acrobatch/acrobatch.py   neurotrends(Download)
def acropid():
    'Return PID of Acrobat process.'
 
    # Get all processes
    procs = psutil.get_process_list()

  1 | 2  Next