HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need Mechanism to find out TCP buffer occupancy le...
Operating System - HP-UX
1834080
Members
2546
Online
110063
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-27-2007 04:05 AM
06-27-2007 04:05 AM
Need Mechanism to find out TCP buffer occupancy level
Hi,
The description and the context of the mechanism that i require is as follows:
There is an application communicating with a protocol stack binary. There is a TCP socket communication between the two.
Now, the stack is pumping up data to the Application such that the receiving buffer of the Application and the sending buffer of the stack is getting occupied. Basically, the Application is processing messages at a rate slower than that at which the stack is pumping the data to it.
Now the mechanism that i require is that i need a way in which i can get the amount of buffer that has been filled up by the messages in the corresponding TCP buffers.
My aim is to raise an alarm in case the TCP buffer has been filled up to a particular percentage level.
But to do that i need a way of knowing how much of the buffer has been occupied. So how do i get that idea?
Need this urgently. Thanks a lot.
Did some searching on this and found that the ioctl option SIOCINQ and SIOCOUTQ in linux does a similar task. Refer http://www.die.net/doc/linux/man/man7/tcp.7.html
My operating system is HP-UX. Is there a similar option in HP-UX?
Cheers
Saptarshi,
The description and the context of the mechanism that i require is as follows:
There is an application communicating with a protocol stack binary. There is a TCP socket communication between the two.
Now, the stack is pumping up data to the Application such that the receiving buffer of the Application and the sending buffer of the stack is getting occupied. Basically, the Application is processing messages at a rate slower than that at which the stack is pumping the data to it.
Now the mechanism that i require is that i need a way in which i can get the amount of buffer that has been filled up by the messages in the corresponding TCP buffers.
My aim is to raise an alarm in case the TCP buffer has been filled up to a particular percentage level.
But to do that i need a way of knowing how much of the buffer has been occupied. So how do i get that idea?
Need this urgently. Thanks a lot.
Did some searching on this and found that the ioctl option SIOCINQ and SIOCOUTQ in linux does a similar task. Refer http://www.die.net/doc/linux/man/man7/tcp.7.html
My operating system is HP-UX. Is there a similar option in HP-UX?
Cheers
Saptarshi,
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 07:30 AM
06-27-2007 07:30 AM
Re: Need Mechanism to find out TCP buffer occupancy level
Look at the FIOSNBIO request for the ioctl system call. It might be the SIOCINQ and SIOCOUTQ request equivalents under HP-UX.
# man 5 ioctl
# man 5 ioctl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 10:47 PM
06-27-2007 10:47 PM
Re: Need Mechanism to find out TCP buffer occupancy level
Hi,
Thanks for the reply.
This would not exactly serve my purpose as i am at the moment looking into the TCP buffer occupancy rather than non-blocking read or write.
Thanks anyways.
regards
Saptarshi
Thanks for the reply.
This would not exactly serve my purpose as i am at the moment looking into the TCP buffer occupancy rather than non-blocking read or write.
Thanks anyways.
regards
Saptarshi
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