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] [Comment Edited] (KARAF-2415) dev:create-dump: extending with environment information
Date Mon, 29 Jul 2013 21:27:49 GMT

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

Uwe Barthel edited comment on KARAF-2415 at 7/29/13 9:27 PM:
-------------------------------------------------------------

The attached patch creates a file named 'environment.txt' with the content like:
{code:title=environment.txt}
Dump timestamp	: Monday, July 29, 2013 9:54:12 PM CEST

Karaf	: root 2.2.11
    home	: /home/barthel/work/app/apache-karaf-2.2.11
    base	: /home/barthel/work/app/apache-karaf-2.2.11

OSGi:
    framework	: org.apache.felix.framework - 3.2.2

Operating System	: Linux 3.8.0-27-generic
    architecture	: i386
    processors	: 2

Instance name	: 20571@q35
Start time	: Monday, July 29, 2013 9:54:12 PM CEST
Uptime	: 0.098 seconds

Java VM	: Java HotSpot(TM) Server VM 1.5.0_22-b03
    vendor	: Sun Microsystems Inc.
    version	: 1.5.0_22

Input arguments:
    -Dfile.encoding	: UTF-8
Classpath:
    boot classpath	: [REMOVED]
    library path	: [REMOVED]
    classpath	: [REMOVED]
System properties:
    java.version	: 1.5.0_22
    sun.io.unicode.encoding	: UnicodeLittle
    java.class.path	: [REMOVED]
    java.awt.graphicsenv	: sun.awt.X11GraphicsEnvironment
    user.language	: de
    sun.os.patch.level	: unknown
    os.version	: 3.8.0-27-generic
    java.specification.vendor	: Sun Microsystems Inc.
    java.class.version	: 49.0
    file.encoding	: UTF-8
    sun.boot.class.path	: [REMOVED]
    java.vm.version	: 1.5.0_22-b03
    java.io.tmpdir	: /tmp
    java.home	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre
    user.name	: barthel
    java.specification.name	: Java Platform API Specification
    java.ext.dirs	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre/lib/ext
    java.vm.info	: mixed mode
    sun.arch.data.model	: 32
    java.vm.specification.name	: Java Virtual Machine Specification
    java.vm.specification.version	: 1.0
    sun.management.compiler	: HotSpot Server Compiler
    sun.cpu.endian	: little
    path.separator	: :
    java.vm.name	: Java HotSpot(TM) Server VM
    user.country	: DE
    user.timezone	: Europe/Berlin
    file.separator	: /
    os.arch	: i386
    sun.boot.library.path	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre/lib/i386
    file.encoding.pkg	: sun.io
    line.separator	: 

    java.vendor.url.bug	: http://java.sun.com/cgi-bin/bugreport.cgi
    java.vm.vendor	: Sun Microsystems Inc.
    os.name	: Linux
    java.vendor.url	: http://java.sun.com/
    java.awt.printerjob	: sun.print.PSPrinterJob
    sun.jnu.encoding	: UTF-8
    java.vm.specification.vendor	: Sun Microsystems Inc.
    sun.java.launcher	: SUN_STANDARD
    java.runtime.name	: Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version	: 1.5.0_22-b03
    java.endorsed.dirs	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre/lib/endorsed
    java.library.path	: [REMOVED]
    sun.cpu.isalist	: 
    user.dir	: [REMOVED]
    user.home	: /home/barthel
    java.specification.version	: 1.5
    java.vendor	: Sun Microsystems Inc.

JIT compiler	: HotSpot Server Compiler
    total compile time	: 0.007 seconds

Threads:
    live	: 4
    daemon	: 3
    peak	: 4
    total	: 4

Classes:
    loaded	: 483
    total	: 483
    unloaded	: 0

HEAP Memory:
    commited	: 39,744 kbytes
    init	: 40,229 kbytes
    used	: 741 kbytes
    maximal	: 621,248 kbytes
NON-HEAP Memory:
    commited	: 18,688 kbytes
    init	: 18,688 kbytes
    used	: 2,922 kbytes
    maximal	: 114,688 kbytes

    pending objects	: 0

Garbage Collectors	: 'PS Scavenge' collections: 0	time: 0.000 seconds
Garbage Collectors	: 'PS MarkSweep' collections: 0	time: 0.000 seconds
{code}
                
      was (Author: barthel):
    The attached patch creates a file named 'environment.txt' with the content like:
{code:title=environment.txt}
Dump timestamp	: Monday, July 29, 2013 9:54:12 PM CEST

Karaf	: root 2.2.11
    home	: /home/barthel/work/app/apache-karaf-2.2.11
    base	: /home/barthel/work/app/apache-karaf-2.2.11

OSGi:
    version	: 4.2.0
    framework	: org.apache.felix.framework - 3.2.2

Operating System	: Linux 3.8.0-27-generic
    architecture	: i386
    processors	: 2

Instance name	: 20571@q35
Start time	: Monday, July 29, 2013 9:54:12 PM CEST
Uptime	: 0.098 seconds

Java VM	: Java HotSpot(TM) Server VM 1.5.0_22-b03
    vendor	: Sun Microsystems Inc.
    version	: 1.5.0_22

Input arguments:
    -Dfile.encoding	: UTF-8
Classpath:
    boot classpath	: [REMOVED]
    library path	: [REMOVED]
    classpath	: [REMOVED]
System properties:
    java.version	: 1.5.0_22
    sun.io.unicode.encoding	: UnicodeLittle
    java.class.path	: [REMOVED]
    java.awt.graphicsenv	: sun.awt.X11GraphicsEnvironment
    user.language	: de
    sun.os.patch.level	: unknown
    os.version	: 3.8.0-27-generic
    java.specification.vendor	: Sun Microsystems Inc.
    java.class.version	: 49.0
    file.encoding	: UTF-8
    sun.boot.class.path	: [REMOVED]
    java.vm.version	: 1.5.0_22-b03
    java.io.tmpdir	: /tmp
    java.home	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre
    user.name	: barthel
    java.specification.name	: Java Platform API Specification
    java.ext.dirs	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre/lib/ext
    java.vm.info	: mixed mode
    sun.arch.data.model	: 32
    java.vm.specification.name	: Java Virtual Machine Specification
    java.vm.specification.version	: 1.0
    sun.management.compiler	: HotSpot Server Compiler
    sun.cpu.endian	: little
    path.separator	: :
    java.vm.name	: Java HotSpot(TM) Server VM
    user.country	: DE
    user.timezone	: Europe/Berlin
    file.separator	: /
    os.arch	: i386
    sun.boot.library.path	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre/lib/i386
    file.encoding.pkg	: sun.io
    line.separator	: 

    java.vendor.url.bug	: http://java.sun.com/cgi-bin/bugreport.cgi
    java.vm.vendor	: Sun Microsystems Inc.
    os.name	: Linux
    java.vendor.url	: http://java.sun.com/
    java.awt.printerjob	: sun.print.PSPrinterJob
    sun.jnu.encoding	: UTF-8
    java.vm.specification.vendor	: Sun Microsystems Inc.
    sun.java.launcher	: SUN_STANDARD
    java.runtime.name	: Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version	: 1.5.0_22-b03
    java.endorsed.dirs	: /home/barthel/work/app/java/oracle/jdk1.5.0_22/jre/lib/endorsed
    java.library.path	: [REMOVED]
    sun.cpu.isalist	: 
    user.dir	: [REMOVED]
    user.home	: /home/barthel
    java.specification.version	: 1.5
    java.vendor	: Sun Microsystems Inc.

JIT compiler	: HotSpot Server Compiler
    total compile time	: 0.007 seconds

Threads:
    live	: 4
    daemon	: 3
    peak	: 4
    total	: 4

Classes:
    loaded	: 483
    total	: 483
    unloaded	: 0

HEAP Memory:
    commited	: 39,744 kbytes
    init	: 40,229 kbytes
    used	: 741 kbytes
    maximal	: 621,248 kbytes
NON-HEAP Memory:
    commited	: 18,688 kbytes
    init	: 18,688 kbytes
    used	: 2,922 kbytes
    maximal	: 114,688 kbytes

    pending objects	: 0

Garbage Collectors	: 'PS Scavenge' collections: 0	time: 0.000 seconds
Garbage Collectors	: 'PS MarkSweep' collections: 0	time: 0.000 seconds
{code}
                  
> 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