ps
다음은 Solaris에서의 명령 출력 예입니다.
myuser 26856 0.0 0.1 1716368 118576 ? S Feb 18 2:17 /web/bea/platform1221/jdk1.8.0_221/bin/java -Djava.security.manager -Djava.security.policy=/web/bea/platform1221/wlserver/common/derby/derbyServer.policy -Dderby.system.home=/web/bea_apps/domains/common/db -classpath /web/bea/platform1221/wlserver/common/derby/lib/derby.jar:/web/bea/platform1221/wlserver/common/derby/lib/derbynet.jar:/web/bea/platform1221/wlserver/common/derby/lib/derbytools.jar:/web/bea/platform1221/wlserver/common/derby/lib/derbyoptionaltools.jar:/web/bea/platform1221/wlserver/common/derby/lib/derbyclient.jar org.apache.derby.drda.NetworkServerControl start
myuser 934 0.0 0.0 11112 9064 ? S Jan 28 0:10 /web/bea_apps/apache/2.4.37/httpd-prod.viewlogs/bin/httpd -k start
root 1621 0.0 0.0 0 0 ? S Jan 24 0:00 zsched
myuser 2140 0.0 0.0 14368 10152 ? S Feb 07 0:00 /bin/sh /web/bea_apps/domains/bin/startWebLogic.sh
root 2369 0.0 0.0 15624 11168 ? S 21:15:17 0:00 /usr/share/centrifydc/sbin/sshd -R
myuser 2372 0.0 0.0 6016 4752 pts/24 S 21:15:17 0:00 -ksh
시도했지만 -o
매개변수가 인쇄되지 않습니다.
실제 명령 전에 다음 내용을 버리고 나머지 내용을 정렬하고 싶습니다.
나머지 프로세스를 정렬하기 전에 각 프로세스에 대해 다음을 폐기하십시오.
root 1621 0.0 0.0 0 0 ? S Jan 24 0:00
온라인 중:$ uname -a SunOS myhost 5.11 11.4.28.82.3 sun4v sparc sun4v
다음은 Solaris ps
매뉴얼 페이지입니다:https://www.unix.com/man-page/OpenSolaris/1/ps/
제안해주세요.