Skip to content

Instantly share code, notes, and snippets.

View mazurkin's full-sized avatar

Nick Mazurkin mazurkin

View GitHub Profile
@mazurkin
mazurkin / linux_monitors.md
Last active November 5, 2020 15:47
Linux monitoring tools

System

  • atop
  • vmstat
  • dstat - Combines vmstat, iostat, ifstat, netstat information and more
  • speedometer - ASCII graphs

Network

  • iftop - Amazing network bandwidth utility to analyse what is really happening on your eth
@mazurkin
mazurkin / speedtest.sh
Created February 6, 2018 13:32 — forked from mariusrugan/speedtest.sh
CURL download benchmark
#!/ffp/bin/bash
SOURCES=(
"http://ns0.multikabel.net/100mb.nul"
"http://servermars.nl/100mb.bin"
"http://speedtest.tweak.nl/100mb.bin"
"http://cachefly.cachefly.net/100mb.test"
"http://mirror.leaseweb.com/speedtest/100mb.bin"
"http://mirror.de.leaseweb.net/speedtest/100mb.bin"
"http://178.238.129.83/bigtest.tgz"
@mazurkin
mazurkin / latency.txt
Last active August 29, 2015 14:22 — forked from jboner/latency.txt
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
Read 4K randomly from SSD* 150,000 ns 0.15 ms