1837655 Members
2809 Online
110117 Solutions
New Discussion

Re: /var/adm/diag

 
Ali Imran Abbas
Regular Advisor

/var/adm/diag

What does /var/adm/diag contain? Are these logs important, is it safe to delete them?
1 REPLY 1
Grayh
Trusted Contributor

Re: /var/adm/diag

***/var/adm/diag are diagnostic logs and can be safely deleted without any harm.***

Many logs are kept in HP-UX systems and the majority grow without bounds,
which can generate the infamous "file system full" message. The root
filesystem is by far the most critical in that many HP-UX processes depend on
having some space available, including space for logfiles. Many of these
logfiles are optional and are not created in a default system, but there are
several that do exist and should be monitored.

Some very common ones that can grow quickly are:

/var/adm/syslog/syslog.log (network and system logs)
/var/adm/diag/LOG* (diagnostic logs)
/var/adm/wtmp (login/logout, etc)
/var/adm/syslog/mail.log (mail log)
/var/adm/lp/log (lp log)

And it is safe to delete the files without any harm to the server.