Skip to content

Instantly share code, notes, and snippets.

@genevera
Last active May 23, 2023 10:41
Show Gist options
  • Save genevera/48031ed03ccaaacb3b4a2f77f7228a28 to your computer and use it in GitHub Desktop.
Save genevera/48031ed03ccaaacb3b4a2f77f7228a28 to your computer and use it in GitHub Desktop.
spoofing strace for htop on mac os x
#!/usr/local/bin/genv /usr/local/bin/bash
args_modded="-a $(echo ${*}| sed 's/-s 512//')";
exec /usr/bin/sudo -E /usr/bin/dtruss ${args_modded}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment