21 Nov 11

Usage examples for the lsof command. lsof stand for list open files.

by lamnatos Nov 2011 saved 2 times

10 Oct 11

Getting familiar with common uses of lsof

by mlb Oct 2011 saved 2 times

I needed to list all files in a directory, but ls, find, and os.listdir all hung. This is my story. TLDR: Write a C program that calls the syscall getdents directly, with a large buffer size, ignore entries with inode == 0.