HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- netstat -s problem
Operating System - HP-UX
1833431
Members
3381
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
Go to solution
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
02-04-2007 06:45 PM
02-04-2007 06:45 PM
I've some question about the "packets sent" and "data packets" of netstat -s. Kindly see the below outputs.
Q1: Why "data packets" > "packets sent" ?
Q2: Is it possible reset the value of "packets sent" ?
Q3: What's the meaning of "packets sent" and "data packets" of column of netstat -s ?
=========================================
$netstat -s
tcp:
21296866 packets sent
1599873175 data packets (2938494408 bytes)
...
...
...
=========================================
Thanks,
Q1: Why "data packets" > "packets sent" ?
Q2: Is it possible reset the value of "packets sent" ?
Q3: What's the meaning of "packets sent" and "data packets" of column of netstat -s ?
=========================================
$netstat -s
tcp:
21296866 packets sent
1599873175 data packets (2938494408 bytes)
...
...
...
=========================================
Thanks,
Hero
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2007 09:16 PM
02-04-2007 09:16 PM
Solution
Shalom,
That may depend on the OS. Linux netstat has clear statistics reset functions.
That does not appear so obvious in HP-UX 11.00
Options
-a show state of all sockets, including passive sockets
-f show statistics only for specified address family
-g show multicast information for network interfaces
-i show statistics for network interfaces
-I show statistics only for specified network interface
-M show multicast routing tables
-Ms show multicast routing statistics
-n display network addresses numerically
-p show statistics only for specified protocol
-r show routing tables
-rv show additional information for the routing table
-s show statistics for all protocols
SEP
That may depend on the OS. Linux netstat has clear statistics reset functions.
That does not appear so obvious in HP-UX 11.00
Options
-a show state of all sockets, including passive sockets
-f show statistics only for specified address family
-g show multicast information for network interfaces
-i show statistics for network interfaces
-I show statistics only for specified network interface
-M show multicast routing tables
-Ms show multicast routing statistics
-n display network addresses numerically
-p show statistics only for specified protocol
-r show routing tables
-rv show additional information for the routing table
-s show statistics for all protocols
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2007 09:27 PM
02-04-2007 09:27 PM
Re: netstat -s problem
Hi,
answer to one of your questions:
Q2: No reset, unless you remove card from system and then re-eanble. A reboot is the quickest way.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949081
answer to one of your questions:
Q2: No reset, unless you remove card from system and then re-eanble. A reboot is the quickest way.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=949081
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2007 05:15 AM
02-06-2007 05:15 AM
Re: netstat -s problem
ftp://ftp.cup.hp.com/dist/networking/briefs/annotated_netstat.txt
the counters up through (?) 11iv2 are 32-bit. So, they can "wrap" - and some (particularly the byte counters, but even the packet counters) can wrap sooner than others.
There is no particular need to reset the counters, you can always take a snapshot of netstat -s statistics at either end of an interval of interest and run them through beforeafter:
ftp://ftp.cup.hp.com/dist/networking/tools
the counters up through (?) 11iv2 are 32-bit. So, they can "wrap" - and some (particularly the byte counters, but even the packet counters) can wrap sooner than others.
There is no particular need to reset the counters, you can always take a snapshot of netstat -s statistics at either end of an interval of interest and run them through beforeafter:
ftp://ftp.cup.hp.com/dist/networking/tools
there is no rest for the wicked yet the virtuous have no pillows
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