The adverb is idly; however, "... while the CPU sits idle" is a phrase I've seen very often. The idiom "to sit idly by" means that you do nothing to help.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.