Skip to content

Instantly share code, notes, and snippets.

@lcarsos
Last active October 24, 2024 12:01
Show Gist options
  • Save lcarsos/88affbc5de93dca64b3edfab2c104c2f to your computer and use it in GitHub Desktop.
Save lcarsos/88affbc5de93dca64b3edfab2c104c2f to your computer and use it in GitHub Desktop.
Repeatedly kill sentinelone so you can actually use the processor and ram on your mac
#!/usr/bin/env bash
# Usage: sudo ./restore_functionality.sh
#ps aux | grep sentinel | awk -F " +" '{print $2}' | xargs kill
while true; do
launchctl kill SIGKILL system/com.crowdstrike.falcond
launchctl kill SIGKILL system/com.crowdstrike.userdaemon
launchctl kill SIGKILL system/com.sentinelone.sentineld
launchctl kill SIGKILL system/com.sentinelone.sentineld-helper
launchctl kill SIGKILL system/com.sentinelone.sentineld-guard
launchctl kill SIGKILL system/com.sentinelone.sentineld-updater
launchctl kill SIGKILL gui/502/com.sentinelone.agent
sleep 1
done
@wickkidd
Copy link

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment