Is there a program to record CPU load and later converting it into an image? [duplicate]

Solution 1:

As mentioned in to comments you can use sar which is part of sysstat package. To create graph from this data you can use ksar, RRDtool, sargraph and probably a lot of other software