Ad Widget

Collapse

Per process CPU Usage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ddpana
    Junior Member
    • Jan 2019
    • 2

    #1

    Per process CPU Usage

    Hello,

    I have a question, and I don't find a way to do it, easily.

    I have this item:
    proc.cpu.util[java,ubuntu] - which gets Process CPU utilisation percentage and returns a Float.

    It seems, according to the documentation, that: "The returned value is based on single CPU core utilisation percentage. For example CPU utilisation of a process fully using two cores is 200%. "
    I can find out the number of the processors with this item: system.cpu.num
    The thing is that I would like to setup one single metric, which retrieves the proc.cpu.util/system.cpu.num to get the actual CPU usage percent.

    Could you advise how can I do that ?

    Thanks!
Working...