juandesant, Even better than my previous toot, you can get the names of the running processes for a given architecture with:
osascript -e 'tell application "System Events" to return name of processes whose architecture is "x86_64”’
You can change
“x86_64”
to”arm64”
for native Apple Silicon processes.And if you prefer to get process IDs, you can change
name of processes
tounix id of processes
.
Add comment