kubectl-debug-image is based on https://github.com/nicolaka/netshoot
in addition, below packages are included
- vmstat
- iostat
- pidstat
- mpstat
- htop
- sar
- perf
- dool
mainly used as debug container from https://github.com/aylei/kubectl-debug
dool is a good choice to overlook the whole system
$ dool-all
$ dool-cpu
$ dool-mem
$ dool-io
utilization
# whole system (1 - id)
$ vmstat
# per CPU (1 - %idle)
$ mpstat -P ALL
# per process (%CPU)
$ pidstat
$ dool-cpu
# per thread (%CPU)
$ pidstat -t
saturation
# whole system (r)
$ vmstat
utilization
# whole system (Swap/Mem)
$ free -m
# per process (VIRT/RES)
$ htop
saturation
# whole system (si/so)
$ vmstat
# per process
# dmesg is not acceptable
# $ dmesg | grep killed
$ dool-mem
utilization
# per network interface (RX/TX)
$ ip -s link
saturation
# per network interface (dropped/overrun)
$ ip -s link
utilization
# per block device (%used)
$ iostat -xz
# per process
# iotop is not acceptable
# $ iotop
saturation
# per process (avgqu-sz,await)
$ iostat -xz
utilization
$ swapon
saturation
$ df -h
$ curl -IL google.com
$ drill -V 5 google.com @8.8.8.8 A
$ ip r