Tag Archives: optimisation

Easy analysis of system resources using gnuplot

Recently I've hit stability problem related to missing resources (leaking C++ programs). In order to track values of memory usage in a system dedicated probes have been written that collected many measurements every minute (with time included to correlate with … Continue reading

Posted in en | Tagged , | Comments Off on Easy analysis of system resources using gnuplot

Find most CPU-hungry threads under Linux

It's pretty easy to find CPU usage per process (top, ps), but If you want to find top CPU users per thread there's a method: $ awk '{printf "TID: %6u  %8u %8u %8u \t %s \n", $1, $14, $15, $14+$15, … Continue reading

Posted in en | Tagged , , | Comments Off on Find most CPU-hungry threads under Linux