Linux Port
how to check particular port status used by users in linux.
say an example- If vsftpd / named running by user XX, how do i know port 21 / 53 are using by user XX from top -c, i can view the pid and user name.. but here i want to grep this info from port number. Thanks |
|
Do you mean something like:
Code:
fuser 21/tcp Code:
ps aux | grep 1234 |
correct.
|
Code:
lsof -i 4 | grep 1234 |
All times are GMT -5. The time now is 11:11 PM. |