Java教程

ps axjf 查看进程关系

本文主要是介绍ps axjf 查看进程关系,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
[[email protected] ~]# 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 axjf 查看进程关系的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!