You can circumvent the need to enter a password to use
fs_usage by means of the
Warning: I am not a security expert in any way, and modification of the
sudoers file should only be performed with extreme caution. I don't think this particular solution would be a security issue, but again, I’m not an expert.
- Open Terminal, type
sudo visudo, and enter your password.
- Scroll down using the arrow keys to the “User privilege specification” section.
- Look for a line that starts with your username, or failing that, one that starts with
- Position the cursor just below that line and press A to enter insert mode.
Add the following text on its own line:
yourusername ALL=(root) NOPASSWD: /usr/bin/fs_usage
Press esc, then type
:wq enter to save your changes and quit.
You will need to restart GeekTool. I don’t think you need to reboot for the changes to take effect, but if it doesn’t work, try that.