Skip to ContentSkip to Footer
시작 내용
- Community Home
- >
- HPE Community, Korea
- >
- HP-UX
- >
- active log 클리어 시키는 방법 부탁드립니다.
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 피드 구독
- 강조
- 인쇄
- 친구에게 이메일 보내기
- 부적절한 컨텐트 신고
날짜: 09-17-2006 10:00 PM
날짜: 09-17-2006 10:00 PM
active log 클리어 시키는 방법 부탁드립니다.
스탠다드 아웃풋의 데이타들이 실시간으로
admin.log파일에 쌓이고 있는 시스템입니다.
서비스를 내리지 않고 로그파일을 클리어 시키고
싶은데 여러 OS에서는 잘되는거 같던데
유독 HP-UX에서만 안먹는듯하여
자문을 구합니다.
/dev/null로 클리어 시켜보고 널값도 넣어보고
cp /dev/null도 해보고 죄다 다 해보았는데 안먹는군요.
무슨 방법없을까요?
rm;touch는 안되는 방법이구요.
uname
HP-UX lms B.11.23 U ia64
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15485535 Sep 17 01:52 admin.log
#cat /dev/null > admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 0 Sep 17 01:53 admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15487057 Sep 17 01:53 admin.log
admin.log파일에 쌓이고 있는 시스템입니다.
서비스를 내리지 않고 로그파일을 클리어 시키고
싶은데 여러 OS에서는 잘되는거 같던데
유독 HP-UX에서만 안먹는듯하여
자문을 구합니다.
/dev/null로 클리어 시켜보고 널값도 넣어보고
cp /dev/null도 해보고 죄다 다 해보았는데 안먹는군요.
무슨 방법없을까요?
rm;touch는 안되는 방법이구요.
uname
HP-UX lms B.11.23 U ia64
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15485535 Sep 17 01:52 admin.log
#cat /dev/null > admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 0 Sep 17 01:53 admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15487057 Sep 17 01:53 admin.log
3 응답 3
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 친구에게 이메일 보내기
- 부적절한 컨텐트 신고
날짜: 09-22-2006 10:00 PM
날짜: 09-22-2006 10:00 PM
active log 클리어 시키는 방법 부탁드립니다.
uname
HP-UX lms B.11.23 U ia64
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15485535 Sep 17 01:52 admin.log
#cat /dev/null > admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 0 Sep 17 01:53 admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15487057 Sep 17 01:53 admin.log
위의 부분중에 cat /dev/null admin.log 했을때
사이즈가 0으로 됐다가
다시 admin.log파일이 원래상태로 되돌아옵니다.
물론 cp /dev/null admin.log도 해보았고
> admin.log도 다 해보았으나 클리어 됬다가
바로 원래크기로 되돌아 옵니다.
이런경우 접하신분의 답변을 부탁드립니다.
HP-UX lms B.11.23 U ia64
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15485535 Sep 17 01:52 admin.log
#cat /dev/null > admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 0 Sep 17 01:53 admin.log
#ls -l admin.log
-rw-rw-rw- 1 weblogic users 15487057 Sep 17 01:53 admin.log
위의 부분중에 cat /dev/null admin.log 했을때
사이즈가 0으로 됐다가
다시 admin.log파일이 원래상태로 되돌아옵니다.
물론 cp /dev/null admin.log도 해보았고
> admin.log도 다 해보았으나 클리어 됬다가
바로 원래크기로 되돌아 옵니다.
이런경우 접하신분의 답변을 부탁드립니다.
위에 명시된 의견은 Hewlett Packard Enterprise가 아닌 저자의 개인 의견입니다. 이 사이트를 사용하면 이용 약관에 동의하게되며 참여 규칙 .