- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- syntax of netstat to check collisions
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
Discussions
Forums
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
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-01-2000 06:02 AM
тАО11-01-2000 06:02 AM
# netstat -i
but I am not getting the collisions
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 06:15 AM
тАО11-01-2000 06:15 AM
Re: syntax of netstat to check collisions
'netstat' has changed in 11.00 (not to the better :-( - go for James' solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 06:22 AM
тАО11-01-2000 06:22 AM
Re: syntax of netstat to check collisions
In addition to my new L1000 I still have my g40 running 10.20...your'e right. It is too bad that the format was changed. Our vendor is telling me that I am switching to the alternate character set due to network errors, and in the 10.20 version the netstat -i gave a nice output which was easy to copy and paste into a word processor and build a history.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 06:31 AM
тАО11-01-2000 06:31 AM
Re: syntax of netstat to check collisions
You might want to compare the man pages for 'netstat' on 10.20 vs 11.0. See also this thread on the demise of the '-m' option:
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xeceef841489fd4118fef0090279cd0f9,00.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2000 06:48 AM
тАО11-01-2000 06:48 AM
Re: syntax of netstat to check collisions
I wonder why in the world HP would remove functionality from such a basic command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2000 04:12 PM
тАО11-02-2000 04:12 PM
Re: syntax of netstat to check collisions
#!/usr/bin/ksh
#usage: neterrors.sh
(( col = 0 ))
for i in `echo lan ppa $1 display quit | /usr/sbin/lanadmin -t 2>/dev/null | gre
p -i collision | cut -d= -f2`
do
(( col = col + i ))
done
(( err = 0 ))
for j in `echo lan ppa $1 display quit | /usr/sbin/lanadmin -t 2>/dev/null | gre
p -i error | cut -d= -f2`
do
(( err = err + j ))
done
echo Collisions $col Errors $err