21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To delete all entries from the error log, enter:<br />

# errclear 0<br />

To delete all entries in the error log classified as software errors, enter:<br />

# errclear -d S 0<br />

6.5 Accounting<br />

Flag Description<br />

-y FileName Uses the error record template file specified by the FileName<br />

variable.<br />

To clear all entries from the alternate error log file /var/adm/ras/errlog.alternate,<br />

enter:<br />

# errclear -i /var/adm/ras/myerrlog 0<br />

To clear all hardware entries from the alternate error log file<br />

/var/adm/ras/errlog.alternate, enter:<br />

# errclear -i /var/adm/ras/myerrlog -d H 0<br />

Note: Once the errclear command has been run, it clears the error log, and<br />

this data is no longer available. To get this error information, the error log<br />

would have to be restored from a backup prior to running the errclear<br />

command.<br />

The accounting system allows you to collect and report on individual, group, and<br />

Workload Manager (WLM) class use of various system resources. This<br />

accounting information can be used to bill users for the system resources they<br />

utilize, and to monitor selected aspects of the system operation. To assist with<br />

billing, the accounting system provides the resource-usage totals defined by<br />

members of the adm group, and, if the chargefee command is included, factors<br />

in the billing fee. The fileset bos.acct contains the accounting commands and<br />

configuration files.<br />

The accounting system also provides data to assess the adequacy of current<br />

resource assignments, set resource limits and quotas, forecast future needs, and<br />

order supplies for printers and other devices.<br />

Chapter 6. Error reports 127

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!