Libraryless. Click here for Pure Java version (935L/7K/23K).
!7 p-typewriter { repeat { float cpu = linux_cpuLoad()*numberOfCores(); print(formatDouble(cpu, 1) + "% CPU"); setConsoleTitle(iround(cpu) + "% CPU"); } }
Began life as a copy of #1006505
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: | #1006512 |
| Snippet name: | Show CPU load under Linux times cores [WORKS] |
| Eternal ID of this version: | #1006512/1 |
| Text MD5: | 8552af301a4bbd73dfd67b5fefcdbcb1 |
| Transpilation MD5: | d226afaba5af13856ad6a7b42fb616f0 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-01-12 01:19:44 |
| Source code size: | 179 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 654 / 813 |
| Referenced in: | [show references] |