- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lsof idiots guide
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
01-12-2004 05:39 PM
01-12-2004 05:39 PM
As the subject title suggests I'm looking for a genuine idiots guide (step for step) on where and how to get lsof up and running on a bunch of hosts 11.00 32 and 64 bits, 10.20 32 bit, and 11.11 32 bit.
I got binaries from various sources, but don't know whether to shar then swinstall or just gunzip and swinstall etc etc.
Confused
Graham
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 05:41 PM
01-12-2004 05:41 PM
Re: lsof idiots guide
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-12-2004 05:52 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 06:44 PM
01-13-2004 06:44 PM
Re: lsof idiots guide
Where do I find this depot containing a working version for 11i 64bit?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2004 08:05 PM
01-13-2004 08:05 PM
Re: lsof idiots guide
try this:
http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.69/
i use the version meant for HP-UX 11.00 and it works on my server running HP-UX 11i 64-bit.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 12:37 AM
01-15-2004 12:37 AM
Re: lsof idiots guide
http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/binaries/hpux/
As stated, the 32bit vesrion works on 64 BIT.
11.11 README
All lsof support for HP-UX 11.11 is PSTAT-based. (See the 00FAQ
file in the lsof distribution for an explanation.) The lsof binary
mode is 32 bits, and it uses -D_PSTAT64 to acquire kernel information
via pstat(2) in 64 bit mode.
There is also a man page available at the Purdue site.
here: http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/
Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 12:53 AM
01-15-2004 12:53 AM
Re: lsof idiots guide
While it may be true that the 32 bit version will work on 64 bit systems, I think that works only for 11i ("All lsof support for HP-UX 11.11 is PSTAT-based").
Having tried it on 11.0, I think I can safely say that the 32 bit version will not work on a 64 bit 11.0 system.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2004 01:02 AM
01-15-2004 01:02 AM
Re: lsof idiots guide
I had trouble using the binary from the porting center depot, but I followed the link to the home page and got a 64-bit version that runs fine.
See my note in
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=340348
When you replace the binary, swlist will show the fileset as corrupt. You can fix that with swmodify.
Regards,
Tom