"BusyBox pgrep"의 두 판 사이의 차이

(새 문서: ==개요== ;BusyBox pgrep, Alpine pgrep ;비지박스 pgrep, 알파인 pgrep <syntaxhighlight lang='console'> $ pgrep BusyBox v1.33.1 () multi-call binary. Usage: pgrep [-flanovx] [...)
 
 
(같은 사용자의 중간 판 3개는 보이지 않습니다)
4번째 줄: 4번째 줄:


<syntaxhighlight lang='console'>
<syntaxhighlight lang='console'>
$ pgrep
bash-5.1$ pgrep
BusyBox v1.33.1 () multi-call binary.
BusyBox v1.32.1 () multi-call binary.


Usage: pgrep [-flanovx] [-s SID|-P PPID|PATTERN]
Usage: pgrep [-flanovx] [-s SID|-P PPID|PATTERN]
20번째 줄: 20번째 줄:
         -s      Match session ID (0 for current)
         -s      Match session ID (0 for current)
         -P      Match parent process ID
         -P      Match parent process ID
</syntaxhighlight>
<syntaxhighlight lang='console'>
bash-5.1$ pgrep dumb-init
1
bash-5.1$ pgrep dumb-init -a
1 /usr/bin/dumb-init
bash-5.1$ pgrep dumb-init -af
1 /usr/bin/dumb-init -- /nginx-ingress-controller --ingress-class=proxy-private --configmap=ingress-nginx/nginx-configuration --publish-service=ingress-nginx/ingress-nginx --annotations-prefix=nginx.ingress.kubernetes.io --tcp-services-configmap=ingress-nginx/tcp-services
</syntaxhighlight>
<syntaxhighlight lang='console'>
bash-4.4# pgrep -a 1
1 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java
bash-4.4# pgrep -af 1
1 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start
</syntaxhighlight>
</syntaxhighlight>


==같이 보기==
==같이 보기==
* [[리눅스 pgrep]]
* [[리눅스 pgrep]]
* [[BusyBox pgrep -af]]


[[분류: BusyBox]]
[[분류: BusyBox pgrep]]
[[분류: pgrep]]

2022년 11월 22일 (화) 15:34 기준 최신판

1 개요[ | ]

BusyBox pgrep, Alpine pgrep
비지박스 pgrep, 알파인 pgrep
bash-5.1$ pgrep
BusyBox v1.32.1 () multi-call binary.

Usage: pgrep [-flanovx] [-s SID|-P PPID|PATTERN]

Display process(es) selected by regex PATTERN

        -l      Show command name too
        -a      Show command line too
        -f      Match against entire command line
        -n      Show the newest process only
        -o      Show the oldest process only
        -v      Negate the match
        -x      Match whole name (not substring)
        -s      Match session ID (0 for current)
        -P      Match parent process ID
bash-5.1$ pgrep dumb-init
1
bash-5.1$ pgrep dumb-init -a
1 /usr/bin/dumb-init
bash-5.1$ pgrep dumb-init -af
1 /usr/bin/dumb-init -- /nginx-ingress-controller --ingress-class=proxy-private --configmap=ingress-nginx/nginx-configuration --publish-service=ingress-nginx/ingress-nginx --annotations-prefix=nginx.ingress.kubernetes.io --tcp-services-configmap=ingress-nginx/tcp-services
bash-4.4# pgrep -a 1
1 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java
bash-4.4# pgrep -af 1
1 /usr/lib/jvm/java-1.8-openjdk/jre/bin/java -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -Djava.protocol.handler.pkgs=org.apache.catalina.webresources -Dorg.apache.catalina.security.SecurityListener.UMASK=0027 -Dignore.endorsed.dirs= -classpath /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat -Djava.io.tmpdir=/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}