cpu plugin: consider all cpu usage in linux, and other minor fixes