06-04-2009
Which port is used by which process ?
Hi all,
I work in three platforms SOLARIS,HPUX,AIX.
My requirement is to find the user id which is using a particular port.
So I tried searching commands which will help me to know which port is used by which process.
According to the posts over here lsof makes life easy in this case. But I dont have lsof installed on my unix box neither I am allowed to install.
I also tried various combinations of netstat command, but none worked.
Please do help me.
Thanks,
Vikas
9 More Discussions You Might Find Interesting
1. Solaris
Is there a way in Solaris to find which process is using which port? (3 Replies)
Discussion started by: Kraas
3 Replies
2. AIX
Is there a way in AIX to determine which process is connected to a particular IP port? I know about the lsof command, but for various reasons I can't install it on the machine I want to use it on. Is there a way other than using this command? (1 Reply)
Discussion started by: dgiaimo
1 Replies
3. Linux
Hi all,
I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux?
Thanks in Advance,
Pankajakshan (1 Reply)
Discussion started by: Pankajakshan
1 Replies
4. IP Networking
Hi all,
I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux?
Thanks in Advance,
Pankajakshan (2 Replies)
Discussion started by: Pankajakshan
2 Replies
5. Solaris
Hi
I would like to know, how to find that particular process is running on which port other than /etc/services as this file shows well known ports information. (1 Reply)
Discussion started by: amity
1 Replies
6. AIX
I would like to know, how to find that particular process is running on which port other than /etc/services as this file shows well known ports information
Double post, continued here. If you want answers for different OS, post in a general section instead. If you want your other post moved... (0 Replies)
Discussion started by: amity
0 Replies
7. Solaris
Hi All,
How to get the list of port numbers and it is correspoding proceses id that are currently running on. Please suggest and it is urgent
Thanks. (7 Replies)
Discussion started by: rbalaj16
7 Replies
8. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
9. IP Networking
Hello,
Please help me in getting the process id and the port number from the socket
netstat -Aan|grep -i closed
f100050010b133b8 tcp 0 0 *.* *.* CLOSED
f1000500119b53b8 tcp4 0 0 *.* *.* ... (3 Replies)
Discussion started by: Vishal_dba
3 Replies
LEARN ABOUT CENTOS
pmtime
PMTIME(1) General Commands Manual PMTIME(1)
NAME
pmtime - time control server for Performance Co-Pilot
SYNOPSIS
pmtime [-p port]
DESCRIPTION
pmtime is a graphical user interface for performance monitoring applications using the PCP infrastructure and requiring interactive time
control.
pmtime is not normally invoked directly by users. Rather, it is more typical for it to be started by client applications (e.g. pmchart(1)
and pmval(1)).
There are two modes of interacting with a pmtime process - live host mode, and historical archive mode. In archive mode the window
presents time controls suitable for manipulating the archive position, allowing full VCR control to move forwards and backwards in time at
configurable rates and intervals. In live mode the pmtime window contains the simpler time controls suitable for live monitoring.
The arguments to pmtime are as follows:
-p port is the port number which pmtime will use for communication with its clients (monitoring applications).
Note that the pmtime window is only made visible when explicitly requested. Multiple client applications can be connected to a single
pmtime server - when the final client application exits, pmtime will also exit.
ENVIRONMENT
When a port number is not explicitly requested on the command line via the -p option, the environment variable PMTIME_PORT can be set to
specify the port number from which available-port probing will commence when pmtime is searching for a port number to use.
The default starting port number is 43334.
SEE ALSO
PCPIntro(1), pmchart(1), and pmval(1).
Performance Co-Pilot PMTIME(1)