Delete events showing in evweb eventviewer

If your event log is getting full

root@hp-ux:~ # evweb eventviewer -L

EvArchNo Severity Event # Event Category Archive Time Summary
========= ========= ============== ============== =================== ==============================
17820 Critical 187 Secondary S… 2013-09-26 14:08:51 An attempt to probe existin…
17819 Critical 187 Secondary S… 2013-09-26 14:08:48 An attempt to probe existin…
17818 Critical 187 Secondary S… 2013-09-26 14:08:46 An attempt to probe existin…
17817 Critical 187 Secondary S… 2013-09-26 14:08:44 An attempt to probe existin…
17816 Critical 187 Secondary S… 2013-09-26 13:36:04 An attempt to probe existin…
17815 Critical 187 Secondary S… 2013-09-26 13:35:58 An attempt to probe existin…
17814 Critical 187 Secondary S… 2013-09-26 13:35:56 An attempt to probe existin…
17813 Critical 187 Secondary S… 2013-09-26 13:35:54 An attempt to probe existin…
17812 Critical 187 Secondary S… 2013-09-26 13:32:44 An attempt to probe existin…
17811 Critical 187 Secondary S… 2013-09-26 13:32:38 An attempt to probe existin…
17810 Critical 187 Secondary S… 2013-09-26 13:32:36 An attempt to probe existin…
17809 Critical 187 Secondary S… 2013-09-26 13:32:34 An attempt to probe existin…
17808 Critical 187 Secondary S… 2013-09-26 13:29:14 An attempt to probe existin…
17807 Critical 187 Secondary S… 2013-09-26 13:28:23 An attempt to probe existin…
17806 Critical 187 Secondary S… 2013-09-26 13:28:21 An attempt to probe existin…
17805 Critical 187 Secondary S… 2013-09-26 13:28:19 An attempt to probe existin…

You can delete all the events running the command below. If you put -f it won’t ask you to delete the events

root@hp-ux:~ # evweb eventviewer [-f] -D
Are you sure you want to delete the event(s) (y/n)? [n]:
y

The execution of command was successful.

Run evweb eventviewer -L to list the events

root@hp-ux:~ # evweb eventviewer -L

EvArchNo Severity Event # Event Category Archive Time Summary
========= ========= ============== ============== =================== ==============================

Advertisement