fuser linux code example
Example 1: fuser to find pid
root@exampleuser-X55CR:~# fuser -v -n tcp 80
root@exampleuser-X55CR:~# fuser -v -n tcp 80
USER PID ACCESS COMMAND
80/tcp: root 3846 F.... nc
root@exampleuser-X55CR:~#
Example 2: fuser install linux
yum install psmisc
Example 3: how to open port by fuser
root@exampleuser-X55CR:~# fuser -v -n tcp 80
root@exampleuser-X55CR:~# fuser -v -n tcp 80
USER PID ACCESS COMMAND
80/tcp: root 3846 F.... nc
root@exampleuser-X55CR:~#