glsof - Files used by processes

Translation of the original in Catalan. Read it in: CatalàCastellano

Many of you will already know lsof; basically this tool does something as simple and powerful at the same time as telling us which files are being used at any moment by a process that is running on the system. This is really useful in many situations, for example when we want to unmount a unit from the system and there is no way to do it because some process has a file from that unit open; well, with this tool we could find out which process it is and take the appropriate measures.

Well, I just wanted to mention that today, by chance, I have discovered glsof, which is simply a graphical environment based on GTK to use the lsof command. In desktop environments this makes the work of learning the many parameters that lsof supports much easier for us.

glsof.png

1 comment

Comments from the old blog, as they were written. Comments are closed.

  1. Javier Mart

    lsof es una de esas herramientas que a veces te "puede salvar la vida". :-)

    Más de una vez me he encontrado conque en principio con el comando: ps, creo que un proceso ya no existe y luego miro con lsof, y el puerto y veo que aún sigue en marcha.

    Voy a probar esta herramienta!

    Saludos.