tags:

views:

46

answers:

1

Hello

Guy how i can read all process work in my computer and print it

i want process read then print ?

+1  A: 

one of the possible ways is to parse the output of some specialized system process "viewer" application

like:

import commands
cmd = 'ps ax'
for line in commands.getoutput(cmd).splitlines():
    # process the line
mykhal
well sir my OS: backtrack4 but it's not work !
Hamoud-Oz
@strik3r i don't know this software.. make sure it does produce the data on the stdout..
mykhal