find ./ -name "ULOG.*" -mtime -3 | xargs grep 'error' > test.txt
# vi test.txt
"test.txt" 24 lines, 3099 characters
./ULOG.110622:223915.node1!JSH.5964354.1.-2: JOLT_CAT:1611: "ERROR: SSL error 29019"
./ULOG.110722:101333.node1!tmboot.2949710.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error)
./ULOG.110722:102833.node1!tmboot.14877172.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:105046.node1!tmboot.28836500.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:110041.node1!tmboot.50266708.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:111854.node1!tmboot.32899804.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:112515.node1!tmboot.43385340.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:130144.node1!tmboot.32047536.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:130503.node1!tmboot.57672434.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:132048.node1!tmboot.6619526.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error)
./ULOG.110722:132328.node1!tmboot.53281046.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:132525.node1!tmboot.26215080.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:151744.node1!tmboot.48955942.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:152032.node1!tmboot.59966012.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110722:160050.node1!tmshutdown.24773360.1.-2: FATAL: internal error: CMDTUX_CAT:1443: ERROR: can't attach to BB
./ULOG.110822:112010.node1!tmshutdown.34734772.1.-2: FATAL: internal error: CMDTUX_CAT:1443: ERROR: can't attach to BB
./ULOG.110822:112116.node1!tmboot.23855462.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110822:112259.node1!tmboot.21430862.1.-2: CMDTUX_CAT:825: ERROR: Process WSL at AIX1 failed with /T tperrno (TPESYSTEM - internal system error
)
./ULOG.110822:160807.node1!JSH.43254234.1.-2: JOLT_CAT:1611: "ERROR: SSL error 29019"
./ULOG.110822:165904.node1!JSH.3998338.1.-2: JOLT_CAT:1611: "ERROR: SSL error 29019"
./ULOG.110922:000614.node1!JSH.43254234.1.-2: JOLT_CAT:1611: "ERROR: SSL error 29019"
./ULOG.110922:130108.node1!JSH.3998338.1.-2: JOLT_CAT:1611: "ERROR: SSL error 29019"
./ULOG.110922:130130.node1!JSH.3998338.1.-2: JOLT_CAT:1611: "ERROR: SSL error 29019"
./ULOG.110922:154335.node1!JSH.43254234.1.-2: JOLT_CAT:1611: "ERROR: SSL error 29019"
~
~
"test.txt" 24 lines, 3099 characters
'OS > Linux&Unix' 카테고리의 다른 글
[Linux/Unix] 디렉토리 내의 공백인 파일 삭제하기 - inode값 확인 (0) | 2022.11.21 |
---|---|
[Linux/Unix] 모든 사용자 확인하기 (0) | 2022.11.10 |
[Linux/Unix] inode로 파일/디렉토리 삭제하기. inode 확인하기. (0) | 2022.11.08 |
[LINUX/UNIX] 정규표현식 grep (0) | 2022.11.08 |
[Linux/Unix] wc 명령어 - word count (0) | 2022.11.08 |