- lsof -i:8000
- kill -9 30621
demonfox@ubuntu:~/linux-cpp/TinyWebServer/unit_test$ lsof -i:8000COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEhttp 30621 demonfox 3u IPv4 2134723 0t0 TCP localhost:8000 (LISTEN)http 30621 demonfox 5u IPv4 2137242 0t0 TCP localhost:8000->localhost:42846 (CLOSE_WAIT)http 30621 demonfox 6u IPv4 2137251 0t0 TCP localhost:8000->localhost:42848 (CLOSE_WAIT)http 30621 demonfox 7u IPv4 2137260 0t0 TCP localhost:8000->localhost:42850 (CLOSE_WAIT)http 30621 demonfox 8u IPv4 2137284 0t0 TCP localhost:8000->localhost:42852 (CLOSE_WAIT)http 30621 demonfox 9u IPv4 2137334 0t0 TCP localhost:8000->localhost:42854 (CLOSE_WAIT)http 30621 demonfox 10u IPv4 2135621 0t0 TCP localhost:8000->localhost:42856 (CLOSE_WAIT)http 30621 demonfox 11u IPv4 2135623 0t0 TCP localhost:8000->localhost:42858 (CLOSE_WAIT)http 30621 demonfox 12u IPv4 2135625 0t0 TCP localhost:8000->localhost:42860 (CLOSE_WAIT)demonfox@ubuntu:~/linux-cpp/TinyWebServer/unit_test$ kill -9 30621demonfox@ubuntu:~/linux-cpp/TinyWebServer/unit_test$ lsof -i:8000[1]+ Killed ./http
