[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
Cleaning Up Files
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.
Figure 28 shows the Clean
Up Files page.
Figure 28: Clean Up Files Page

To rotate log files and delete unnecessary files with the J-Web interface:
- In the J-Web interface, select Manage>Files.
- In the Clean Up Files section, click Clean Up Files. The device rotates log files and identifies
the files that can be safely deleted.
The J-Web interface displays the files that you can delete and the amount
of space that will be freed on the file system.
- Click one of the following buttons on the confirmation
page:
- To delete the files and return to the Files page, click OK.
- To cancel your entries and return to the list of files
in the directory, click Cancel.
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]