Log in as root on the software usage monitoring server.
Move the master log file to a temporary log file.
# mv /var/opt/SUNWswusg/swusage.log /tmp/tmp.log |
Perform any processing you wish to /tmp/tmp.log.
Remove /tmp/tmp.log.
# rm /tmp/tmp.log |
Log out.
This procedure moves all the software usage record entries located in swusage.log to a new file; any new records generated during this procedure will cause a new swusage.log file to be created.