vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| need a way to determine which workstation clients are connected to a given server process. My prior experience has been on Solaris. Currently using 'pfiles' command to achieve this functionality on Solaris 2.8; can find no such capabilities in HPUX 11 man pages. Any suggestions as to what I can use? Here's pfiles output from solaris ... Current rlimit: 1024 file descriptors 0: S_IFSOCK mode:0666 dev:263,0 ino:38907 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK sockname: AF_INET 192.168.1.2 port: 5999 peername: AF_INET 192.168.1.102 port: 3078 1: S_IFREG mode:0644 dev:32,56 ino:296727 uid:1003 gid:102 size:161 O_WRONLY|O_APPEND|O_LARGEFILE 2: S_IFSOCK mode:0666 dev:263,0 ino:36098 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK sockname: AF_INET 192.168.1.2 port: 33093 peername: AF_INET 192.168.1.2 port: 7006 3: S_IFSOCK mode:0666 dev:263,0 ino:38906 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK sockname: AF_INET 192.168.1.2 port: 33094 peername: AF_INET 192.168.1.2 port: 7000 4: S_IFSOCK mode:0666 dev:263,0 ino:38904 uid:0 gid:0 size:0 O_RDWR|O_NONBLOCK sockname: AF_INET 192.168.1.2 port: 33095 peername: AF_INET 192.168.1.2 port: 7001 5: S_IFSOCK mode:0666 dev:263,0 ino:38902 uid:0 gid:0 size:0 O_RDWR FD_CLOEXEC sockname: AF_INET 192.168.1.2 port: 33097 peername: AF_INET 192.168.1.7 port: 1037 |
| ||||
| Andrew Werden <andrew.werden@pega.com> wrote: > need a way to determine which workstation clients are connected to a given > server process. I suspect that lsof may get you at least a decent chunk of the way to where you want to be. It may be part of the Internet Express stuff, but if not, it would likely be in one of the porting archives, or you can just grab source and compile your own. rick jones -- Wisdom Teeth are impacted, people are affected by the effects of events. these opinions are mine, all mine; HP might not want them anyway... feel free to post, OR email to raj in cup.hp.com but NOT BOTH... |