05-08-2008
How to find list of userdefined ports in aix
I want to know list of userdefined ports available in aix .Suppose I want to run a process at port 20 .using netstat i could able to find out that no process is listening at that 20 .Still I am not able to bring my process up at port 20.
Thanks
kittu
10 More Discussions You Might Find Interesting
1. Programming
I need to find out where a usb flash memory drive is mounted. I have used prtconf and iostat to find the information and then used popen to parse the information to find what i need. I am wondering if there are some generic functions such as ddi_ or usb_ that i can use to find such info. I would... (1 Reply)
Discussion started by: jtcoelho
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all
i'm working on a LINUX-based platform.
i'm little confused with PORTs.
i have my platform connected to many other platforms, i need to know the relative port for each IP@.
i know the IP of each connected platform to mine, but i'm not sure about the relative PORT for each platform...... (4 Replies)
Discussion started by: samsal_991
4 Replies
3. UNIX for Dummies Questions & Answers
Hi,
what is the unix command to get the list of all open ports in unix?
Thank you in advance (1 Reply)
Discussion started by: zainab
1 Replies
4. Solaris
Hello,
One of our developers is asking for a command/script in Solaris similar to "netstat -anp" in Linux. He gave this output as an example:
root@xxx:~# netstat -anp | grep LISTEN
tcp 0 0 0.0.0.0:7937 0.0.0.0:* LISTEN 16082/nsrexecd
tcp 0 ... (7 Replies)
Discussion started by: vimes
7 Replies
5. Programming
Hello,
I wonder if I can write my userdefined data structures(ex: a list) to a shared memory segment?
I know, the shm functions get (void*) parameter so I should be able to read and write a list into the shared memory.
may someone inform and clarify me about that, please? (1 Reply)
Discussion started by: xyzt
1 Replies
6. Solaris
Hi,
I have 2 queries:
a) Is it possible that a port no., not defined in /etc/services, be used by an application.
b) how do i find the list of ports is being currently used on my Solaris box(if entry not made into /etc/services) I donot have "lsof" installed on my box. (3 Replies)
Discussion started by: EmbedUX
3 Replies
7. AIX
We have a system and we have modified the /etc/ind.conf and the
/etc/services and the /etc/rc.tcpip file to turn off specific applications.
I need to know what is the correct procedure for locking down unused
ports that still appear to be in a listen mode even... (1 Reply)
Discussion started by: admaix
1 Replies
8. Shell Programming and Scripting
Hi,
I'm in need of a script that can monitor a list of 12 ports.. If one of the ports isn't in listening mode then email me..
The list of ports are 26401 - 26412.. (6 Replies)
Discussion started by: eclipseagent
6 Replies
9. UNIX for Dummies Questions & Answers
How do i list the running process and also view the ports they are listening to at the same time? (3 Replies)
Discussion started by: mena
3 Replies
10. Solaris
Hi forum,
I've run into a problem here and I can't seem to figure it out.
OS=Solaris 10 u11 SPARC.
This application (running on a local zone) was having a conflict with a port and I can't seem to find that port listed. (eg 41468)
I've tried
netstat -an|grep 41468
I am pretty sure this... (2 Replies)
Discussion started by: br1an
2 Replies
LEARN ABOUT HPUX
aa-unconfined
AA-UNCONFINED(8) AppArmor AA-UNCONFINED(8)
NAME
aa-unconfined - output a list of processes with tcp or udp ports that do not have AppArmor profiles loaded
SYNOPSIS
aa-unconfined
DESCRIPTION
aa-unconfined will use netstat(8) to determine which processes have open network sockets and do not have AppArmor profiles loaded into the
kernel.
BUGS
aa-unconfined must be run as root to retrieve the process executable link from the /proc filesystem. This program is susceptible to race
conditions of several flavours: an unlinked executable will be mishandled; an executable started before a AppArmor profile is loaded will
not appear in the output, despite running without confinement; a process that dies between the netstat(8) and further checks will be
mishandled. This program only lists processes using TCP and UDP. In short, this program is unsuitable for forensics use and is provided
only as an aid to profiling all network-accessible processes in the lab.
If you find any bugs, please report them at <http://https://bugs.launchpad.net/apparmor/+filebug>.
SEE ALSO
netstat(8), apparmor(7), apparmor.d(5), aa_change_hat(2), and <http://wiki.apparmor.net>.
AppArmor 2.7.103 2012-06-28 AA-UNCONFINED(8)