11-14-2008
PortMonitoring (find PID Port)
Script to find and monitor the PID that is associate with a port. Takes the 'port number' as argument.
More...
9 More Discussions You Might Find Interesting
1. HP-UX
Hi,
I am working on HP-UX Release 11i.
I want to find the process id (PID) of the process running on a particular port.
lsof command fuser does not work on this system.
Please suggest some alternative.
Thanks (6 Replies)
Discussion started by: gmat
6 Replies
2. Shell Programming and Scripting
When I run ps -aef | grep aaa.exe it gives out put
user 5091 5518 0 10:13:25 pts/1 0:00 grep aaa.exe
user 4647 2479 0 09:26:31 ? 0:25 /kk/zzz/user/xxx/bin/aaa.exe
user1 1111 2222 0 08:26:31 ? 0:25 /kk/zzz/user1/xxx/bin/aaa.exe
I need Only PID value ie... (5 Replies)
Discussion started by: madhusmita
5 Replies
3. UNIX for Dummies Questions & Answers
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. Shell Programming and Scripting
i want to get tomcat listening port , from a command.
ps -ef | grep catalina | grep -v "grep catalina" | grep -v "catalina.out" | awk '{print $2}' | head -1
output :
-----
1234
Now with this 1234 i need to know , in which port my tomcat is running...
i tried ,
netstat -ao | grep... (14 Replies)
Discussion started by: linuxadmin
14 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I need to find the PID for a given port on the below system.
HP-UX mymachine B.11.31 U ia64 3223107173 unlimited-user license
How can I ? (4 Replies)
Discussion started by: mohtashims
4 Replies
6. HP-UX
Hi,
Is this the most appropriate way of finding the listen port number given the pid is "16659" ?
lsof -Pan -i tcp -i udp | grep 16659 | grep -i "listen"If so, how can I extract "7001" and assign it to a variable say myport=7001 from the below output which happens to be actual port number?
... (1 Reply)
Discussion started by: mohtashims
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
I do not have root user credentials nor do I have the functional id of the process that uses port 80.
How can I find the pid of the process using the port number 80 ?
Operating System: Linux (6 Replies)
Discussion started by: mohtashims
6 Replies
8. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
9. UNIX for Beginners Questions & Answers
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Discussion started by: yossi
2 Replies
LEARN ABOUT OPENSOLARIS
purple-url-handler
purple-url-handler(1) User Commands purple-url-handler(1)
NAME
purple-url-handler - Python script to handle URL with purple
SYNOPSIS
purple-url-handler [-URL]
DESCRIPTION
Python script to handle URL with purple.
OPTIONS
Usage: purple-url-handler URL
Example:
purple-url-handler "xmpp:romeo@montague.net?message"
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-im-client |
+-----------------------------+-----------------------------+
|Interface stability |Volatile |
+-----------------------------+-----------------------------+
SEE ALSO
purple-remote(1), purple-send(1), purple-send-async(1), attributes(5)
purple-url-handler Manual, http://pidgin.im/
NOTES
Updated by Lei Ju, Sun Microsystems Inc., 2006, 2007.
SunOS 5.11 02 Apr 2008 purple-url-handler(1)