This shows you the differences between the selected revision and the current version of the page.
technology:unix:useful_commands 09.01.2011 17:32 | technology:unix:useful_commands 03.18.2013 05:53 current | ||
---|---|---|---|
Line 62: | Line 62: | ||
lsof /media/documents/ ; show list of files open | lsof /media/documents/ ; show list of files open | ||
lsof / | grep media ; in case above doesnt work, lsof seems to work better on root and then grep it out for what you need | lsof / | grep media ; in case above doesnt work, lsof seems to work better on root and then grep it out for what you need | ||
+ | lsof +D /var/log/ ; list of files open under the given directory (recursive) (use +d for non-recurse) | ||