Skip to content

Latest commit

 

History

History
106 lines (77 loc) · 2.14 KB

performance.md

File metadata and controls

106 lines (77 loc) · 2.14 KB

MONITORING & PERFORMANCE

linux observability tools

LINKS

TOOLS

HARDWARE

  • lshw
  • hwinfo

HD

  • dd
Comando escritura:     dd if=/dev/zero of=/dev/sdb bs=XXXX count=YYYY
Comando lectura:         dd if=/dev/sdb of=/dev/null bs=XXXX count=YYYY
  • bonnie++
bonnie++ -d /mnt/test/ -n 0 -u 0 -r 2048 -s 81920 -f -b
  • hdparam
hdparam -tT /dev/hda1
  • iostat

  • dstat

dstat -ta --top-bio
cat file | pv -s 12345 | nc -w 1 somewhere.com 3000

cat linux-2.6.25.5.tar.bz2 | nc -q 0 ubuntu 2222
nc -lp 2222 | pv > /dev/null

tzap -r -c channels.conf "TVE-HD Pruebas(RTVE)"
cat /dev/dvb/adapter0/dvr0 | pv -r > /dev/null
  • FIO and IOPing
./fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=test --filename=test --bs=4k --iodepth=64 --size=4G --readwrite=randrw --rwmixread=75
./ioping -c 10 .

NET

  • iperf
  • ifstat
  • iptraf
  • lmbench:
./lmbench/bin/i686-pc-linux-gnu/bw_mem 256m rd 268.44 3913.68

HTTP

CPU

/usr/bin/time -v 'ffprobe 8seg.mp4'

OTHER