Yashwin,
Thanks! Your nohup redirection worked great!
- Mike
On Wed, Apr 21, 2010 at 2:45 PM, Yashwin Kanchan
wrote:
> Hi Mike
>
> have you tried running the tshark process in the background...
>
> *CMD_LIST=[PLINK,sess_name,'/usr/bin/sudo /usr/sbin/tshark &', '-a',
> 'duration:10', '-i', 'w
Hi Mike
have you tried running the tshark process in the background...
*CMD_LIST=[PLINK,sess_name,'/usr/bin/sudo /usr/sbin/tshark &', '-a',
'duration:10', '-i', 'wlan0', '-T', 'text', '-V','>', 'out.txt'];*
Or if you are using NOHUP try redirecting this way...
*CMD_LIST=[PLINK,sess_name,'/usr/b
Thanks Tim,
Your subprocess examples got me started in the right direction. I've moved
on to a slightly more advanced problem that I need help with.
I want to remotely start a Tshark packet capture session on one of our Linux
machines in the lab. I want to start the session from my Windows mach
On 30/03/2010 17:29, Mike Baker wrote:
I'm trying to connect to a Linux box from my Windows machine and execute a
series of commands
I want a script to always
execute the same series of commands without having to do so manually. I
also have code that will execute a single command like cat a fi
On 03/31/2010 03:29 AM, Mike Baker wrote:
> Hi,
>
> I'm trying to connect to a Linux box from my Windows machine and execute
> a series of commands - (ls, pwd, cat 'somefile', etc...). I'm using
> Putty to do the ssh and have set up with Putty's Pagent agent to allow
> me to enter a passphrase
You can have a look @ paramiko library.
http://www.lag.net/paramiko/
On 30-Mar-2010, at 9:59 PM, Mike Baker wrote:
> Hi,
>
> I'm trying to connect to a Linux box from my Windows machine and execute a
> series of commands - (ls, pwd, cat 'somefile', etc...). I'm using Putty to
> do the ssh
Hi,
I'm trying to connect to a Linux box from my Windows machine and execute a
series of commands - (ls, pwd, cat 'somefile', etc...). I'm using Putty to
do the ssh and have set up with Putty's Pagent agent to allow me to enter a
passphrase once per session to handle security keys between the tw