Log Files

Log files are used to hold information intended for the system administrator to look at when required. They need to be looked at depending on the type of information they contain, but if they are never likely to be looked at there is probably little point wasting disk space by storing the data. The major log files you need to be aware of are shown in Table 6.10, with guidance on how to keep them from growing too large.

Table 6.10. Common Solaris Log Files
LogDescriptionHousekeeping Method
/var/adm/utmpContains information about who is currently logged in and is read by the who command. Do not trim or remove this file unless it becomes corrupt. Replaced by /var/adm/utmpx in Solaris 9.Do not touch this file unless the who command gives ...

Get Solaris™ Operating Environment Boot Camp now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.