Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1007640 // systemLoad - double value from OperatingSystemMXBean

JavaX fragment (include)

static double systemLoad() {
  double load = osMXBean().getSystemLoadAverage();
  if (load < 0) ret systemCPULoad(); // fallback for Windows
  ret load;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, odhhsrjjbcgr, omdjrrnzbjjv, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1007640
Snippet name: systemLoad - double value from OperatingSystemMXBean
Eternal ID of this version: #1007640/4
Text MD5: 7ac37990603b305abafe15b9f726ca1f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-01 20:34:41
Source code size: 158 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 461 / 523
Version history: 3 change(s)
Referenced in: [show references]