Nicholas Marriott <nicholas.marri...@gmail.com> writes:

> If you do without the sleeps and it goes wrong, how
> many tmux servers do you end up with? (run "ps
> -eopid,ppid,comm" and look for tmux with a ppid of
> 1).

Now I get it!

I reinserted the sleepyheads and it works, this time I
get

$ ps -e -o pid,ppid,comm | grep tmux

2979  2969 tmux
2983     1 tmux
2990  2968 tmux
3017  2940 tmux
3050  3042 tmux

I.e., only one server! That is, when I start all tmuxes
at almost the same time (without sleep), all of them
feel they are the first, as the others haven't
initialized at that point. Man, I should be a private
eye... Thanks Mr. Marriott for the clue!

Nonetheless, there should be a better way than sleep to
do it. I'm on it.

PS. I hope it is not a major annoyance having to
confirm my posts. If you like, feel free to add me to
the list so you won't have to do that. DS.

-- 
underground experts united:
http://user.it.uu.se/~embe8573

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to