Announcement

Collapse
No announcement yet.

Mirth API - System Stats

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mirth API - System Stats

    Hello,

    can someone know, what is the meaning of the result generated by the Mirth API regarding the stats?

    The result is:
    [
    {
    "timestamp": {
    "time": 1585836067064,
    "timezone": "Europe/London"
    },
    "cpuUsagePct": 0.0013972455121026857,
    "allocatedMemoryBytes": 235929600,
    "freeMemoryBytes": 46603048,
    "maxMemoryBytes": 3817865216,
    "diskFreeBytes": 327221796864,
    "diskTotalBytes": 450835247104
    }
    ]

    My question is related to the MemoryBytes. It is calculating the memory of the Server itself, Java, Mirth??
    And what is the meaning of each of the memory properties?

    Thank you
    Last edited by AlexNeiva; 04-02-2020, 08:05 AM. Reason: misspelling
    Best Regards,
    Alex Neiva

  • #2
    Here is where it is created

    https://github.com/nextgenhealthcare...rvlet.java#L71

    Comment


    • #3
      Thank @Agermano for your repply.

      I was able to see the code, but not the explanation of it.
      If the memory stats, are RAM memory used by Server, Java or Mirth process!

      Thank you
      Best Regards,
      Alex Neiva

      Comment


      • #4
        Well, as you can see they are populated by calls to java.lang.Runtime...

        https://docs.oracle.com/javase/8/doc...l#freeMemory--

        Comment

        Working...
        X