1 | import oshi.software.os.*; |
2 | |
3 | static OSProcess oshi_currentProcess() { |
4 | OperatingSystem os = oshi_operatingSystem(); |
5 | int pid = os.getProcessId(); |
6 | ret os.getProcess(pid); |
7 | } |
Began life as a copy of #1010946
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: | #1015911 |
Snippet name: | oshi_currentProcess |
Eternal ID of this version: | #1015911/6 |
Text MD5: | 885fcedf424c5a1442846988c1248225 |
Author: | stefan |
Category: | javax / os |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-30 14:34:28 |
Source code size: | 180 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 429 / 450 |
Version history: | 5 change(s) |
Referenced in: | [show references] |