You can use the J-Web interface to rotate log files and delete unnecessary
files on the Services Router. If you are running low on storage space,
the file cleanup procedure quickly identifies files that can be deleted.
The file cleanup procedure performs the following tasks:
Rotates log files—All information in the current
log files is archived, and fresh log files are created.
Deletes log files in /var/log—Any files
that are not currently being written to are deleted.
Deletes temporary files in /var/tmp—Any
files that have not been accessed within two days are deleted.
Deletes all crash files in /var/crash—Any
core files that the device has written during an error are
deleted.
Deletes all software images (*.tgz files) in
/var/sw/pkg—Any software images copied to this directory
during software upgrades are deleted.