command line of a process.exe on another host
Tim Wintle
tim.wintle at teamrubber.com
Fri Jun 12 09:32:03 EDT 2009
On Thu, 2009-06-11 at 23:18 +0100, Harry wrote:
> HI ,
> I have number of process run on different windows servers which run's with
> different command line parameters. for example "process.exe -input<ddd>
> statusurl: http://sss.com "., These parameters can vary from host to host.
> using Psexec I know the PID and process name which are running on these
> machines, but how I can read the command line parameters of these process.
> Is there a way to read these command line of the proess via python pls?
I'm not sure how well this will work, but it might be worth looking at
fabric - which lets you run through ssh onto lots of different machines
(so I assume you'll need openssh on those machines)
http://docs.fabfile.org/
Haven't used it myself, but I keep meaning to.
>
> any feedback appreciated..
>
> thanks
> Hari
>
More information about the Python-list
mailing list