`
nicegege
  • 浏览: 589370 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

linux下查看java进程的信息

 
阅读更多

[101@G3_101 logs]$ jinfo 29004

Attaching to process ID 29004, please wait...

Debugger attached successfully.

Server compiler detected.

JVM version is 20.14-b01

Java System Properties:

 

java.runtime.name = Java(TM) SE Runtime Environment

sun.boot.library.path = /usr/java/jdk1.6.0_43/jre/lib/amd64

java.vm.version = 20.14-b01

shared.loader =

java.vm.vendor = Sun Microsystems Inc.

java.vendor.url = http://java.sun.com/

path.separator = :

tomcat.util.buf.StringCache.byte.enabled = true

java.util.logging.config.file = /data/tomcat/conf/logging.properties

java.vm.name = Java HotSpot(TM) 64-Bit Server VM

file.encoding.pkg = sun.io

sun.java.launcher = SUN_STANDARD

user.country = US

sun.os.patch.level = unknown

java.vm.specification.name = Java Virtual Machine Specification

user.dir = /data/tomcat/bin

java.runtime.version = 1.6.0_43-b01

java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment

java.endorsed.dirs = /data/tomcat/endorsed

os.arch = amd64

java.io.tmpdir = /data/tomcat/temp

line.separator =

 

java.vm.specification.vendor = Sun Microsystems Inc.

java.naming.factory.url.pkgs = org.apache.naming

java.util.logging.manager = org.apache.juli.ClassLoaderLogManager

os.name = Linux

sun.jnu.encoding = UTF-8

java.library.path = /usr/java/jdk1.6.0_43/jre/lib/amd64/server:/usr/java/jdk1.6.0_43/jre/lib/amd64:/usr/java/jdk1.6.0_43/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

java.specification.name = Java Platform API Specification

java.class.version = 50.0

sun.management.compiler = HotSpot 64-Bit Tiered Compilers

os.version = 2.6.32-431.3.1.el6.x86_64

user.home = /home/101

catalina.useNaming = true

user.timezone = PRC

java.awt.printerjob = sun.print.PSPrinterJob

file.encoding = UTF-8

java.specification.version = 1.6

catalina.home = /data/tomcat

java.class.path = /data/tomcat/bin/bootstrap.jar

user.name = 101

java.naming.factory.initial = org.apache.naming.java.javaURLContextFactory

package.definition = sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.

java.vm.specification.version = 1.0

sun.java.command = org.apache.catalina.startup.Bootstrap start

java.home = /usr/java/jdk1.6.0_43/jre

sun.arch.data.model = 64

user.language = en

java.specification.vendor = Sun Microsystems Inc.

java.vm.info = mixed mode

java.version = 1.6.0_43

java.ext.dirs = /usr/java/jdk1.6.0_43/jre/lib/ext:/usr/java/packages/lib/ext

sun.boot.class.path = /usr/java/jdk1.6.0_43/jre/lib/resources.jar:/usr/java/jdk1.6.0_43/jre/lib/rt.jar:/usr/java/jdk1.6.0_43/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0_43/jre/lib/jsse.jar:/usr/java/jdk1.6.0_43/jre/lib/jce.jar:/usr/java/jdk1.6.0_43/jre/lib/charsets.jar:/usr/java/jdk1.6.0_43/jre/lib/modules/jdk.boot.jar:/usr/java/jdk1.6.0_43/jre/classes

server.loader =

java.vendor = Sun Microsystems Inc.

catalina.base = /data/tomcat

file.separator = /

java.vendor.url.bug = http://java.sun.com/cgi-bin/bugreport.cgi

common.loader = ${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar

sun.io.unicode.encoding = UnicodeLittle

sun.cpu.endian = little

package.access = sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper.,sun.beans.

sun.cpu.isalist =

 

VM Flags:

 

-Djava.util.logging.config.file=/data/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/data/tomcat/endorsed -Dcatalina.base=/data/tomcat -Dcatalina.home=/data/tomcat -Djava.io.tmpdir=/data/tomcat/temp

 

 

2.[101@G3_101 logs]$ jstack 29004

2015-05-07 17:51:03

Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.14-b01 mixed mode):

 

"Attach Listener" daemon prio=10 tid=0x00007fe798003800 nid=0x74dc waiting on condition [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"http-8080-4" daemon prio=10 tid=0x00007fe7a8006800 nid=0x717d in Object.wait() [0x00007fe7b4feb000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458)

        - locked <0x00000000c95a1290> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484)

        at java.lang.Thread.run(Thread.java:662)

 

"http-8080-3" daemon prio=10 tid=0x00007fe7a8005000 nid=0x717c in Object.wait() [0x00007fe7b50ec000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458)

        - locked <0x00000000c95a16e0> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484)

        at java.lang.Thread.run(Thread.java:662)

 

"http-8080-2" daemon prio=10 tid=0x00007fe7a8003800 nid=0x717b in Object.wait() [0x00007fe7b51ed000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458)

        - locked <0x00000000c95a1b68> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484)

        at java.lang.Thread.run(Thread.java:662)

 

"Abandoned connection cleanup thread" daemon prio=10 tid=0x00007fe78001f800 nid=0x717a in Object.wait() [0x00007fe7b5524000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)

        - locked <0x00000000c9763230> (a java.lang.ref.ReferenceQueue$Lock)

        at com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:40)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" daemon prio=10 tid=0x0000000041646000 nid=0x7179 in Object.wait() [0x00007fe7b5625000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c95a29a0> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" daemon prio=10 tid=0x0000000041644000 nid=0x7178 in Object.wait() [0x00007fe7b5726000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c95a29a0> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon prio=10 tid=0x00000000415de000 nid=0x7177 in Object.wait() [0x00007fe7b5827000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c95a29a0> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"Timer-1" daemon prio=10 tid=0x00000000417f7000 nid=0x7176 in Object.wait() [0x00007fe7b5928000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.util.TimerThread.mainLoop(Timer.java:509)

        - locked <0x00000000c95a3188> (a java.util.TaskQueue)

        at java.util.TimerThread.run(Timer.java:462)

 

"http-8080-1" daemon prio=10 tid=0x00007fe7a8002000 nid=0x7175 in Object.wait() [0x00007fe7b5a29000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458)

        - locked <0x00000000c745d128> (a org.apache.tomcat.util.net.JIoEndpoint$Worker)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484)

        at java.lang.Thread.run(Thread.java:662)

 

"TP-Monitor" daemon prio=10 tid=0x00007fe7c0375000 nid=0x7174 in Object.wait() [0x00007fe7b5b2a000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:565)

        - locked <0x00000000c745d7a8> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)

        at java.lang.Thread.run(Thread.java:662)

 

"TP-Processor4" daemon prio=10 tid=0x00007fe7c0340800 nid=0x7173 runnable [0x00007fe7b5c2b000]

   java.lang.Thread.State: RUNNABLE

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)

        - locked <0x00000000c7499778> (a java.net.SocksSocketImpl)

        at java.net.ServerSocket.implAccept(ServerSocket.java:462)

        at java.net.ServerSocket.accept(ServerSocket.java:430)

        at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:311)

        at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:668)

        at org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:879)

        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)

        at java.lang.Thread.run(Thread.java:662)

 

"TP-Processor3" daemon prio=10 tid=0x00007fe7c0344000 nid=0x7172 in Object.wait() [0x00007fe7b5d2c000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:662)

        - locked <0x00000000c745db38> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)

        at java.lang.Thread.run(Thread.java:662)

 

"TP-Processor2" daemon prio=10 tid=0x00007fe7c06b1000 nid=0x7171 in Object.wait() [0x00007fe7b5e2d000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:662)

        - locked <0x00000000c745dd88> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)

        at java.lang.Thread.run(Thread.java:662)

 

"TP-Processor1" daemon prio=10 tid=0x00007fe7c07a3000 nid=0x7170 in Object.wait() [0x00007fe7b5f2e000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:662)

        - locked <0x00000000c7498db0> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)

        at java.lang.Thread.run(Thread.java:662)

 

"http-8080-Acceptor-0" daemon prio=10 tid=0x00007fe7c0948800 nid=0x716f runnable [0x00007fe7b602f000]

   java.lang.Thread.State: RUNNABLE

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)

        - locked <0x00000000c4495cf8> (a java.net.SocksSocketImpl)

        at java.net.ServerSocket.implAccept(ServerSocket.java:462)

        at java.net.ServerSocket.accept(ServerSocket.java:430)

        at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61)

        at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352)

        at java.lang.Thread.run(Thread.java:662)

 

"ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon prio=10 tid=0x00007fe7c03ef800 nid=0x716e waiting on condition [0x00007fe7b6e11000]

   java.lang.Thread.State: TIMED_WAITING (sleeping)

        at java.lang.Thread.sleep(Native Method)

        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1631)

        at java.lang.Thread.run(Thread.java:662)

 

"MySQL Statement Cancellation Timer" daemon prio=10 tid=0x00007fe788028800 nid=0x716c in Object.wait() [0x00007fe7b6130000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        - waiting on <0x00000000c5639a18> (a java.util.TaskQueue)

        at java.lang.Object.wait(Object.java:485)

        at java.util.TimerThread.mainLoop(Timer.java:483)

        - locked <0x00000000c5639a18> (a java.util.TaskQueue)

        at java.util.TimerThread.run(Timer.java:462)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#9" daemon prio=10 tid=0x00007fe7c070d800 nid=0x716b in Object.wait() [0x00007fe7b6231000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#8" daemon prio=10 tid=0x00007fe7c070b800 nid=0x716a in Object.wait() [0x00007fe7b6332000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#7" daemon prio=10 tid=0x00007fe7c071d800 nid=0x7169 in Object.wait() [0x00007fe7b6433000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#6" daemon prio=10 tid=0x00007fe7c01fc800 nid=0x7168 in Object.wait() [0x00007fe7b6534000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#5" daemon prio=10 tid=0x00007fe7c0882000 nid=0x7167 in Object.wait() [0x00007fe7b6635000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#4" daemon prio=10 tid=0x00007fe7c0695800 nid=0x7166 in Object.wait() [0x00007fe7b6736000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#3" daemon prio=10 tid=0x00007fe7c0a20800 nid=0x7165 in Object.wait() [0x00007fe7b6837000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" daemon prio=10 tid=0x00007fe7c097f000 nid=0x7164 in Object.wait() [0x00007fe7b6938000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" daemon prio=10 tid=0x00007fe7c0889800 nid=0x7163 in Object.wait() [0x00007fe7b6a39000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon prio=10 tid=0x00007fe7c06b2800 nid=0x7162 in Object.wait() [0x00007fe7b6b3a000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:534)

        - locked <0x00000000c563cfc8> (a com.mchange.v2.async.ThreadPoolAsynchronousRunner)

 

"Timer-0" daemon prio=10 tid=0x00007fe7c088d000 nid=0x7161 in Object.wait() [0x00007fe7b6c3b000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.util.TimerThread.mainLoop(Timer.java:509)

        - locked <0x00000000c563f3f8> (a java.util.TaskQueue)

        at java.util.TimerThread.run(Timer.java:462)

 

"GC Daemon" daemon prio=10 tid=0x00007fe7c02f8000 nid=0x715b in Object.wait() [0x00007fe7b732a000]

   java.lang.Thread.State: TIMED_WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        - waiting on <0x00000000c421a6f8> (a sun.misc.GC$LatencyLock)

        at sun.misc.GC$Daemon.run(GC.java:100)

        - locked <0x00000000c421a6f8> (a sun.misc.GC$LatencyLock)

 

"Low Memory Detector" daemon prio=10 tid=0x00007fe7c008c800 nid=0x7159 runnable [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"C2 CompilerThread1" daemon prio=10 tid=0x00007fe7c008a800 nid=0x7158 waiting on condition [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"C2 CompilerThread0" daemon prio=10 tid=0x00007fe7c0087800 nid=0x7157 waiting on condition [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"Signal Dispatcher" daemon prio=10 tid=0x00007fe7c0085800 nid=0x7156 runnable [0x0000000000000000]

   java.lang.Thread.State: RUNNABLE

 

"Finalizer" daemon prio=10 tid=0x00007fe7c0069800 nid=0x7155 in Object.wait() [0x00007fe7b7af9000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)

        - locked <0x00000000c4085000> (a java.lang.ref.ReferenceQueue$Lock)

        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)

        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

 

"Reference Handler" daemon prio=10 tid=0x00007fe7c0067800 nid=0x7154 in Object.wait() [0x00007fe7b7bfa000]

   java.lang.Thread.State: WAITING (on object monitor)

        at java.lang.Object.wait(Native Method)

        at java.lang.Object.wait(Object.java:485)

        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)

        - locked <0x00000000c4085030> (a java.lang.ref.Reference$Lock)

 

"main" prio=10 tid=0x00007fe7c0007000 nid=0x7150 runnable [0x00007fe7c4296000]

   java.lang.Thread.State: RUNNABLE

        at java.net.PlainSocketImpl.socketAccept(Native Method)

        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408)

        - locked <0x00000000c749c338> (a java.net.SocksSocketImpl)

        at java.net.ServerSocket.implAccept(ServerSocket.java:462)

        at java.net.ServerSocket.accept(ServerSocket.java:430)

        at org.apache.catalina.core.StandardServer.await(StandardServer.java:431)

        at org.apache.catalina.startup.Catalina.await(Catalina.java:676)

        at org.apache.catalina.startup.Catalina.start(Catalina.java:628)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:597)

        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

 

"VM Thread" prio=10 tid=0x00007fe7c0060800 nid=0x7153 runnable

 

"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007fe7c0019800 nid=0x7151 runnable

 

"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007fe7c001b800 nid=0x7152 runnable

 

"VM Periodic Task Thread" prio=10 tid=0x00007fe7c0097800 nid=0x715a waiting on condition

 

JNI global references: 1840

 

 

分享到:
评论

相关推荐

    Linux查看处理Java进程

    Linux查看处理Java进程

    linux下查看java进程下线程占用cpu情况

    - `jinfo` 提供了查看和修改Java进程配置信息的功能,虽然它不直接提供CPU使用情况,但在分析时可能需要结合其他工具一起使用。 6. **`perf` 工具**: - `perf` 是Linux下的一个性能分析工具,可以用来分析特定...

    Linux下启动JAVA

    为了监控Java应用的性能,可以使用`jps`(Java进程状态)列出运行中的Java进程,`jstat`(JVM统计监测工具)查看JVM的统计信息,`jmap`(内存映射工具)生成堆转储,以及`jhat`(堆分析工具)分析堆转储。...

    Linux命令查看java版本

    ### Linux命令查看Java版本及相关知识点 #### 标题解析:“Linux命令查看java版本” 此标题主要涉及在Linux系统中如何检查已安装Java的版本。在Linux环境下,这通常通过`java -version`命令来实现。 #### 描述...

    Linux平台 进程 监控 自动重启 恢复脚本, java, springboot 通过

    Linux平台 下 进程监控自动 重启 恢复脚本, 测试 centos平台下 java, springboot 通过

    Linux上的Java程序开发

    在《Linux上的Java程序开发》这本书中,作者Carl Albing和Michael Schwarz深入探讨了如何在Linux环境下进行Java应用程序的开发工作。本书不仅适合初学者了解Linux环境下的基本概念和命令,同时也为有经验的开发者...

    linux查看进程和终止进程

    在Linux环境下,了解如何查看与终止进程是一项基本且重要的技能。本文将详细介绍如何利用`ps`命令来查看当前正在运行的进程信息,并使用`kill`命令来终止指定的进程。 #### 二、ps命令详解 `ps`命令是Linux系统中最...

    linux下启动Java程序和杀死java进程shell脚本

    linux下启动Java程序和杀死java进程shell脚本

    linux下运行java程序

    在Linux环境下,使用`jps`命令可以查看正在运行的Java进程,`jstat`和`jinfo`等工具则用于监控和调试Java应用程序的性能和配置。 总的来说,Linux下的Java程序运行涉及到环境配置、程序编译、权限管理以及进程控制...

    java获取各进程的信息

    - 如果获取进程信息时出现异常,则忽略该进程并继续处理下一个进程。 4. **定时更新** - 通过`Thread.sleep(SLEEP_TIME);`使线程休眠一段时间后再次执行整个过程,从而实现数据的定时刷新。 #### 总结 本示例...

    JAVA 进程在64位LINUX下占用巨大内存的分析.doc

    根据给定的文件信息,我们可以看到,JAVA 进程在 64 位 LINUX 下占用了巨大内存,达到 11G,已分配地址空间更是 17G。这是一个非常严重的问题,因为它可能会导致系统崩溃和性能下降。 首先,让我们来分析 HEAP 配置...

    Linux 僵尸进程产生原因及解决方法

    Linux 允许进程查询内核以获得其父进程的 PID,或者其任何子进程的执行状态。例如,进程可以创建一个子进程来执行特定的任务,然后调用诸如 wait() 这样的一些库函数检查子进程是否终止。如果子进程已经终止,那么,...

    Java通过进程名称杀进程

    本文将详细介绍如何使用Java代码实现基于进程名称的进程终止功能,特别是针对Windows操作系统下的`java-test.exe`进程。这不仅适用于开发者调试自身程序时的需求,也适用于系统管理员批量管理运行在Windows服务器上...

    Linux下Java环境的安装和配置

    在Linux系统中安装和配置...以上就是Linux环境下Java的安装和配置过程。确保每一步都正确执行,可以避免后续开发中遇到的很多问题。在实际操作中,还需关注系统更新、版本升级和兼容性等问题,以保持最佳的运行状态。

    Java中常用的Linux命令.docx

    2. 查看Java进程详细信息:`jps` 命令可以查看Java进程详细信息。 3. 查看Java堆栈信息:`jstack` 命令可以查看Java堆栈信息。 4. 查看Java内存信息:`jmap` 命令可以查看Java内存信息。 5. 查看Java垃圾回收信息:`...

    用java取得linux系统cpu、内存的实时信息

    在IT领域,特别是对于系统监控和资源管理而言,掌握如何使用Java获取Linux系统的CPU和内存实时信息是一项重要的技能。这不仅有助于系统管理员实时监控服务器的健康状况,还为开发人员提供了优化应用程序性能的关键...

    linux上通过sh方式启动java jar程序并做为守护进程

    &gt; /path/to/logfile.pid`将Java进程的PID(进程ID)写入到指定的日志文件,这样我们就可以在需要时找到并管理这个进程。 7. 最后的`tail -f`命令用于实时查看应用的日志输出,但这不是必需的,可以根据实际需求决定...

    linux下C和java通过管道通信

    要实现C和Java之间的管道通信,可以创建一个C程序作为中间人,该程序接收Java进程的数据并转发给C进程,反之亦然。中间人程序可以使用`socketpair()`或`socket()`函数创建套接字对,然后分别与C和Java进程通信。 请...

    java获取linux服务器上的IP操作

    Java获取Linux服务器上的IP操作 Java获取Linux服务器上的IP操作是Java开发中的一项重要任务。然而,在Linux服务器上获取IP地址却存在一些问题。在本文中,我们将详细介绍Java获取Linux服务器上的IP操作,包括Linux...

    linux&corejava.pdf

    这些内容适合那些希望在Linux环境下进行Java编程的初学者。 首先,关于Linux操作系统,它是一个开源的Unix-like操作系统。Linux操作系统的特点包括多用户、多任务、良好的网络功能以及强大的shell编程能力。在文件...

Global site tag (gtag.js) - Google Analytics