Libraryless. Click here for Pure Java version (932L/7K/22K).
1 | !7 |
2 | |
3 | p-typewriter { |
4 | repeat { |
5 | float cpu = linux_cpuLoad(); |
6 | print(formatDouble(cpu, 1) + "% CPU"); |
7 | setConsoleTitle(iround(cpu) + "% CPU use"); |
8 | } |
9 | } |
Began life as a copy of #1006501
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006505 |
Snippet name: | Show CPU load under Linux [WORKS] |
Eternal ID of this version: | #1006505/1 |
Text MD5: | 0681fbe6cc26ced913d84922be73502c |
Transpilation MD5: | 1ca2490b42eb984151d549ceb6b7015a |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-11 17:39:46 |
Source code size: | 167 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 517 / 628 |
Referenced in: | [show references] |