NIO CommKit Host Interface Installation and System Administration Manual
4-13
Administering the CommKit Software and the STREAMS Listener
Cleaning Up Growing Files
Cleaning Up Growing Files
A running CommKit system causes certain files to grow in size. If you do
not monitor their size, they could cause disk space resource problems. You
should periodically check the size of the following files:
• The CommKit server log files, one log file per server, located at /var/opt/dk/log/
dksrvlog* and /var/opt/dk/log/dkdaemonlog*.
• The accounting file wtmp, which records login information and is located at
/var/adm/wtmp.
• The nlsadmin log files, stored in /usr/net/nls/<net_spec>.
• The STREAMS error log files, stored in /usr/adm/streams.
To clean up the CommKit server log file, the wtmp file, or the nlsadmin log
files, log in as superuser and then enter a command similar to the following:
# cat /dev/null >
filename
You would substitute the name of the file you want to clean up for filename.
You can use the cat command safely while the system is running.
To clean up the STREAMS error log files when they are no longer useful,
remove them using the HP-UX rm command.