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

10
LINES

< > BotCompany Repo | #1013042 // Print tinybrain.de load [OK]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Uses 9700K of libraries. Click here for Pure Java version (1750L/11K).

!7

p {
  SSHClient ssh = sshLogin("root", "tinybrain.de");
  repeat with sleep 10 {
    S s = trim(sshCommand(ssh, "uptime"));
    print("Uptime: " + s);
    consoleTitle(replacePrefix("0.", ".", dropAfterComma(trimSubstringAfter(s, "load average:"))) + " [tinybrain.de]");
  }
}

Author comment

Began life as a copy of #1013027

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: #1013042
Snippet name: Print tinybrain.de load [OK]
Eternal ID of this version: #1013042/2
Text MD5: d9f9efba12b6f1b4927d94253b0d19c1
Transpilation MD5: 29384eba8669cd83b81a7ccdc41c84f0
Author: stefan
Category: javax / networking
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-22 15:39:35
Source code size: 289 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 485 / 1119
Version history: 1 change(s)
Referenced in: [show references]