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

10
LINES

< > BotCompany Repo | #1008035 // Test getting VM arguments through MXBean

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

Libraryless. Click here for Pure Java version (1177L/9K/28K).

!7

import java.lang.management.ManagementFactory;
import java.lang.management.RuntimeMXBean;

p {
  RuntimeMXBean runtimeMxBean = ManagementFactory.getRuntimeMXBean();
  L<S> arguments = runtimeMxBean.getInputArguments();
  printStruct(arguments);
}

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: 421 / 493
Referenced in: #1008036 - vmArguments - get VM arguments of this VM - seems to print everything except -server