Oct 06, 2011 Can someone please tell me how to check if port 161 and 162 are working in AIX 6. 1? show process using port aix The open source lsof tool is great for determining what process has a port open. Unfortunately lsof isn't included with AIX so if you just want to quickly identify which process is using a port and you don't have lsof you can use netstat Aan combined with the rmsock command.
Jul 24, 2016 The port number must be adjusted at the first grep command. The PID that is using the port will be the one immediately before the line that ends with port: ( port: 3900 in the example above). The second command will show information about the process itself. show process using port aix
There have been a lot of threads about how to find processes that are using a specific port on an AIX server. After long hours of research and reading The UNIX and Linux Forums How to find what process is using a port in AIX 5L and above. Show Password. Jun 04, 2007 Folks, I am wondering if someone knows how to determine which process is listening on a port using the standard AIX tools (without using lsof or open tools like linux netstat). I have constraints regarding installing not approved packages: ( My intention is get something similar to a netstat nl program in LINUX Regards Unfortunately on OSX you're stuck with the BSD netstat which will not show you the process ID that is attached to a given port. What you have to do instead is use lsof. The syntax you'll need to use is: lsof i: 8080 This will print out gobs of information, most of which show process using port aix Sep 13, 2015 First do a 'netstat Aan grep ' This shows if the specified is being used. The hex number in the first column is the address of protocol control block (PCB) Then do a 'rmsock tcpcb' This shows the process who is holding the socket. Note: This command must be run as root. . Hereunder an example output: When we covered port scanning a short while ago we discovered how to tell which ports had processes listening upon them, via port scanning. What we didn't do was learn how to tell which processes were associated with each open port. . Often you'll know which applications are going to be using a particular port, because it's the standard one, or because you know you set it up. Dec 27, 2018 H ow do I see all running process in Linux operating systems using command line or GUI options? How can I show all running Processes in Linux operating system? Introduction: A process is nothing but tasks within the Linux operating system. A process named httpd used to display web pages. Another process named mysqld provides database service. developerWorks blogs allow community members to share thoughts and expertise on topics that matter to them, and engage in conversations with each other. You can browse for and follow blogs, read recent entries, see what others are viewing or recommending, and request your own blog.