rklemme at gl01:~$ pstree -A
init-+-atd
|-cron
|-dhclient3
|-5*[getty]
|-glusterfs---2*[{glusterfs}]
|-glusterfs---10*[{glusterfs}]
|-login---bash
|-portmap
|-rpc.statd
|-rsyslogd---3*[{rsyslogd}]
|-sshd---sshd---sshd---bash---pstree
|-udevd---2*[udevd]
`-upstart-udev-br
rklemme at gl01:~$
The first subtree are the server instances, the second subtree are the
client instances it seems. Clients connect to both instances.
rklemme at gl01:~$ netstat -n -a | sed -n -e ''1,2 p;/6996/ p''
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:6996 0.0.0.0:* LISTEN
tcp 0 0 192.168.57.1:1022 192.168.57.1:6996 ESTABLISHED
tcp 0 0 192.168.57.1:1020 192.168.57.2:6996 ESTABLISHED
tcp 0 0 192.168.57.1:6996 192.168.57.1:1023 ESTABLISHED
tcp 0 0 192.168.57.1:6996 192.168.57.2:1022 ESTABLISHED
tcp 0 0 192.168.57.1:6996 192.168.57.2:1023 ESTABLISHED
tcp 0 0 192.168.57.1:6996 192.168.57.1:1022 ESTABLISHED
tcp 0 0 192.168.57.1:1023 192.168.57.1:6996 ESTABLISHED
tcp 0 0 192.168.57.1:1021 192.168.57.2:6996 ESTABLISHED
.1 is the local node, .2 is the other one.
Story seems to be slightly different with 3.2 in so far as there seem
to be different executables for server and client.
Kind regards
robert
--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/