Linux系统管理常用命令

  • top: check what CPU and Memory running processes are utilising

  • ps: see what processes are running

  • strace: monitor interactions between processes

  • lsof: list of open files

  • netstat: monitoring network traffic

  • ifconfig: configure or review your network interfaces

  • iftop: monitors network traffic and displays table of bandwidth usage

  • iptraf: monitoring network traffic (more visual than netstat, but not as detailed)

  • tcpdump: network packet sniffer

  • wireshark/tshark: network packet sniffer and analyser (create pcaps with tcpdump and analyse with tshark)

  • telnet: utility for communicating with another host

top

ps

strace

lsof

netstat

ifconfig

iftop

iptraf

tcpdump

woreshark

telnet

Last updated

Was this helpful?