Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Good to see people sharing extra commands!

I had written some follow on commands at the end of the article, but trimmed them to make it shorter. They were:

  # CPU
  perf record -F 99 -a -g -- sleep 10; perf report -n --stdio   # and flamegraphs
  execsnoop       # from perf-tools
  turbostat

  # Memory
  cat /proc/meminfo
  slabtop

  # Disk
  df -h
  iosnoop         # from perf-tools
  pidstat -d
  iotop

  # Networking
  netstat -s
  tcpdump
  tcpretrans      # from perf-tools
Where perf-tools is https://github.com/brendangregg/perf-tools.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: