Run the following commands to view the contents of the /var directory:
cd /varls -l
The directories that are usually of interest are as follows:
/var/nstrace – This directory contains trace files.This is the most common reason for HDD being filled on the NetScaler. This is due to an nstrace being left running for indefinite amount of time. All traces that are not of interest can and should be deleted. To stop an nstrace, go back to the CLI and issue stop nstrace command.
/var/log – This directory contains system specific log files.
/var/nslog – This directory contains NetScaler log files.
/var/tmp/support – This directory contains technical support files, also known as, support bundles. All files not of interest should be deleted.
/var/core – Core dumps are stored in this directory. There will be directories within this directory and they will be labeled with numbers starting with 1. These files can be quite large in size. Clear all files unless the core dumps are recent and investigation is required.
/var/crash – Crash files, such as process crashes are stored in this directory. Clear all files unless the crashes are recent and investigation is required.
/var/nsinstall – Firmware is placed in this directory when upgrading. Clear all files, except the firmware that is currently being used.