-
-
Save labeneator/5049055 to your computer and use it in GitHub Desktop.
Lsof output for a leaky program
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ lsof -p $(pgrep leaky) | |
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME | |
leaky 16095 laban cwd DIR 0,30 4096 10936796 /home/laban/devel/private/learning/c/leak_descriptors | |
leaky 16095 laban rtd DIR 252,1 4096 2 / | |
leaky 16095 laban txt REG 0,30 11267 10919599 /home/laban/devel/private/learning/c/leak_descriptors/leaky | |
leaky 16095 laban mem REG 252,1 1811128 19136595 /lib/x86_64-linux-gnu/libc-2.15.so | |
leaky 16095 laban mem REG 252,1 149280 19136932 /lib/x86_64-linux-gnu/ld-2.15.so | |
leaky 16095 laban 0u CHR 136,19 0t0 22 /dev/pts/19 | |
leaky 16095 laban 1u CHR 136,19 0t0 22 /dev/pts/19 | |
leaky 16095 laban 2u CHR 136,19 0t0 22 /dev/pts/19 | |
leaky 16095 laban 3r REG 252,1 2667 1575354 /etc/passwd | |
leaky 16095 laban 4r REG 252,1 2667 1575354 /etc/passwd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment