Skip to content

Instantly share code, notes, and snippets.

@e-minguez
Created October 17, 2025 07:54
Show Gist options
  • Save e-minguez/a3d3a0a5749b34834143611528c45b3b to your computer and use it in GitHub Desktop.
Save e-minguez/a3d3a0a5749b34834143611528c45b3b to your computer and use it in GitHub Desktop.
ioreg -l -d 1 -w 0 | grep "kCGSSessionSecureInputPID" | awk -F'"kCGSSessionSecureInputPID"=' '{split($2,a,","); print a[1]}' | xargs -I {} ps -p {} -o comm=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment