Operating System - Tru64 Unix
1751976 Members
4445 Online
108784 Solutions
New Discussion юеВ

Maintenance of Tru64 unix

 
SOLVED
Go to solution
WilliamSmith11
Super Advisor

Maintenance of Tru64 unix

Hi I am going to do a software maintenance of Tru64 5.1B and 4.0f system .

I always do a:

# cd /var/adm
#>utmp
#>wtmp


#>binary.errlog
# cd /
#>mail

# find / -name crash -print
/var/cluster/members/member0/adm/crash
/var/adm/crash

cd /var/cluster/members/member0/adm/crash
ls

remove crashes if are present

question
Some other file that I can clean with security with out that damage the system.

Thank you ..

W.S
rperez
2 REPLIES 2
Venkatesh BL
Honored Contributor
Solution

Re: Maintenance of Tru64 unix

One that I can think of are the 'core' files. Application could leave behind core file if they exit due to unexpected error. So, you could do a 'find' and look for these files and get rid of them.
Michael Schulte zur Sur
Honored Contributor

Re: Maintenance of Tru64 unix

Hi,

do not do > on open files. This may bring problems, if the process having the file open writes again. You will get a file with the old length but the rest is garbage.
Use cat /dev/null > logile
Under 5.1 you can force the binary error logger to switch the file, save the old one and start a new one by sending it an USR1 signal.
kill -USR1 `cat /var/run/binlogd.pid`
See man binlogd.

greetings,

Michael