karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Barthel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-2415) dev:create-dump: extending with environment information
Date Mon, 29 Jul 2013 16:11:50 GMT

    [ https://issues.apache.org/jira/browse/KARAF-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722576#comment-13722576
] 

Uwe Barthel commented on KARAF-2415:
------------------------------------

The attached patch creates a file named 'environment.txt' with the content like:
{{
Dump timestamp	: Monday, July 29, 2013 6:06:34 PM CEST

Operating System:
    name	: Linux
    version	: 3.2.0-51-generic
    architecture	: amd64
    available processors	: 4
    current system load average	: 2.64

Instance name	: 11942@icslvb17
Start time	: Monday, July 29, 2013 6:06:34 PM CEST
Uptime	: 0.140 seconds

Java VM:
    name	: Java HotSpot(TM) 64-Bit Server VM
    vendor	: Sun Microsystems Inc.
    version	: 16.3-b01
    spec. name	: Java Virtual Machine Specification
    spec. vendor	: Sun Microsystems Inc.
    spec. version	: 1.0

Input arguments:
    -Dfile.encoding	: UTF-8
Classpath:
    boot classpath	: [REMOVED]
    classpath	: [REMOVED]
System properties:
    java.vm.version	: 16.3-b01
    sun.jnu.encoding	: UTF-8
    java.vendor.url	: http://java.sun.com/
    java.vm.info	: mixed mode
    user.dir	: /data/icon/sources/svn/THIRD_PARTY/karaf/diagnostic/common
    sun.cpu.isalist	: 
    java.awt.graphicsenv	: sun.awt.X11GraphicsEnvironment
    sun.os.patch.level	: unknown
    java.io.tmpdir	: /tmp
    user.home	: /home/barthel
    java.awt.printerjob	: sun.print.PSPrinterJob
    java.version	: 1.6.0_20
    file.encoding.pkg	: sun.io
    java.vendor.url.bug	: http://java.sun.com/cgi-bin/bugreport.cgi
    file.encoding	: UTF-8
    line.separator	: 

    java.vm.specification.vendor	: Sun Microsystems Inc.
    java.vm.vendor	: Sun Microsystems Inc.
    java.class.path	: [REMOVED]
    sun.io.unicode.encoding	: UnicodeLittle
    os.arch	: amd64
    user.name	: [REMOVED]
    user.language	: de
    java.runtime.version	: 1.6.0_20-b02
    sun.boot.class.path	: /data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/resources.jar:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/rt.jar:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/sunrsasign.jar:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/jsse.jar:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/jce.jar:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/charsets.jar:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/classes
    sun.cpu.endian	: little
    sun.boot.library.path	: /data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/amd64
    java.vm.name	: Java HotSpot(TM) 64-Bit Server VM
    java.home	: /data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre
    java.endorsed.dirs	: /data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/endorsed
    sun.management.compiler	: HotSpot 64-Bit Server Compiler
    java.runtime.name	: Java(TM) SE Runtime Environment
    java.library.path	: /data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/amd64/server:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/amd64:/data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
    file.separator	: /
    java.specification.vendor	: Sun Microsystems Inc.
    java.vm.specification.version	: 1.0
    sun.java.launcher	: SUN_STANDARD
    user.timezone	: Europe/Berlin
    os.name	: Linux
    path.separator	: :
    java.ext.dirs	: /data/icon/linux-x86-64/java/sun/jdk1.6.0_20/jre/lib/ext:/usr/java/packages/lib/ext
    sun.arch.data.model	: 64
    java.specification.name	: Java Platform API Specification
    os.version	: 3.2.0-51-generic
    java.class.version	: 50.0
    user.country	: DE
    java.vendor	: Sun Microsystems Inc.
    java.vm.specification.name	: Java Virtual Machine Specification
    java.specification.version	: 1.6

JIT compiler:
    name	: HotSpot 64-Bit Server Compiler
    total compile time	: 0.053 seconds

Threads:
    count	: 4
    peak count	: 4
    daemon count	: 3

Classes:
    loaded count	: 530
    total loaded count	: 530
    unloaded count	: 0

HEAP Memory:
    commited	: 74,304 kbytes
    init	: 77,483 kbytes
    used	: 1,163 kbytes
    max	: 1,103,232 kbytes
NON-HEAP Memory:
    commited	: 23,744 kbytes
    init	: 23,744 kbytes
    used	: 4,788 kbytes
    max	: 135,168 kbytes
count objects pending for finalization	: 0

Garbage Collectors:
    name	: PS Scavenge
    collection count	: 0
    collection time	: 0.000 seconds
    name	: PS MarkSweep
    collection count	: 0
    collection time	: 0.000 seconds

}}
                
> dev:create-dump: extending with environment information
> -------------------------------------------------------
>
>                 Key: KARAF-2415
>                 URL: https://issues.apache.org/jira/browse/KARAF-2415
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf-shell
>    Affects Versions: 2.2.8
>         Environment: Karaf 2.2.8
>            Reporter: Uwe Barthel
>            Assignee: Freeman Fang
>            Priority: Minor
>              Labels: newbie, patch
>             Fix For: 2.2.12, 2.3.3, 2.4.0, 3.0.0, 3.1.0
>
>         Attachments: 2.2.12_environment_dump_20130729.patch
>
>
> It would be helpful if the 'create-dump' command is also printing out the current runtime
environment.
> The amount of information should be similar to the 'VM Summary' tab of the JConsole.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message