The cpu function requires an argument (i.e. cpu0, cpu1 etc.). This was fine on my old dual-core processor laptop, as I could just have two readouts. However, since my new laptop has an i7 processor, it's a bit silly to have 8 different readouts. Is there a way to average these into a single readout?
My first thought was to create a bash script to do this, but I can't find any bash commands which return cpu usage.
Bookmarks