![]() If the process is not running at that moment you will not receive any output, You can use the -V verbose parameter along with the above command to get detail of processing. If you want to check for the specific port status you need to provide a port number like the below command. The output we receive has the following information like service name, process ID ( PID), user, type of protocols and the port the number which is LISTEN. To filter which port is listening we will use grep command along pipe line $ sudo lsof -i -P -n | grep LISTEN systemd-r 521 systemd-resolve 13u IPv4 21271 0t0 TCP 127.0.0.53:53 (LISTEN)Ĭupsd 557 root 6u IPv6 25013 0t0 TCP :631 (LISTEN)Ĭupsd 557 root 7u IPv4 25014 0t0 TCP 127.0.0.1:631 (LISTEN)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |