Exetools  

Go Back   Exetools > General > Community Tools

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2017, 15:53
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 454
Rept. Given: 27
Rept. Rcvd 398 Times in 129 Posts
Thanks Given: 21
Thanks Rcvd at 1,823 Times in 349 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
vmenum

vmenum - Java Stack Enumerate and print system properties
It is a java console program, execute it by java -jar VMEnum.jar
will dispaly java stack trace of select process and its system properties.
When you compile the source it require a jar reference (java path) to C:\Program Files (x86)\Java\jdk1.7.0_25\lib\tools.jar,
when you execute the compiled jar will try to get the tools.jar path and at it to java class path,
ofcourse if you have jdk installed (it is a must).
Only tested with jdk1.7.0_25.
Attached Files
File Type: zip vmenum-src.zip (5.8 KB, 21 views)
File Type: zip VMEnum.zip (8.3 KB, 23 views)
Reply With Quote
The Following 6 Users Say Thank You to CodeCracker For This Useful Post:
abhi93696 (04-02-2017), besoeso (02-24-2017), niculaita (02-25-2017), sirius (07-06-2017), tonyweb (03-12-2017)
  #2  
Old 04-02-2017, 13:28
VodoleY VodoleY is offline
Friend
 
Join Date: Dec 2014
Posts: 19
Rept. Given: 6
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 18
Thanks Rcvd at 4 Times in 3 Posts
VodoleY Reputation: 1
Can you reupload plz?
Reply With Quote
  #3  
Old 04-02-2017, 14:33
FoxB FoxB is offline
VIP
 
Join Date: Jan 2002
Location: Earth...
Posts: 934
Rept. Given: 15
Rept. Rcvd 125 Times in 83 Posts
Thanks Given: 20
Thanks Rcvd at 675 Times in 278 Posts
FoxB Reputation: 100-199 FoxB Reputation: 100-199
@VodoleY: here
Reply With Quote
The Following 2 Users Say Thank You to FoxB For This Useful Post:
VodoleY (04-02-2017)
  #4  
Old 04-03-2017, 22:42
Mkz Mkz is offline
Friend
 
Join Date: Jan 2002
Posts: 98
Rept. Given: 0
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 5
Thanks Rcvd at 25 Times in 17 Posts
Mkz Reputation: 2
Perhaps I'm missing something, but all this (and much more) can be obtained with several binaries provided by the JDK itself:
  1. jcmd -l (or jps)
    Lists all local java processes that you can control with the rest of the commands
  2. jcmd <pid> help
    Lists all commands accepted by the target java process
  3. jinfo -sysprops <pid>
    Lists system properties for that process (-flags also available)
  4. jstack <pid>
    Fetches the thread stack traces for the process
  5. jcmd <pid> JFR.start ...
    Example of one of the commands to apply to a process (start recording info for performance tuning)
The list goes on and on.
Reply With Quote
  #5  
Old 04-04-2017, 02:32
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 454
Rept. Given: 27
Rept. Rcvd 398 Times in 129 Posts
Thanks Given: 21
Thanks Rcvd at 1,823 Times in 349 Posts
CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399 CodeCracker Reputation: 300-399
@Mkz:
Yes, it can be done by JDK, the source code is from JDK.
I usually use jvisualvm for that task.
The intend was to do it programmatically, (maybe change some stuffs)
this is why I included source code.
Reply With Quote
  #6  
Old 04-04-2017, 16:58
Mkz Mkz is offline
Friend
 
Join Date: Jan 2002
Posts: 98
Rept. Given: 0
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 5
Thanks Rcvd at 25 Times in 17 Posts
Mkz Reputation: 2
Quote:
Originally Posted by CodeCracker View Post
The intend was to do it programmatically, (maybe change some stuffs)
Ah, ok, in that case then it makes sense to provide source code and examples.
Reply With Quote
  #7  
Old 07-06-2017, 17:38
sirius sirius is offline
Friend
 
Join Date: Jan 2002
Posts: 56
Rept. Given: 14
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 12
Thanks Rcvd at 2 Times in 2 Posts
sirius Reputation: 2
Why I can't download from the forum ?
Reply With Quote
  #8  
Old 07-07-2017, 19:55
Debugger Debugger is offline
Friend
 
Join Date: May 2013
Posts: 60
Rept. Given: 51
Rept. Rcvd 8 Times in 6 Posts
Thanks Given: 69
Thanks Rcvd at 38 Times in 26 Posts
Debugger Reputation: 8
Quote:
Originally Posted by sirius View Post
Why I can't download from the forum ?
You haven't obviously read rules. Just click on forum rules red link in navigation. or go to following thread.

Code:
https://forum.exetools.com/showthread.php?t=16581
Edit:
It looks like you've already received infraction from Aaron. Mod please delete post if it felt unnecessary.

Last edited by Debugger; 07-07-2017 at 20:06.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 16:42.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )