Skip to content

Instantly share code, notes, and snippets.

@hiend
Last active August 29, 2015 14:17
Show Gist options
  • Save hiend/c6bed7c97fecb21005f5 to your computer and use it in GitHub Desktop.
Save hiend/c6bed7c97fecb21005f5 to your computer and use it in GitHub Desktop.
Мониторинг всякого
Сетевая активность процесса php:
watch 'netstat -etpn|grep php'
sudo pktstat -i eth0 -nt
График сетевой активности на интерфейсе:
nload eth0
speedometer -tx eth0 -rx eth0
Дамп сетевого интерфейса:
tcpdump -i eth0
Использование физической памяти и свопа:
watch free
Использование процессора и статистика ввода/вывода для устройств:
watch iostat
Активность каждого имеющегося в наличие процессора:
watch mpstat -P ALL
Исползование памяти процессом 47394 (см. нижнюю строку):
pmap -d 47394
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment