# fuser -u /media
The –u displays the user of the media.
For more information, see fuser (1M) .
# fuser -u -k /media
The –k option kills the processes accessing the media.
![]() | Caution - Killing the processes that are accessing the media should only be used in emergency situations. |
# pgrep process-ID