Created
October 1, 2015 01:01
-
-
Save forestbaker/2d6b5557e3bc69642eb3 to your computer and use it in GitHub Desktop.
admin flavorites - commands about commands processes services
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
# diplay alphabetically sorted list of processes with open files | |
# 'file' means: regular file, directory, block special, character special, executing text reference, library, stream or network file (Internet socket, NFS file or UNIX domain socket) | |
lsof | awk '{print $1}' | sort -u | |
# display all files that apache2 has open | |
# | |
lsof -c apache2 | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment