NetworkNightmare.jp

NetworkNightmare.net

gigEnn.net

gigEnn Products

OnlineOrder

IPv6

MRTG

Monitoring Traffic

Wansim Testing

Packet Crafting

Customers

Terms

Discounts

Warranty

Manuals

FirmwareVersions

Upgrade Howto

Support


NN2gigEnn upgrade

NN-Plus End-of-Life

NN-Minus End-of-Life


WanSim.net





Contact

Sales @ NetworkNightMare.net



Linux is a registered trademark of
Linus Torvalds

More Linux Legalese


gigEnn.net/Monitoring


Monitoring Network Traffic

  • Start with something simple like ping ..
    • ping sends random data packets
    • ping receives ack from the other side ( not much data packets )

  • If what you see is NOT what you're expecting ..
    • is your "expectations" correct
    • is the wansim telling you that, "there is in fact a problem" ... ( aka, the whole point of wansiming )

    • check your ethernet cables

    • check your parameters on your monitoring app
      • by default in bridge mode, gigEnn ( dummynet ) is configured with recv pipes
      • how much and what kind of data is the server/client apps sending
      • how much and what kind of data is the server/client apps receiving

    • check your wansim parameter options

    • check your sysctl configuration options ( TCP window buffers ) on your wansim

    • check your OS config options ( TCP window buffers ) on your server and clients
      • how much and what kind of data is your server or client sending
      • how much and what kind of data is your server or client receiving

    • check your OS config options ( TCP window buffers ) on your hubs/routers

Monitoring Network Traffic - Graphical

  • Requires X11

  • kismet ( wifi )
  • MRTG
  • ntop
  • tcpdump
  • tcpview
  • wireshark

Monitoring System/Network Status - Command line

limits # System resource limits

sysctl -a | egrep "nmbcluster|mbuf" # to see free mbuf

netstat.nn vr1 # netstat + awk == shows network bandwidth in Mbyte/sec
netstat -s # lots of info
netstat -s | grep dropped # reason for dropped packets
netstat -i # collisions, errors
netstat -m # to see mbuf
netstat -bdhI vr1 1 # drop packets, collisions, errors
netstat -na

systat -vmstat 1 # BSD summary of system statistics (1 s intervals)
systat -tcp 1 # BSD tcp connections
systat -netstat 1 # BSD active network connections
systat -ifstat 1 # BSD network traffic through active interfaces
systat -iostat 1 # BSD CPU and and disk throughput
systat -ip # bar graph

vmstat 2 # display virtual memory statistics
vmstat -z # lots of info
vmstat -z | egrep "ITEM|mbuf" # shows free mbuff
vmstat -m # memory usage
vmstat -i # check interrupts

procstat -at | grep em\[01\]
mpstat 1 # display processors related statistics
iostat 2 # display I/O statistics (2 s intervals)

bmon # Transmit and Receive ascii graph
cnd
ifstat # like netstat ( tx and rx )
nload devices vr1 # ascii bar graph ( tx and rx )
slurm -i vr1 # ascii bar graph ( tx and rx )
tcpstat -i vr1 # epochtime vs total bytes
trafshow # show by protocols src/dst
pload


Copyright © 2000
Linux-Consulting
All Rights Reserved.
Updated: Thu Mar 29 13:20:39 2012 PDT