- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find the Port number in HP-UX11i
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 08:09 PM
10-05-2004 08:09 PM
How we can find out the port number for used for different services.
There is one utility losf. where to down load it and if it ask for user name & password, what should I give.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 08:16 PM
10-05-2004 08:16 PM
Re: How to find the Port number in HP-UX11i
what is your OS version ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 08:18 PM
10-05-2004 08:18 PM
Re: How to find the Port number in HP-UX11i
sorry , i didn't catch the title, the OS is hpus 11i.
i have attached the tool lsof
To check ports used in hpux
/etc/services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 08:29 PM
10-05-2004 08:29 PM
Re: How to find the Port number in HP-UX11i
You can get it from here.
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
It doesn't ask for any password.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 08:59 PM
10-05-2004 08:59 PM
Re: How to find the Port number in HP-UX11i
I have downloaded the file and done the following steps.. but not getting that how to install it...
1>using ftp i copied to /tmp/lsof/ folder
2>gunzip lsof_4.72.gz
3>lsof_4.72
now how to install the lsof_4.72 file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 09:04 PM
10-05-2004 09:04 PM
Re: How to find the Port number in HP-UX11i
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 09:16 PM
10-05-2004 09:16 PM
Re: How to find the Port number in HP-UX11i
lsof is available on
http://the-other.wiretapped.net/security/host-security/lsof/binaries/hpux/B.11.11/
after downloading, you need to install the product(using swinstall).
then
#cd /opt/lsof/bin
execute the executable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 09:44 PM
10-05-2004 09:44 PM
Re: How to find the Port number in HP-UX11i
The downloded file name is lsof_4.72.gz.
then I put it to the /tmp/lsof folder
then run gunzip lsof_.4.72.gz
then one file creates named lsof_4.72
after this not gettinf that how to use it or install it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 09:48 PM
10-05-2004 09:48 PM
SolutionI bet it's an executable
# mv lsof_4.72 /usr/local/bin/lsof
# lsof -?
# lsof -p $$
# lsof -i ...
-i i select by IPv[46] address: [46][proto][@host|addr][:svc_list|port_list]
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 09:57 PM
10-05-2004 09:57 PM
Re: How to find the Port number in HP-UX11i
http://gatekeep.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.72/
to get binary depot of lsof there.
gunzip
cd /
swlist -s /depot bianry file/
swinstall -s /depot binary file/
IT will make you lsof there.
HTH.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 09:59 PM
10-05-2004 09:59 PM
Re: How to find the Port number in HP-UX11i
do a file lsof_4.72. You should be tholt wether this is a binary or an tar file.
if its an tar file just do an tar -tvf lsof_4.72 to see the contents or an tar -xvf lsof_4.72 to extract.
If its an binary just move the file to /opt/lsof/bin/lsof and execute.
Hope this helps
Regards Stefan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2004 10:54 PM
10-05-2004 10:54 PM
Re: How to find the Port number in HP-UX11i
# netstat -a
Is this what you are looking for!!
Regards,