MacOS – How to programatically kill the CCLibrary process by PID

adobecommand linemacosterminal

I need to know how to write a command or script to kill the CCLibrary and CCXProcess processes. They are part of Adobe's Creative Cloud, and since their previous update they keep respawning and running my CPU at 100%.

Until a fix comes out, I'd like a quick way to kill it, without having to go through Activity Monitor.

When I try

sudo killall CCLibrary

I get "No matching processes were found".

I can use ps -ef to find the PID number (eg 9548)
I can grep it, e.g.

ps -ef | grep CCLibrary.app

which returns two activities, the CCLibrary and the grep itself.

$ ps -ef|grep CCLibrary 
501 9621 1 0 12:18pm ?? 51:51.71 /Applications/Utilities/Adobe Creative Cloud/CCLibrary/CCLibrary.app/Contents/MacOS/../libs/node /Applications/Utilities/Adobe Creative Cloud/CCLibrary/CCLibrary.app/Contents/MacOS/../js/server.js 
501 9818 9407 0 1:10pm ttys001 0:00.00 grep CCLibrary 

Then I can "kill" based on the PID number

But how can I write a script to find that PID as a variable, then kill it?

Best Answer

Rather than continuously killing the processes, there's a way to uninstall Adobe's Creative Cloud application manager, mentioned in this thread.

  1. Download Adobe's Creative Cloud Cleaner from this link: http://download.macromedia.com/SupportTools/Cleaner/mac/AdobeCreativeCloudCleanerTool.dmg

  2. Then select ONLY Creative Cloud

  3. Then "uninstall selected" and reboot

And your fans will finally fall silent. The other apps still work.