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

10
LINES

< > BotCompany Repo | #1018568 // Java CPU % Ultra-Shortened [dev.]

JavaX source code (Dynamic Module) - run with: Stefan's OS

!7

JavaCPUPercentage of DynBigNumber:
  setDescription("JAVA CPU %");
  setToolTip("Percentage is per core");
  transient field cpuMonitor = runDependent(#1001405);
  doEvery(2.0, r actualUpdate);
  
  void actualUpdate:
    setValue(iceil((double) call(cpuMonitor, 'getInProcessCPU)) + " %");

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018568
Snippet name: Java CPU % Ultra-Shortened [dev.]
Eternal ID of this version: #1018568/5
Text MD5: 5c917fe401924cf4c9b3004101a06db5
Author: stefan
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-09 10:38:29
Source code size: 305 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 333 / 379
Version history: 4 change(s)
Referenced in: [show references]