Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    How to record a process's CPU usage and dump it out??

    Hi all:
    I want to monitor the CPU usage of a process which running for one hour, I know top can show all the stuff on screen but I want to record the usage in a file so that it can be used later, is there any tools that can achieves this??

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    It is not process accounting, but system accounting can be done relatively easy.
    Monitoring solution such as munin, xymon, nagios, incinga can be used for that.

    They use RoundRobinDatabases (rrd) for a multitude of metrics, cpu load is among them.
    e.g. xymon
    green : Xymon - trends status for ( @ Fri Oct 28 21:32:56 2011
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts