caophuong2012 / til

What I've learned today
0 stars 0 forks source link

How to identify a process is using files or sockets #17

Open caophuong2012 opened 8 years ago

caophuong2012 commented 8 years ago

Run following commands, we can get the process using this file: ➜ ~ fuser /mnt2 /mnt2: 14136c

You can try to kill these process: ➜ ~ sudo fuser -km /mnt2 [sudo] password for tom: /mnt2: 14136c