Libraryless. Click here for Pure Java version (1177L/9K/28K).
1 | !7 |
2 | |
3 | import java.lang.management.ManagementFactory; |
4 | import java.lang.management.RuntimeMXBean; |
5 | |
6 | p {
|
7 | RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean(); |
8 | L<S> arguments = runtimeMxBean.getInputArguments(); |
9 | printStruct(arguments); |
10 | } |
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: | #1008035 |
| Snippet name: | Test getting VM arguments through MXBean |
| Eternal ID of this version: | #1008035/1 |
| Text MD5: | eb2bdd9226b0f4c2848989304802847c |
| Transpilation MD5: | 5810dcf08cbeb21c7dc2853f72656ade |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-21 15:01:13 |
| Source code size: | 259 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 668 / 785 |
| Referenced in: | [show references] |