Skip to main content

Module kill

Module kill 

Source
Expand description

proc kill - Kill processes

Examples: proc kill node # Kill the processes named node proc kill node –cmd # … or with node anywhere in their command line proc kill :3000 # Kill what’s on port 3000 proc kill 1234 # Kill specific PID proc kill 1234 5678 # Kill several targets: separate arguments proc kill :3000 :8080 node # Mixed targets (port + port + name) proc kill node –dry-run # Show what would be killed, kill nothing proc kill :3000 –yes # Skip confirmation (a port or PID, not a name)

Commas still work (proc kill :3000,:8080) but are deprecated.

Structs§

KillCommand
Kill process(es)