Created
September 6, 2014 00:50
-
-
Save 0x90/90964e04ace2c11b71cf to your computer and use it in GitHub Desktop.
OS X monitor
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 -Pnl +M -i4 | |
lsof -Pl +M -i4 | |
lsof -i | awk '{ print $1,$2,$9; }' | sort -u | |
nettop | |
sudo fs_usage -f filesys | |
sudo fs_usage -f network | |
sudo fs_usage -w | |
sudo fswatch -v -r -L -t -x /tmp | |
fswatch -m fsevents_monitor /tmp -v -t -x | |
# fswatch-run fswatch-run-bash fswatch-run-zsh | |
sudo fswatch-run path [paths] program_to_call | |
fswatch -m kqueue_monitor path | |
sudo opensnoop | |
sudo fs_usage [process name] | |
fs_usage -w -f filesys Mail | |
sudo find / -name "*.jar" -exec stat "{}" \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment