- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- The port on my server
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
12-31-2007 03:03 AM
12-31-2007 03:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 03:15 AM
12-31-2007 03:15 AM
Re: The port on my server
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.78/
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 03:43 AM
12-31-2007 03:43 AM
Re: The port on my server
i am installed but the command not work
# lsof
/usr/bin/ksh: lsof: not found
Note i am installed under " /usr/local "
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 03:48 AM
12-31-2007 03:48 AM
Re: The port on my server
try with ./lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 03:51 AM
12-31-2007 03:51 AM
Re: The port on my server
Cheers!
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 03:52 AM
12-31-2007 03:52 AM
Solution"netstat -an | grep "LISTEN" shows ports that LISTEN to incoming connection
"netstat -an | grep "EST" will show established (active) connections
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 03:54 AM
12-31-2007 03:54 AM
Re: The port on my server
the same problem, and i am root user
and i can see the command from man page
>man lsof
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 04:14 AM
12-31-2007 04:14 AM
Re: The port on my server
cd /usr/local
ls -ltr lsof
./lsof
and post the results of all above.
Thanks,
Anshu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 04:32 AM
12-31-2007 04:32 AM
Re: The port on my server
# lsof
/usr/bin/ksh: lsof: not found
>Note i am installed under "/usr/local"
This doesn't mean it doesn't work. It means you didn't find it. You could use the absolute path: /usr/local/bin/lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 04:45 AM
12-31-2007 04:45 AM
Re: The port on my server
# cd /usr/local
# ll
total 528
lrwxr-xr-x 1 root sys 28 Nov 14 15:31 CAlib -> /opt/CA/SharedComponents/lib
drwxrwxr-x 2 bin bin 8192 Dec 31 14:42 bin
drwxr-xr-x 4 root sys 96 Dec 31 14:42 doc
drwxrwxr-x 2 bin bin 96 Aug 22 2006 etc
drwxrwxr-x 2 bin bin 96 Aug 22 2006 games
drwxrwxr-x 2 bin bin 96 Dec 2 10:40 lib
-rw-r----- 1 root sys 256000 Dec 31 14:27 lsof-4.78-hppa-11.11.depot
drwxrwxr-x 3 bin bin 96 Dec 31 14:42 man
# ls -ltr lsof
lsof not found
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 05:23 AM
12-31-2007 05:23 AM
Re: The port on my server
./lsof
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2008 09:30 AM
01-01-2008 09:30 AM
Re: The port on my server
find /usr/local /usr/contrib /opt -name lsof
Then you type the fullpath to the command:
/usr/local/bin/lsof
Or you change the file: /etc/PATH to add /usr/local/bin (or whatever is needed) so that the fullpath can be found.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2008 09:43 PM
01-01-2008 09:43 PM