![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command to release a port in AIX | hemanshupatira | AIX | 5 | 05-06-2008 08:13 AM |
| required command to know the port no. | Amit_kolurwar | SUN Solaris | 1 | 04-23-2008 12:05 AM |
| disabled telnet now need port 23 or port 22 | panzerkw | SUN Solaris | 3 | 03-05-2007 11:08 AM |
| How to set baude rate of Serial port using setserial or other command | zaheer031 | UNIX for Advanced & Expert Users | 1 | 09-29-2004 08:20 AM |
| BitTorrent port 6969 blocked... how to get around the blocked port | PenguinDevil | IP Networking | 1 | 05-05-2004 08:03 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Command to know port no
Hi,
I want to know command which will display which application is running on which port.... apart from netstat, |
| Forum Sponsor | ||
|
|
|
|||
|
Hi,
netstat in Solaris will not show which process is using certain port, do fix that try to use pfiles, this is a cool tool in Solaris which shows you all the files openned by the process, since a connection is a file in Unix , using pfiles is easy. Look the following shell script : ----- for a in `ps -ef | nawk '{print $2}'` do pfiles $a | grep 80 (your port number) done ----- Later you can automate an improve this script, this is just to give U a clue how to find your stuff there, hope that helps. Regarding, Fernando Ramos. |