rkill_lib helps you kill any processes by PID/name/port number.
rkill_lib
[dependencies] rkill_lib = "0.1.3"
// kill a process by name/PID rkill_lib::kill_process_by_pid("nginx".to_string());