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

7
LINES

< > BotCompany Repo | #1009631 // oshi_listProcesses - list OS processes using oshi library

JavaX fragment (include) [tags: use-pretranspiled]

Uses 5404K of libraries. Click here for Pure Java version (5248L/29K).

import oshi.software.os.OSProcess;

static L<OSProcess> oshi_listProcesses() {
  L<OSProcess> l = asList(oshi_systemInfo().getOperatingSystem().getProcesses(1000, null));
  vmBus_send('osProcesses, l);
  ret l;
}

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: #1009631
Snippet name: oshi_listProcesses - list OS processes using oshi library
Eternal ID of this version: #1009631/7
Text MD5: ccfe1822d544b4eb786c2176ef5b4dd5
Transpilation MD5: 12876761af9161aec534cc3096936f71
Author: stefan
Category: javax / os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-15 13:51:26
Source code size: 218 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 447 / 567
Version history: 6 change(s)
Referenced in: [show references]