Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-18834

Process memory and CPU stats improvements

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Accepted
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JLib
    • Labels:
      None
    • Compatibility:
      Minor

      Description

      There are multiple calls to walk a file for the periodic log stats of a process's memory and cpu -

      __int64 total = getMapInfo("heap");
      __int64 sbrkmem = getMapInfo("sbrk");
       

      These could be made into a single call.
      And with

      __int64 virttot = getVMInfo("VmData");
      

      We could also add VmSwap to know if process ever swapped

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mckellyln Mark Kelly
                Reporter:
                mckellyln Mark Kelly
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: