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

10
LINES

< > TinyBrain | #1008035 - Test getting VM arguments through MXBean

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

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   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

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: 36 / 32
Referenced in: [show]