Process

Resource Occupation

ls /proc/2297/fd -l where 2297 is the process id

lsof - list which process opens which file, a long list

lsof /home/fin - list the process opening a specific file

lsof -i4TCP:8080 - list the process opening IPv4 TCP 8080 port; complete syntax = [46][protocol][@hostname|hostaddr][:service|port]

sudo netstat -lptu

sudo netstat -tulpn