HomeToolsAbout a20k

Local Process

Show Processes

Show all localhost processes

lsof -i @localhost

Show active ports of process_name matching

ps x | grep process_name

Show active process_num on a port_num

lsof -i :port_num

Foreground

foreground = bring background cli run to show up in cli

fg

Kill Process

Kill the specified process_number

pkill process_number

Force kill the process_number

kill -9 process_number
© VincentVanKoh