Archive

Archive for October, 2007

Quick and dirty VoIP test using ping

October 15, 2007 1 comment

ping -i 0.02 -s 270 -c 500 <ip address>

You need superuser privileges to perform a ping with a .02 second interval. The -s 270 is the size of a ulaw SIP packet. The -c denotes 500 packets. The resulting ping flood will simulate a SIP packet flow. You can quickly see any lost packets and the jitter. QOS settings can cause this type of traffic to not act exactly like SIP traffic.

Advertisements
Categories: Asterisk, linux, networking

Kill list of processes from command line

October 5, 2007 Leave a comment

lancemiller.org

This is a very well written description of a command to kill all processes that match a name in the process list.

kill `ps aux | grep Mozilla | grep -v grep | awk '{print $2}'`
Categories: linux