ÈÀϸí : log.txt
....
2008-04-30-01.05.13.239489+540 I1230A447 LEVEL: Event
PID : 636774 TID : 1 PROC : db2agntp (EDWPROD) 42
INSTANCE: edwinstp NODE : 042 DB : EDWPROD
APPHDL : 11-1108 APPID: *N11.DB2.080427145218
AUTHID : EDWINSTP
FUNCTION: DB2 UDB, config/install, sqlfLogUpdateCfgParam, probe:20
CHANGE : STMM CFG DB EDWPROD: "Sortheap" From: "37840" <automatic> To: "35675" <automatic>
....
±×·±µ¥...À§¿Í °°Àº ³»¿ë¿¡¼¿ä...
³¯Â¥¿Í ³»¿ë¿¡ Æ÷ÇÔµÈ Á¦Àϳ¡¹®Àå¶óÀο¡ Æ÷ÇÔµÈ SortheapÀ̶ó´Â °Í¸¸À» »Ì¾Æ³»·Á°í Çϴ°Ͱú(1)
³¯Â¥ÀÇ ¹üÀ§¸¦ ÁÖ¸é¼ ¿ª½Ã SortheapÀ̶ó´Â °ÍÀ» ÇÏ·ÁÇϴµ¥...(2)
À߾ȵdz׿ä.
Á¦°¡ Çغ»¹æ¹ýÀº
(1)¿¡ ´ëÇؼ´Â
# cat log.txt | grep '2008-04-30' | grep Sortheap ÀÌ·¸°Ô Çß±¸¿ä
(2)¿¡ ´ëÇؼ´Â (½Ã°£¹üÀ§¸¦ 2008³â 4¿ù 30ÀÏ 1½Ã 00ºÐ 00ÃÊ¿¡¼ 2008³â 4¿ù 30ÀÏ 12½Ã 00ºÐ 00Ãʶó°í ÇÒ¶§)
# cat log.txt | grep '2008-04-30-01.00.00:2008-04-30-12.00.00' | grep Sortheap
¿Í °°ÀÌ Çߴµ¥....
°ªÀÌ ÃßÃâµÇÁö°¡ ¾Ê³×¿ä... µµ¿òÁ» ¹Ù¶ø´Ï´Ù.
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.