Search notes:

Shell command: fuser

fuser identifies processes that are using files or sockets.

Identify processes that prevent umount

fuser is particularly useful to identify processes that prevent a device from being un-mounted. In such cases, umount will print the error message umount: …: target is busy.
$ sudo umount /mnt/media
umount: /mnt/media: target is busy
$ fuser -amuv /mnt/media

See also

Shell commands

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Linux/sh...', 1738291928, '18.116.63.107', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Linux/shell/commands/fuser(46): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78