Sponsored Content
Full Discussion: Who's using my port in AIX
Operating Systems AIX Who's using my port in AIX Post 302400856 by tenderfoot on Thursday 4th of March 2010 09:54:17 AM
Old 03-04-2010
Who's using my port in AIX

Hello Gurus,

I was trying to find who's using my port and got below answer from a IBM website. But the problem with the below answer is I need a root to run the rmsock, is there any other alternative to find out who is using my port with out a root access??

Code:
 
1. netstat -Aan | grep <port number>
- This shows if the specified <port number> is being used. The hex number in the first column is the address of protocol control block (PCB)
 
2. rmsock <addr of PCB> tcpcb
- This shows the process who is holding the socket. Note that this command must be run as root.

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. AIX

Command to release a port in AIX

Hi All, I wanna know the command to release a particualr port in AIX machine without rebooting it. # netstat -a | grep 7100 tcp4 0 0 loopback.7100 *.* LISTEN # In the above example, how to release the port 7100 Thanks in advance. -Hemanshu (5 Replies)
Discussion started by: hemanshupatira
5 Replies

2. AIX

How to open a port in AIX

Hi Guys, i am trying to open a port in AIX. but i am not able to get the command for this. AIX is not having the iptables file present. So please any body can tell me how to open a port in AIX... Thanks sanju (2 Replies)
Discussion started by: sanju_d1231
2 Replies

3. UNIX for Dummies Questions & Answers

pid from port number in AIX

Hello guys, How to shut down a port number in AIX. May be first I need to find out what is the process ID of that process that listens to this particular port.. Is there any command to find a process ID from the port number other than "lsof". thanks (1 Reply)
Discussion started by: solaix14
1 Replies

4. AIX

Serial port in AIX

Hi, How can i configure my modem in AIX thru serial port (sa0-->tty0) I have two port serial card configured as sa0 I created tty1 which port is tty0 and which port is tty1 how can i know?? (1 Reply)
Discussion started by: pchangba
1 Replies

5. AIX

How to find what process is using a port in AIX 5L and above.

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 countless "you can't do that" responses, I finally found the answer. YES IT CAN BE DONE! YES ITS EASY. NO, I DON'T KNOW WHY NO ONE GETS THIS... (2 Replies)
Discussion started by: troym72
2 Replies

6. AIX

How to open port 1001 on AIX 6.1

Hi all, I have problem while starting Oracle Listener on port 1001(I think it's well known ports). It's error "Permission denied" I can start it on port 1111 and no any service started on port 1001(netstat -an). Can I start on this port ??, How ?? Thank you aRm (5 Replies)
Discussion started by: arm_naja
5 Replies

7. AIX

Blocking/starting a Port in AIX 6.1

Hello Team, We are having weblogic which running on AIX 6.1 Lpar machine. We not enabled any firewall(IPSEC) in AIX level. Our weblogic is running on cluster.Whenever we stop/restart the cluster we would like to stop/start the port(by using command) which used by the weblogic. Please... (2 Replies)
Discussion started by: gowthamakanthan
2 Replies

8. UNIX for Advanced & Expert Users

Help with AIX port limit

Hi guys, I have a problem need to solve urgently, please help me, any suggestion will be great. When my workmates installed a control-m agent in an AIX 6.1 OS, they got an error below: Port exceeded maximum allowed value. No available port found in the specified range up to 65535. ... (2 Replies)
Discussion started by: Lucas_0418
2 Replies

9. AIX

Source port on AIX for NAS is same?

In AIX servers, for mounting NAS mount points only 1021 1022 1023 are used as source ports on more than 300 servers while destination port on storage end is 2049, is there any settings on servers where these ports are defined for mounting NAS mount points? Any body faced this scenario? Thanks (16 Replies)
Discussion started by: anil1000
16 Replies

10. UNIX for Advanced & Expert Users

How to release port on AIX?

Hello all, I need your help with any command to release a port on AIX. Thanks for all. (5 Replies)
Discussion started by: Mcipamo
5 Replies
FAXANSWER(8)						      System Manager's Manual						      FAXANSWER(8)

NAME
faxanswer - tell a HylaFAX server to answer the telephone SYNOPSIS
/usr/sbin/faxanswer [ -q queue-dir ] [ -h how ] modem DESCRIPTION
faxanswer sends a message to the HylaFAX faxgetty(8) process servicing modem telling it to answer the telephone. This is useful, for exam- ple, when a modem is used on a shared phone line and the server is configured to not normally answer the phone. The specified modem can either be the name (typically the last component of the terminal port the modem is attached to), or the full name of the associated FIFO named pipe file, e.g. ``FIFO.ttym2''. OPTIONS
-q dir Use a spooling area other than /var/spool/hylafax. -h Specify exactly how the phone should be answered. By default, the server process is instructed to answer the phone and accept any kind of call (voice, data, fax). Discrimination of the type of call is dependent on a modem's adaptive-answer support. The -h option can be used to force the server to answer the phone for particular type of call: one of fax, data, voice, any, extern (to force faxgetty to invoke an external application to to handle the call), or dialX (where X is a dialstring to dial before initiating a fax reception). If using dialX, the specified dialstring will likely need to end with a semicolon (``;''). FILES
/var/spool/hylafax default spooling area /var/spool/hylafax/FIFO fifo for contacting faxq Consult hylafax-server(5) for a complete discussion of the structure and content of the spooling area. SEE ALSO
hylafax-server(5), faxgetty(8) May 23, 1996 FAXANSWER(8)
All times are GMT -4. The time now is 02:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy