Hi,
If i login via SSH from 2 different computers to the same solaris VM and run netstat -
I expect to see process ids 2452 and 2426 as i get in the same scenario in GNU Netstat, In the solaris netstat I only see process 754.. which is the sshd process id.
root@Solaris11:~$ echo $$
2452
root@Solaris11:~# echo $$
2426
root@Solaris11:~# netstat -nu -P tcp -v
TCP: IPv4
Local/Remote Address Swind Snext Suna Rwind Rnext Rack Rto Mss State User Pid Command
-------------------- ------- -------- -------- ------- -------- -------- ----- ----- ----------- -------- ------ --------------
10.10.255.119.22
10.10.137.89.56791 1050112 5e43f67d 5e43f67d 128480 24240dbf 24240dbf 210 1460 ESTABLISHED root 754 /usr/lib/ssh/sshd
10.10.255.119.22
10.16.6.150.20150 64256 9b1b5882 9b1b5842 128480 0698f6fb 0698f6fb 207 1460 ESTABLISHED root 754 /usr/lib/ssh/sshd
root@Solaris11:~#
root@Solaris11:~$ ptree -a 2452
1 /usr/sbin/init
754 /usr/lib/ssh/sshd
2450 /usr/lib/ssh/sshd
2451 /usr/lib/ssh/sshd
2452 -bash
2475 ptree -a 2452
root@Solaris11:~# ptree -a 2426
1 /usr/sbin/init
754 /usr/lib/ssh/sshd
2408 /usr/lib/ssh/sshd
2409 /usr/lib/ssh/sshd
2410 -bash
2425 su
2426 bash
2476 ptree -a 2426
root@Solaris11:~$ ptree -a 754
1 /usr/sbin/init
754 /usr/lib/ssh/sshd