Go to main content

Managing Devices in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

How to Determine If Removable Media Is Still in Use

  1. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  2. Identify the processes that are accessing the media.
    # fuser -u /media

    The –u displays the user of the media.

    For more information, see fuser(1M).

  3. (Optional) Kill the process accessing the media.
    # fuser -u -k /media

    The –k option kills the processes accessing the media.


    Caution

    Caution  -  Killing the processes that are accessing the media should only be used in emergency situations.


  4. Verify that the process is gone.
    # pgrep process-ID