You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Scott Chen (JIRA)" <ji...@apache.org> on 2009/11/12 03:54:39 UTC

[jira] Updated: (MAPREDUCE-1201) Make ProcfsBasedProcessTree collect CPU usage information

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Chen updated MAPREDUCE-1201:
----------------------------------

    Attachment: MAPREDUCE-1201.patch

Add getCumulativeCpuTime in ProcfsBasedProcessTree.
cumulativeCpuTime = 
total of (utime + stime) for all current subprocesses + 
total of (final utime + final stime) for all finished subprocess.

This is done by parsing utime and stime in /proc/<pid>/stat.


> Make ProcfsBasedProcessTree collect CPU usage information
> ---------------------------------------------------------
>
>                 Key: MAPREDUCE-1201
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1201
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>         Attachments: MAPREDUCE-1201.patch
>
>
> This information can be reported back to jobtracker to help profiling jobs and scheduling tasks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.