You can use the J-Web interface to rotate log files and delete unnecessary log, temporary,
and crash files on the switch.
1.
Cleaning Up Files on page 168
2.
Downloading Files on page 168
3.
Deleting Files on page 169
Cleaning Up Files
If you are running low on storage space, use the file cleanup procedure to quickly identify
files to delete.
The file cleanup procedure performs the following tasks:
•
Rotates log files—Archives the current log files, and creates fresh log files.
•
Deletes log files in /var/log—Deletes files that are not currently being written to.
•
Deletes temporary files in /var/tmp—Deletes files that have not been accessed within
two days.
•
Deletes all crash files in /var/crash—Deletes core files that the switch has written during
an error.
To rotate log files and delete unnecessary files with the J-Web interface:
1. Select Maintain > Files.
2. In the Clean Up Files section, click Clean Up Files. The switching platform rotates log
files and identifies 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.
3. Click one of the following options:
•
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.
Downloading Files
You can use the J-Web interface to download a copy of an individual log, temporary, or
crash file from the switching platform. When you download a file, it is not deleted from
the file system.
To download files with the J-Web interface:
1. In the J-Web interface, select Maintain > Files.
2. In the Download and Delete Files section, Click one of the following options:
Copyright © 2017, Juniper Networks, Inc.168
J-Web Application Package User Guide for EX Series Switches, Release 14.1X53-A1