AIX errdemon 명령
3865 단어 errdemon
명령 형식:
- Usage:
- errdemon -i filename -s value -B value [ -d | -D -m maxdups -t time ] | -l
- -i filename Uses the error log file specified by the filename parameter.
- If this flag is not specified, the default system error log file,
- /var/adm/ras/errlog, is used.
- -s value Set the error log file maximum size.
- Valid range is 8192 bytes to your ulimit in bytes.
- -B value Set the error log file memory buffer size.
- This must be a minimum of 8192 bytes.
- -d Turn duplicate checking off.
- -D Turn duplicate checking on (the default).
- -m maxdups Maximum accumulated duplicates.
- -t time Duplicate handling time interval.
- -l Show the error log attributes.
시작:
- # /usr/lib/errdemon
: , :
0315-100 The error log device driver, /dev/error, is already open.
The error demon may already be active.
오류 로그 파일 크기를 수정하려면 다음과 같이 하십시오.
- /usr/lib/errdemon -s 1638400
캐시 크기 수정:
- # /usr/lib/errdemon -B 65536
- 0315-175 The error log memory buffer size you supplied will be rounded up
- to a multiple of 4096 bytes.
결과:
- # /usr/lib/errdemon -l
- Error Log Attributes
- --------------------------------------------
- Log File /var/adm/ras/errlog
- Log Size 1638400 bytes
- Memory Buffer Size 65536 bytes
- Duplicate Removal true
- Duplicate Interval 10000 milliseconds
- Duplicate Error Maximum 1000
중지 명령:
- /usr/lib/errstop