04-29-2013
As far as mapping a socket to its owner, I believe that requires privilege.
What is it that you are trying to accomplish? I mean the bigger picture. Perhaps there is another way to get it done.
Regards,
Alister
8 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. 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
8. 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 DEBIAN
mapivi
MAPIVI(1) User Contributed Perl Documentation MAPIVI(1)
NAME
MaPiVi - Picture Viewer and Organizer
MaPiVi means Martin's Picture Viewer
DESCRIPTION
JPEG picture viewer / image management system with meta info support written in Perl/Tk for UNIX, Mac OS X and Windows.
I wrote mapivi just for me, because I needed a image viewer which is also able to display and edit meta infos of JPEG pictures, like EXIF,
JPEG comments and IPTC/IIM infos. As hobby photographer I am mostly interested in the EXIF infos (like timestamp, camera model, focal
length, exposure time, aperture, etc.) and the possibility to add and edit IPTC infos and JPEG comments. But I also want to rename
pictures according to their internal date/time and to do lossless rotation, lossless cropping and other stuff.
mapivi can be found here: http://mapivi.de.vu (link to the mapivi site) or if this won't work: http://herrmanns-stern.de (real site)
http://sourceforge.net/projects/mapivi (download)
I would be happy to receive some feedback (e.g. on which os mapivi works), bugfixes, patches or suggestions about mapivi.
Copyright (c) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Martin Herrmann All rights reserved.
Feel free to redistribute. Enjoy!
USAGE
mapivi [-i ] [file|folder]
to display a certain picture use:
mapivi picture.jpg
mapivi will generate and display all pictures in the folder as thumbnails. The given picture will be displayed in original size or zoomed
to fit the window (picture frame).
to view a folder containing pictures use:
mapivi ~/pics/
mapivi will generate and display all pictures in the given folder as thumbnails.
to start mapivi with the import wizard
mapivi -i
KEYS
mapivi is controlled by the following keys: see also menu Help->Keys (the list is generated from the source code and is always actual.)
Space, Page-Down
Show the next picture in folder
BackSpace, Page-Up
Show the previous picture in folder
Escape
Iconify MaPiVi (Boss-Key :)
Cursor-up, -down, -left, -right
Scroll the picture, if it's bigger than the Canvas
Shift-Cursor-up, -down, -left, -right
Move to the border of the picture, if it's bigger than the Canvas
q Quit MaPiVi
For all other key bindings, see the menu Help->Keys
MOUSE
Try the right mouse button in the thumbnail picture list for a popup menu to copy, move, rename, rotate or delete pictures, to open a new
folder, to add or remove comments or to exit MaPiVi.
Use the buttons to add, edit or remove JPG comments, or to display all EXIF infos.
If you hold the mouse over the buttons or labels a help message will pop up (or at least at most of them :).
perl v5.10.0 2009-04-03 MAPIVI(1)