errpt grep


 
Thread Tools Search this Thread
Operating Systems AIX errpt grep
# 1  
Old 06-02-2008
errpt grep

Hi All,

I have multiple error on my AIX 53. How do I trim the report per date only?

Please help.

Thanks,
itik
# 2  
Old 06-03-2008
Hi,

you may use the flags -s <startdate> -e <enddate> to create a report for a specific timewindow:
Code:
errpt -s 0602000008 -e 0602235908

reports only errors from yesterday (2nd June).
# 3  
Old 08-01-2008
Thanks

This one really helped me to look at my issues. Is there a way to script this and output it to a file?
# 4  
Old 08-04-2008
What would be the goal of that script? Caputre all errors which occured today until now and store that info somewhere?
Code:
errpt -s `date +%m%d0000%y` >/path/to/logfile

In case you need a different date this link may help:https://www.unix.com/answers-frequent...rithmetic.html
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX errpt

Hi, just a short question: Is a error label always equal to a error identifier? So it does not matter if i search for an specific identifier (errpt -j) or a specific label (errpt -J)? Regards Ron (5 Replies)
Discussion started by: -=XrAy=-
5 Replies

2. AIX

I am getting the following error when I do an errpt. What do I need to do to fix it.

Hi Team, I am getting the following error when I do an errpt. What do I need to do to fix it. LABEL: LVM_SA_STALEPP IDENTIFIER: EAA3D429 Date/Time: Sat 12 Jan 01:10:56 2013 Sequence Number: 880 Machine Id: 00C57B904C00 Node Id: spg-lplaw-01... (1 Reply)
Discussion started by: ranjithm
1 Replies

3. AIX

errpt not giving a result

my system get rebooted by its self after its came up i try to check the error log P690/>errpt | more Cannot open error message catalog /usr/lib/nls/msg/en_US/codepoint.cat. The error report will still run, but it will not have explanatory messages P690/>ls -lrt... (1 Reply)
Discussion started by: thecobra151
1 Replies

4. Emergency UNIX and Linux Support

errpt in AIX

The below is my code in general according to AIX books To display a detailed report of all errors logged in the past 24 hours, enter: errpt -a -s mmddhhmmyy where the mmddhhmmyy string equals the current month, day, hour, minute, and year, minus 24 hours. I have tried the... (2 Replies)
Discussion started by: Sounddappan
2 Replies

5. AIX

errpt message

Hello I have this message from errpt command IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION BFE4C025 0803155809 P H sysplanar0 UNDETERMINED ERROR BFE4C025 0802155509 P H sysplanar0 UNDETERMINED ERROR BFE4C025 0801155209 P H sysplanar0 UNDETERMINED ERROR BFE4C025 ... (6 Replies)
Discussion started by: lo-lp-kl
6 Replies

6. UNIX for Dummies Questions & Answers

Format output of errpt

When i use the errpt command, i just want to see the timestamp and description only. How do i filter this out. errpt |awk '{print $2,$6}' The above commnad works but the description field becomes truncated. The result for the above command as below TIMESTAMP DESCRIPTION 0524143109... (7 Replies)
Discussion started by: ienaris
7 Replies

7. Shell Programming and Scripting

errpt script

I am looking for a script out there that can email me when my AIX server throws and error that is picked up by errpt -a Thanks SeaCros (6 Replies)
Discussion started by: seacros
6 Replies

8. AIX

Exclude junks from errpt

I've got an issue where some application is reporting errors and keeps writing to errpt every 10 seconds, filling it up. While trying to find out what application it is, is there anyway to exclude these errors from reporting to errpt? BD194808 0306120707 N U FFST BD194808 ... (1 Reply)
Discussion started by: kiem
1 Replies

9. UNIX for Dummies Questions & Answers

errpt

Hello World, When I issue the errpt command 1581762B 0826133303 T H hdisk1 DISK OPERATION ERROR C14C511C 0826133303 T H scsi0 ADAPTER ERROR I found these two unusual errors, wat exactly do these mean ? Im on an aix box. Thanks (3 Replies)
Discussion started by: cubicle^dweller
3 Replies

10. UNIX for Dummies Questions & Answers

errpt on aix entry.

hi, i have an entry in errpt on aix... any help? --------------------------------------------------------------------------- LABEL: AMQFFST3 IDENTIFIER: 8FED25B9 Date/Time: Fri Nov 15 07:20:05 Sequence Number: 2715 Machine Id: 000694DF4C00 Node Id: ... (1 Reply)
Discussion started by: yls177
1 Replies
Login or Register to Ask a Question