Download Jar. Uses 9700K of libraries. Click here for Pure Java version (1750L/11K).
!7 p { SSHClient ssh = sshLogin("root", "botcompany.de"); repeat with sleep 10 { S s = trim(sshCommand(ssh, "uptime")); print("Uptime: " + s); consoleTitle(replacePrefix("0.", ".", dropAfterComma(trimSubstringAfter(s, "load average:"))) + " [botcompany.de]"); } }
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: | #1013027 |
| Snippet name: | Test longer-running SSH session (print botcompany.de load) [OK] |
| Eternal ID of this version: | #1013027/12 |
| Text MD5: | 1a40fcab6805cfd9796c53000f9618db |
| Transpilation MD5: | f6d72424f72da1bc291b9e70d0460c19 |
| 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:41:14 |
| Source code size: | 291 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 921 / 2154 |
| Version history: | 11 change(s) |
| Referenced in: | #1013042 - Print tinybrain.de load [OK] |