# errpt IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 9DBCFDEE 0109034400 T O errdemon ERROR LOGGING TURNED ON 192AC071 0109034300 T O errdemon ERROR LOGGING TURNED OFF C092AFE4 0109033500 I O ctcasd ctcasd Daemon Started A6DF45AA 0109033500 I O RMCdaemon The daemon is started. 9DBCFDEE 0109033400 T O errdemon ERROR LOGGING TURNED ON 192AC071 0106130900 T O errdemon ERROR LOGGING TURNED OFF 369D049B 0106082400 I O SYSPFS UNABLE TO ALLOCATE SPACE IN FILE SYSTE 這里的輸出分為六列依次為: 1.錯誤標示符IDENTIFIER:并不唯一,由它來(lái)確定使用的錯誤模板,顯然同一種錯誤的IDENTIFIER是相同的。 2.時(shí)間戳TIMESTAMP:錯誤發(fā)生的時(shí)間,MMDDhhmmYY,依次表示月日時(shí)分年。 3.類(lèi)型TYPE:錯誤的類(lèi)型,或者說(shuō)嚴重的程度。 分為6個(gè): PEND 設備或功能組件可能丟失 簡(jiǎn)寫(xiě)P PERF 性能?chē)乐叵陆?nbsp; P PERM 硬件設備或軟件模塊損壞,確診了的 P TEMP 臨時(shí)性錯誤,經(jīng)過(guò)重試后已經(jīng)恢復正常 T INFO 一般消息,不是錯誤 I UNKN 不能確定錯誤的嚴重性 U 4.種類(lèi)CLASS c:指出錯誤源 H 硬件或介質(zhì)故障 S 軟件故障 O 人為錯誤 U 不能確定 5. 資源名RESOURCE_NAME 最初檢測到錯誤的資源名軟件或者硬件,并不代表這個(gè)資源有問(wèn)題,而只是最先在它發(fā)現的。 6.描述
顯示詳細的日志信息 # errpt -a|more Standard input --------------------------------------------------------------------------- Standard input LABEL: ERRLOG_ON IDENTIFIER: 9DBCFDEE Date/Time: Sun Jan 9 03:44:04 BEIS Sequence Number: 309 Machine Id: 004250B94C00 Node Id: ibm-5L Class: O Type: TEMP Resource Name: errdemon Description ERROR LOGGING TURNED ON Probable Causes ERRDEMON STARTED AUTOMATICALLY User Causes /USR/LIB/ERRDEMON COMMAND Recommended Actions NONE
# errpt -a -j 74533D1A # errpt -s 0108100100 IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 9DBCFDEE 0109034400 T O errdemon ERROR LOGGING TURNED ON 192AC071 0109034300 T O errdemon ERROR LOGGING TURNED OFF C092AFE4 0109033500 I O ctcasd ctcasd Daemon Started A6DF45AA 0109033500 I O RMCdaemon The daemon is started. 9DBCFDEE 0109033400 T O errdemon ERROR LOGGING TURNED ON
其中,各項的含義 信息類(lèi)別 auth used by authorization systems (login) cron used for the cron and at systems daemon system/netword daemon kern produced by kernel messages lpr printing system mail mail system mark internally used for time stamps news reserved for the news system user default facility, used for any program uucp reserved for the uucp system
錯誤等級 debug normally used for debugging info informational messages notice conditions that may require attention Warning any warnings err any errors crit critical conditions like hardware problems Alert any condition that demand immediate attention emerg any emergency condition none Do not send messages from the indicated f acility to the selected file.