Skip to ContentSkip to Footer
시작 내용
- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- ps 옵션
HP-UX
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
-
정보
- 커뮤니티
- Welcome
- 시작하기
- 포럼 FAQ
- 랭킹 개요
- 참여규칙
- Tips and Tricks
- 접촉
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- 다른 HPE 사이트
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
포럼
-
블로그
-
정보
-
한국어
- 신규로 표시
- 북마크
- 구독
- 소거
- 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가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .