- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Sent and received bytes
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
11-22-2005 05:29 PM
11-22-2005 05:29 PM
is there a standard utility that shows number of bytes sent and received on a LAN.
I think netstat shows packets of variable sizes.
Regards
Lars Ebeling
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 05:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 05:45 PM
11-22-2005 05:45 PM
Re: Sent and received bytes
First identity which lan card you want to monitor
If it is lan3
go to lanadmin--- select lan option
change the ppa to the ppa of lan3 (By default it will show statistics for ppa 0)
then select display. It will show inforamtion which you require.
For EG:
PPA Number = 3
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 12264
Inbound Octets = 3682939576
Inbound Unicast Packets = 2020740849
Inbound Non-Unicast Packets = 5897825
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 269
Outbound Octets = 2440647445
Outbound Unicast Packets = 547209813
Outbound Non-Unicast Packets = 944109
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 0
Specific = 655367
Index = 7
Alignment Errors = 0
FCS Errors = 0
Single Collision Frames = 0
Multiple Collision Frames = 0
Deferred Transmissions = 0
Late Collisions = 0
Excessive Collisions = 0
Internal MAC Transmit Errors = 0
Carrier Sense Errors = 0
Frames Too Long = 0
Internal MAC Receive Errors = 0
Regards
CS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 05:45 PM
11-22-2005 05:45 PM
Re: Sent and received bytes
Thanks
Lars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 05:48 PM
11-22-2005 05:48 PM
Re: Sent and received bytes
You can use lanadmin and follow thr' the menu as:
# lanadmin
lan
ppa
display
This will display all statistics including incoming/outgoing packets.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 05:59 PM
11-22-2005 05:59 PM
Re: Sent and received bytes
I tested this:
# lanadmin <
> ppa 0
> display
> quit
> EOF
And that worked.
Regards
Lars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:33 PM
11-22-2005 06:33 PM
Re: Sent and received bytes
A command to be used in a script.
Regards
Lars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:44 PM
11-22-2005 06:44 PM
Re: Sent and received bytes
DO you have glance installed. If so you can just go through it (see man glance) and you will get a exact command to monitor network traffic.
If glance is not availble, install it (free for 60 days) or use perfview.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 06:56 PM
11-22-2005 06:56 PM
Re: Sent and received bytes
This means that I need totally free software.
Regards
Lars
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 07:44 PM
11-22-2005 07:44 PM
Re: Sent and received bytes
But if purchasing is not possible then either go with the evaluation copy or free software.
GlancePlus is available on the CD that ship with HPUX CD Set.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2005 07:56 PM
11-22-2005 07:56 PM
Re: Sent and received bytes
#!/bin/ksh
# status.ksh
while [[ 1 ]]
do
netstat -ivn
sleep 5
clear
done
# chmod u+x status.ksh
# ./status.ksh &
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2005 04:51 PM
11-23-2005 04:51 PM
Re: Sent and received bytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2005 04:54 AM
11-28-2005 04:54 AM
Re: Sent and received bytes
lanadmin -g mibstats
I think that is available even as far back as 11.0.