Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: timeout problem in ssh sessions
- X-seq: zsh-users 12626
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: ZSH User List <zsh-users@xxxxxxxxxx>
- Subject: Re: timeout problem in ssh sessions
- Date: Tue, 19 Feb 2008 11:20:57 +0100
- In-reply-to: <080219003557.ZM16257@xxxxxxxxxxxxxxxxxxxxxx>
- Kreccount: 1
- Mail-followup-to: ZSH User List <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <27b8b8a0802130621x47568c7fo304848d02a1c6e76@xxxxxxxxxxxxxx> <20080213143803.GI619@xxxxxxxxxxxxxxxxxxx> <20080214125415.GC31852@xxxxxxxxx> <20080214180818.GO619@xxxxxxxxxxxxxxxxxxx> <20080215103220.GF31852@xxxxxxxxx> <080215123047.ZM29728@xxxxxxxxxxxxxxxxxxxxxx> <20080215221834.GA23684@xxxxxxxxx> <080215192616.ZM30010@xxxxxxxxxxxxxxxxxxxxxx> <20080218102729.GA21288@xxxxxxxxx> <080219003557.ZM16257@xxxxxxxxxxxxxxxxxxxxxx>
On 2008-02-19, 00:35, Bart Schaefer wrote:
> Is that *before* you changed from your original formulation to use my
> version with ps="$(ps -eo ...)" ?
No, after.
> Because:
>
> schaefer<506> ps="$(ps -eo pid,ppid,cmd)"
> schaefer<507> print -l "PID: $$" "PPID: $PPID" ${(M)${(f)ps}:#*ps -eo*}
> PID: 16182
> PPID: 7139
> 16255 16254 ps -eo pid,ppid,cmd
Strange, here it's different:
condor:~>ps="$(ps -eo pid,ppid,cmd)"
condor:~>print -l "PID: $$" "PPID: $PPID" ${(M)${(f)ps}:#*ps -eo*}
PID: 23435
PPID: 23388
30571 23435 ps -eo pid,ppid,cmd
condor:~>echo $ZSH_VERSION
4.3.5
condor:~>uname -a
Linux condor 2.6.23.1 #1 SMP PREEMPT Thu Nov 1 01:54:03 CET 2007 i686 GNU/Linux
Chau,
Andy.
--
It's easier to get forgiveness for being wrong
than forgiveness for being right.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author