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

7
LINES

< > BotCompany Repo | #1016257 // Test oshi Disk Stores (OK)

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

Download Jar. Uses 7696K of libraries. Click here for Pure Java version (2827L/18K).

!7

p {
  L<HWDiskStore> l = oshi_diskStores();
  for (HWDiskStore disk : l)
    printStruct(mapPlus(callGetters(disk, 'name, 'model, 'serial, 'size, 'reads, 'readBytes, 'writes, 'writeBytes, 'transferTime, 'timeStamp), partitions := l(disk.getPartitions())));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1016257
Snippet name: Test oshi Disk Stores (OK)
Eternal ID of this version: #1016257/4
Text MD5: 055549f6237e26fdc8521a93eb5363ad
Transpilation MD5: 4a16aa617a06b30a775ce1928fba0f56
Author: stefan
Category: javax / os
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-12 15:16:48
Source code size: 268 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 441 / 1014
Version history: 3 change(s)
Referenced in: #1016259 - Test oshi Disk Stores Read Bytes Sanity