I am using python's multiprocessing module to spawn new process
as follows :
d = multiprocessing.Process(target=os.system,args=('iostat 2 >
I want to obtain pid of iostat command or the command executed using
When I execute :
it gives me pid of subshell in which this command is running .
Any help will be valuable .
Thanks in advance