- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- ps 옵션
HP-UX
1748185
회원
4727
온라인
108759
솔루션
포럼
범주
Company
Local Language
뒤로
포럼
토론 게시판
포럼
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
토론 게시판
토론 게시판
포럼
토론 게시판
뒤로
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
블로그
정보
커뮤니티 언어
언어
포럼
블로그
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
날짜: 06-27-2006 10:00 PM
날짜: 06-27-2006 10:00 PM
ps 옵션
---------------------------------------------------------------
for isrv in CATsrv MDLsrv EQPsrv WIPsrv PRPsrv OPRsrv PCMBXadm name=PCMBXsrv
do
echo "PID\tServer\t\tSize"
kid=`ps -e -o pid,vsz,args|grep ${isrv}|grep -v grep|awk '$2 > 10 {print $1,substr($5,6,9),$2}'`
kill_proc
echo ....................
done
---------------------------------------------------------------
위 스크립트는 SUN solraris에서 사용하던것인데
위 스크립을 HP에서 사용하려고 하는데요
ps 커맨드에서 -o 만들어가면 에라가 나네요
HP에선 어떻게 해야 합니까?
----------------------------------------------------------
ps -e -o pid,vsz,args
ps: 잘못된 선택항목 -- o
usage: ps
----------------------------------------------------------
VSZ - virtual memory size
-o format Print information according to the format
specification given in format. This is fully
described in DISPLAY FORMATS. Multiple -o
options can be specified; the format specifi-
cation will be interpreted as the space-
character-separated concatenation of all the
format option-arguments.
----------------------------------------------------------
몇번해보다 시간이 없어 올립니다.
도와주세요
for isrv in CATsrv MDLsrv EQPsrv WIPsrv PRPsrv OPRsrv PCMBXadm name=PCMBXsrv
do
echo "PID\tServer\t\tSize"
kid=`ps -e -o pid,vsz,args|grep ${isrv}|grep -v grep|awk '$2 > 10 {print $1,substr($5,6,9),$2}'`
kill_proc
echo ....................
done
---------------------------------------------------------------
위 스크립트는 SUN solraris에서 사용하던것인데
위 스크립을 HP에서 사용하려고 하는데요
ps 커맨드에서 -o 만들어가면 에라가 나네요
HP에선 어떻게 해야 합니까?
----------------------------------------------------------
ps -e -o pid,vsz,args
ps: 잘못된 선택항목 -- o
usage: ps
----------------------------------------------------------
VSZ - virtual memory size
-o format Print information according to the format
specification given in format. This is fully
described in DISPLAY FORMATS. Multiple -o
options can be specified; the format specifi-
cation will be interpreted as the space-
character-separated concatenation of all the
format option-arguments.
----------------------------------------------------------
몇번해보다 시간이 없어 올립니다.
도와주세요
1 응답 1
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .
뉴스 및 이벤트
© Copyright 2024 Hewlett Packard Enterprise Development LP