9/07/2008

Measure the performance of an Linux C application

How do i measure the performance of an Linux C application?

You can measure CPU performance using /proc/cpu. You can measure ethernet performance by using /sbin/ifconfig . You can use df to track data written to a filesystem/mountpoint. Take a before and after snapshot using the tool of choice and determine the metric you wish to measure.

0 comments: