- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lsof question
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
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
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-08-2011 07:32 PM
10-08-2011 07:32 PM
lsof question
Hi All,
I wanted to know if there is an argument in lsof which can tell me the time when socket was left in CLOSE_WAIT state
(start time of that state).
Is there any other way I can find that?
Thanks,
Allan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2011 01:08 PM
10-13-2011 01:08 PM
Re: lsof question
Thanks,
Allan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2011 01:21 PM
10-13-2011 01:21 PM
Re: lsof question
I am not sure, but here is the man page for lsof that you can reference for options and what they do:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.84/man.html
-Bob
Was this helpful? Like this post by giving me a thumbs up below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2011 01:34 PM
10-13-2011 01:34 PM
Re: lsof question
I'm not sure if any tool would be able to show this unless the TCP data structures themselves keep track of this information somewhere that the kernel could extract it from via a tool like ndd or lsof. I used the latest version of xportshow (WTEC developed tool for deep analysis of TCP connection problems) and I don't see anything obvious in the data structures it dumps that looks like it tracks when a connection changed state. There are some timers tracked in the per-connection structures (i.e. keepalive, etc.) but I don't see anything resembling a state timer showing when a connection transitioned from one state to another.
If you really need this information, meaning not just a casual interest, you could try contacting HP support and seeing if the RCEs or WTEC teams have any other tools for determining this. They might have some tool I'm not familiar with that can extract this information from a live system.
Dave
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]