如何快速准确定位进程流量

天生帅才 / 2023-05-17 / 原文

如何快速准确定位进程流量

iftop -P (确认大流量端口)
lsof -i:$PORT/netstat -lntup (找到进程PID)
cat /proc/$PID/cmdline