系统相关
首页 > 系统相关> > ps axjf 查看进程关系

ps axjf 查看进程关系

作者:互联网

[root@scandev ~]# ps axjf|egrep java
 1535  6088  6087  1535 pts/2     6087 S+       0   0:00          \_ grep -E --color=auto java
 3558  3565  3565  3558 ?           -1 Sl       0 180:54  \_ /usr/local/jdk/jdk1.8.0_211/bin/java -jar /mnt/java_projects/new_website_test_jar/npwebsite.jar --spring.profiles.active=uat
 3558  3566  3566  3558 ?           -1 Sl       0 203:24  \_ /usr/local/jdk/jdk1.8.0_211/bin/java -jar /mnt/browser_microservice_backend/newpower-eurekaservice-0.0.1-SNAPSHOT.war --spring.profiles.active=test
 3558  3567  3567  3558 ?           -1 Sl       0 16812:33  \_ /usr/local/jdk/jdk1.8.0_211/bin/java -jar /mnt/browser_microservice_backend/newpower-data-0.0.1-SNAPSHOT.war --spring.profiles.active=test
 3558  3568  3568  3558 ?           -1 Sl       0 29351:32  \_ /usr/local/jdk/jdk1.8.0_211/bin/java -jar /mnt/browser_microservice_backend/newpower-browser-0.0.1-SNAPSHOT.war --spring.profiles.active=test
    1 28957 28952 28952 ?           -1 S        0   0:00 runuser -s /bin/bash root -c ulimit -S -c 0 >/dev/null 2>&1 ; /etc/alternatives/java -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8098 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
28957 28958 28952 28952 ?           -1 S        0   0:00  \_ bash -c ulimit -S -c 0 >/dev/null 2>&1 ; /etc/alternatives/java -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8098 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
28958 28959 28952 28952 ?           -1 Sl       0   0:30      \_ /etc/alternatives/java -Djava.awt.headless=true -DJENKINS_HOME=/var/lib/jenkins -jar /usr/lib/jenkins/jenkins.war --logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war --daemon --httpPort=8098 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20

 

标签:ps,java,查看,--,jar,axjf,var,jenkins,war
来源: https://www.cnblogs.com/gaoyuechen/p/16577751.html