HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using lsof
Operating System - HP-UX
1833452
Members
3278
Online
110052
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
06-22-2004 03:49 PM
06-22-2004 03:49 PM
using lsof
I have trouble on runnnig the lsof. It gave me a message, saying it tries to read /hp-ux.
Any idea what I should do?
oberon # ./lsof -h
lsof 2.32 usage: [-dhHlLmnNoPst] [-c c] [-i i] [-k k] [-p l] [-S t]
[... delete ...]
The security mode is disabled -- anyone may list all open files.
oberon # ./lsof
lsof: can't read namelist from /hp-ux
oberon # uname -a
HP-UX oberon B.11.00 E 9000/770 2012345800 8-user license
oberon #
Any idea what I should do?
oberon # ./lsof -h
lsof 2.32 usage: [-dhHlLmnNoPst] [-c c] [-i i] [-k k] [-p l] [-S t]
[... delete ...]
The security mode is disabled -- anyone may list all open files.
oberon # ./lsof
lsof: can't read namelist from /hp-ux
oberon # uname -a
HP-UX oberon B.11.00 E 9000/770 2012345800 8-user license
oberon #
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 04:10 PM
06-22-2004 04:10 PM
Re: using lsof
The best way is to download the source program of lsof from http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/ and then compile it for your own system, make sure you have gcc compile installed which too you can download from http://hpux.connect.org.uk site
Cheers
Rajeev
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 04:19 PM
06-22-2004 04:19 PM
Re: using lsof
You probably have the wrong version loaded for your system. Have a look here:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/
Here's an example on usage:
To which files are open for a given process id (pid)
# lsof -p
To see all the open files associated with a particular command.
# lsof -c midaemon
User name.
# lsof -u
# lsof -u
processes being used via a socket.
# lsof -i tcp:23
# lsof -i udp:123
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.70/
Here's an example on usage:
To which files are open for a given process id (pid)
# lsof -p
To see all the open files associated with a particular command.
# lsof -c midaemon
User name.
# lsof -u
# lsof -u
processes being used via a socket.
# lsof -i tcp:23
# lsof -i udp:123
Anyone for a Mutiny ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP