When you are no longer concerned with the information in a trace log, you can clear that log. To clear a trace log, do the following:
1. Verify that you have the necessary privilege. To clear a kernel log, you must be logged in as root on the local machine. To clear a server process log, you must be listed in the administrative list associated with that process on the corresponding machine; if necessary, issue the bos lsadmin command to check.
2. Issue the dfstrace clear command to clear each specified log:
$ dfstrace clear [{-set set_name... | -log log_name...}] [-cdsentry server_entry_in_CDS]
The -set set_name option specifies the name of each event set whose logs you want to clear. Specify this option or the -log option; omit both to clear all non-persistent kernel logs on the local machine or all non-persistent server process logs for the server process specified with the -cdsentry option.
The following command clears all logs used by the ftserver process on the machine named fs1:
$ dfstrace clear -cdsentry /.:/hosts/fs1/ftserver