Uses 6315K of libraries. Click here for Pure Java version (4069L/20K).
!7 compact module Uptime > DynBigNumber { transient long upSince; start { setDescription("UPTIME (DD:HH:MM)"); upSince = now()-oshi_systemUptime()*1000; doEveryAndNow(60.0, r actualUpdate); } void actualUpdate { setValue(formatDaysColonHoursColonMinutes(now()-upSince)); } }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020549 |
Snippet name: | Uptime [Computer] |
Eternal ID of this version: | #1020549/9 |
Text MD5: | 73e8f4a3128bf918430c5bc668e34e1e |
Transpilation MD5: | 4ff3bb0ac9d84b0ae4112aa33f3cd4b7 |
Author: | stefan |
Category: | |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-01-02 03:52:43 |
Source code size: | 318 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 270 / 87552 |
Version history: | 8 change(s) |
Referenced in: | [show references] |