AIX errdemon 명령

3865 단어 errdemon
errdemon 프로세스는/dev/error 파일을 지속적으로 검사하고 error 정보를 수집합니다.
명령 형식:

  
  
  
  
  1. Usage:  
  2. errdemon -i filename -s value -B value [ -d | -D -m maxdups -t time ] | -l  
  3. -i filename  Uses the error log file specified by the filename parameter.  
  4.              If this flag is not specified, the default system error log file,  
  5.              /var/adm/ras/errlog, is used.  
  6. -s value     Set the error log file maximum size.  
  7.              Valid range is 8192 bytes to your ulimit in bytes.  
  8. -B value     Set the error log file memory buffer size.  
  9.              This must be a minimum of 8192 bytes.  
  10. -d           Turn duplicate checking off.  
  11. -D           Turn duplicate checking on (the default).  
  12. -m maxdups   Maximum accumulated duplicates.  
  13. -t time      Duplicate handling time interval.  
  14. -l           Show the error log attributes. 

시작:

  
  
  
  
  1. # /usr/lib/errdemon 
 : , :
0315-100 The error log device driver, /dev/error, is already open.
The error demon may already be active.

오류 로그 파일 크기를 수정하려면 다음과 같이 하십시오.

  
  
  
  
  1. /usr/lib/errdemon -s 1638400

캐시 크기 수정:

  
  
  
  
  1. # /usr/lib/errdemon -B 65536  
  2. 0315-175 The error log memory buffer size you supplied will be rounded up  
  3. to a multiple of 4096 bytes. 

결과:

  
  
  
  
  1. # /usr/lib/errdemon -l  
  2. Error Log Attributes  
  3. --------------------------------------------  
  4. Log File                /var/adm/ras/errlog  
  5. Log Size                1638400 bytes  
  6. Memory Buffer Size      65536 bytes  
  7. Duplicate Removal       true  
  8. Duplicate Interval      10000 milliseconds  
  9. Duplicate Error Maximum 1000 

중지 명령:

  
  
  
  
  1. /usr/lib/errstop 

좋은 웹페이지 즐겨찾기