List of open files & ports used by process:
lsof -n -P -p process_id
lsof -i | grep process_name
netstat -a
Find process: mongodb & the port it has open:
- netstat -tapn | grep mongo
No comments:
Post a Comment