I'm looking to find a C/C++ library that gives me system stats like CPU usage and memory usage.
Is there one that works cross platform?
I just don't want to have to re-invent the wheel (badly).
You could use SIGAR API (C++)
This is an open source library that does basically what your looking for, but unfortunally there is no platform independent function for this.
If you want one for cross-platforms, ACE has a good one that works for a lot of languages! Note that ACE abstracts the OS in general, and might be heavyweight for what you want. ACE
/proc/self/stat
is probably as close as you will get to "cross-platform".