LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-21-2006, 03:33 AM   #1
winxandlinx
Member
 
Registered: May 2006
Posts: 141

Rep: Reputation: 15
Network card Send and Recived packets


Hi Everyone

i am using redhat version of linux

Is any script to monitor the Send and Recived packet

of my ethernet card

In windows it can be possible netstat -e

Sure it can be possible by Linux

Helping this issue will be greatly appricated

Thanks & Regards
winxandlinx
 
Old 12-22-2006, 12:38 PM   #2
charleykadet
Member
 
Registered: Sep 2005
Location: Montreal
Distribution: Fedora Core 5, Gentoo, LFS
Posts: 83

Rep: Reputation: 15
In linux netstat exist too.. for stats.. netstat -s
 
Old 12-24-2006, 02:42 AM   #3
winxandlinx
Member
 
Registered: May 2006
Posts: 141

Original Poster
Rep: Reputation: 15
Here where i can find exact tcp ip send

and recived pacs




netstat -s

Ip:
182616 total packets received
0 forwarded
0 incoming packets discarded
111082 incoming packets delivered
103083 requests sent out
46 fragments dropped after timeout
47094 reassemblies required
146 packets reassembled ok
23247 packet reassembles failed
Icmp:
3568 ICMP messages received
3409 input ICMP message failed.
ICMP input histogram:
destination unreachable: 3414
echo requests: 77
echo replies: 77
106 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 29
echo replies: 77
Tcp:
2490 active connections openings
747 passive connection openings
1 failed connection attempts
99 connection resets received
1 connections established
105685 segments received
88599 segments send out
118 segments retransmited
0 bad segments received.
9071 resets sent
Udp:
1807 packets received
22 packets to unknown port received.
0 packet receive errors
1832 packets sent
TcpExt:
34 resets received for embryonic SYN_RECV sockets
ArpFilter: 0
808 TCP sockets finished time wait in fast timer
1 packets rejects in established connections because of timestamp
3291 delayed acks sent
Quick ack mode was activated 413 times
632 packets directly queued to recvmsg prequeue.
1907 packets directly received from backlog
158806 packets directly received from prequeue
47970 packets header predicted
136 packets header predicted and directly queued to user
TCPPureAcks: 7409
TCPHPAcks: 10749
TCPRenoRecovery: 0
TCPSackRecovery: 1
TCPSACKReneging: 0
TCPFACKReorder: 0
TCPSACKReorder: 0
TCPRenoReorder: 0
TCPTSReorder: 0
TCPFullUndo: 0
TCPPartialUndo: 0
TCPDSACKUndo: 0
TCPLossUndo: 12
TCPLoss: 1
TCPLostRetransmit: 0
TCPRenoFailures: 0
TCPSackFailures: 7
TCPLossFailures: 4
TCPFastRetrans: 1
TCPForwardRetrans: 0
TCPSlowStartRetrans: 8
TCPTimeouts: 65
TCPRenoRecoveryFail: 0
TCPSackRecoveryFail: 0
TCPSchedulerFailed: 0
TCPRcvCollapsed: 0
TCPDSACKOldSent: 257
TCPDSACKOfoSent: 0
TCPDSACKRecv: 9
TCPDSACKOfoRecv: 0
TCPAbortOnSyn: 0
TCPAbortOnData: 109
TCPAbortOnClose: 71
TCPAbortOnMemory: 0
TCPAbortOnTimeout: 3
TCPAbortOnLinger: 0
TCPAbortFailed: 0
TCPMemoryPressures: 0

Last edited by winxandlinx; 12-24-2006 at 02:45 AM.
 
Old 12-24-2006, 04:37 AM   #4
jacobselvin
Member
 
Registered: May 2005
Location: Australia
Distribution: SUSE 10.1
Posts: 62

Rep: Reputation: 15
Try using the Ethereal utility. I'm not sure whether it's available in the command prompt mode. But a GUI is available using which you can capture the the packets and print the details.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tigon3 network card fast on receive, slow on send bagpussnz Linux - Networking 2 06-15-2006 02:16 PM
How do I send WOL packets ? Bobymc Linux - Software 2 06-11-2006 09:01 PM
Send Packets Out even if Link Down? htlin Linux - Networking 1 09-22-2005 08:48 PM
Send packets manually Ephracis Programming 4 04-02-2005 04:56 AM
send packets at network Jamesminh Linux - Networking 0 10-01-2004 02:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration