ibm monitoring and diagnostic tools - idde 1.2

11
IDDE 1.2.1 Dump analysis for Java and Node.js

Upload: chris-bailey

Post on 13-Jul-2015

459 views

Category:

Software


3 download

TRANSCRIPT

Page 1: IBM Monitoring and Diagnostic Tools - IDDE 1.2

IDDE 1.2.1Dump analysis for Java and Node.js

Page 2: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 2

GUI based, cross platform, dump debugger for use with● IBM SDKs for Java since Java 5● IBM SDKs for Node.js since v 1.1.0

Provides ability to:● Analyse crash dumps for root cause● View field and values store in objects● Understand the state of your application

Visualization provided via Eclipse Client UI● Available from Eclipse Marketplace● Available from IBM Support Assistant

Supports analysis of dumps created on:● AIX, Linux, Windows or z/OS

Provides local or remote analysis using server/client

IBM Monitoring and Diagnostics: Interactive Diagnostics Data Explorer (IDDE)

Page 3: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 3

IDDE: Example Process Commands

Available for JavaAvailable for Node.js

Search Memoryfind <type> <value> <address> find a value in memoryfindnext find the next instancefindall <type> <value> <address> find all instances

View Memoryranges list available memory rangeshexdump <address> dump memory as hex and ascii<struct> <address> format memory as a struct

View Threadsthreads list all threadsstack <thread> show stack trace for thread

Page 4: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 4

IDDE: Example Runtime Commands

Available for JavaAvailable for Node.js

Runtime Overviewjavaoverview Java information

nodeoverview Node.js information

Memory Overviewjavameminfo Java Memory summary

jsmeminfo Node.js memory summary

Page 5: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 5

IDDE: Example Object Commands

Available for JavaAvailable for Node.js

List Objectsjavaobjects List Java objects

jslistobjects List Node.js objects

Print Objectsjavaobject Print Java object

jsobject Print Node.js object

Page 6: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 6

GeneratingDump Files

Page 7: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 7

Generating Dump Files

Available for JavaAvailable for Node.js

Operating System Mechanisms● AIX: gencore● Linux: gcore● Windows: userdump.exe or Task Manager● z/OS SVCDUMP/Console Dump

Runtime Mechanisms● Java Dump Engine● Java Trace Engine● Java Dump API● Health Center● --abort-on-uncaught-exception

Page 8: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 8

0 2000 4000 6000 8000 10000 12000 14000 16000

0

50

100

150

200

250

300

350

Linux 64 bit PPC

Same Disk

RAM Disk

GB Netw ork

Core Size (MB)

Tim

e to

Ge

ne

rate

(s

)

Generating Dump Files

Dump writing speed dominated by IO performance:● ~20s per GB providing physical memory is available● Otherwise dictated by disk write speed● Can be minimized by good configuration of system:

● Memory assigned to file caching● Use of ramdisks

System dumps compress very well:● Usually to 10% of original size

Page 9: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 9

IBM Developer Kits for Javaibm.biz/javasdk

WebShere Liberty Profilewasdev.net

IBM Bluemixibm.com/bluemix

IBM Developer Kits for Node.jsibm.biz/nodesdk

Page 10: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 10

References

• IBM Monitoring and Diagnostics - IDDE:• https://www.ibm.com/developerworks/java/jdk/tools/idde/

• IBM SDKs for Java:• https://www.ibm.com/developerworks/java/jdk/

• IBM SDKs for Node.js:• http://www.ibm.com/developerworks/web/nodesdk/

Page 11: IBM Monitoring and Diagnostic Tools - IDDE 1.2

© 2014 International Business Machines Corporation 11

Copyrights and Trademarks

© IBM Corporation 2014. All Rights Reserved

IBM, the IBM logo, ibm.com are trademarks or registered

trademarks of International Business Machines Corp.,

registered in many jurisdictions worldwide. Other product and

service names might be trademarks of IBM or other companies.

A current list of IBM trademarks is available on the Web at

“Copyright and trademark information” at

www.ibm.com/legal/copytrade.shtml

Node.js is an official trademark of Joyent. IBM SDK for Node.js is not formally related to or endorsed by the official Joyent Node.js open source or

commercial project.

Java, JavaScript and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle and/or its affiliates.