Skip to content

Commit

Permalink
Update pulsar-broker/src/main/java/org/apache/pulsar/broker/loadbalan…
Browse files Browse the repository at this point in the history
…ce/impl/LinuxBrokerHostUsageImpl.java

Co-authored-by: Lari Hotari <[email protected]>
  • Loading branch information
daziz and lhotari authored Dec 27, 2024
1 parent f571e89 commit 6eeb566
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private double getTotalCpuUsageForCGroup(double elapsedTimeSeconds) {
* </pre>
*
* Line is split in "words", filtering the first. The sum of all numbers give the amount of cpu cycles used this
* far. Real CPU usage should equal the sum subtracting the idle cycles(that is idle+iowait), this would include
* far. Real CPU usage should equal the sum after subtracting the idle cycles (that is idle+iowait), this would include
* cpu, user, nice, system, irq, softirq, steal, guest and guest_nice.
*/
private double getTotalCpuUsageForEntireHost() {
Expand Down

0 comments on commit 6eeb566

Please sign in to comment.