![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| find size of folders and its subfolders with the Owner details | bsandeep_80 | UNIX for Advanced & Expert Users | 5 | 04-15-2008 04:03 AM |
| Owner of file gets 'not owner' error for chgrp | brizrobbo | SUN Solaris | 4 | 12-18-2007 05:30 PM |
| Error Message: find: cannot open /: Stale NFS file handle | ezsurf | SUN Solaris | 1 | 10-11-2007 09:04 PM |
| Which application has a TCP socket open | murphyboy | UNIX for Dummies Questions & Answers | 3 | 10-26-2005 06:29 AM |
| find - How to get rid of can not open msg | GMMike | UNIX for Dummies Questions & Answers | 1 | 11-28-2004 04:24 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi all,
I am trying to connect the open socket and its owner PID on my Solaris9 system. But it seems not very easy. As netstat is not as powerful as it is on Linux platform, without the "-program" option, and "lsof -i <UDP|TCP>@<hostIP>" won't show the one i want although it lists some idle and some . Could you please suggest which tool shall i work with on this issue. Below is the one that i want to get: # netstat -an | grep 161 *.161 Idle Thanks in advance |
|
||||
|
Hi,
/usr/bin/pcred [pid | core] will give you the credentials of each PID, also have a look at /usr/bin/pwdx as it will give you the working directory of the PID, if you need more have a look at the man page for any of the above. Mike. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|