Request System Storage Cleanup - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

request system storage cleanup

Syntax
Syntax (EX Series
Switch)
Release Information
Description
Options
Additional Information
Required Privilege
Level
List of Sample Output
Output Fields
request system
request system
storage cleanup
storage cleanup
dry-run
dry-run
Copyright © 2010, Juniper Networks, Inc.
request system storage cleanup <dry-run>
request system storage cleanup
<all-members>
<dry-run>
<local>
<member member-id>
Command introduced in Junos OS Release 7.4.
option introduced in Junos OS Release 7.6.
dry-run
Command introduced in Junos OS Release 9.0 for EX Series switches.
Free storage space on the router or switch by rotating log files and proposing a list of files
for deletion. User input is required for file deletion.
—(EX4200 switches only) (Optional) Delete files on all members of the
all-members
Virtual Chassis configuration.
dry-run
—(Optional) List files proposed for deletion (without deleting them).
—(EX4200 switches only) (Optional) Delete files on the local Virtual Chassis member.
local
member member-id
—(EX4200 switches only) (Optional) Delete files on the specified
member of the Virtual Chassis configuration. Replace
0 through 9.
If logging is configured and being used, the
case, the output displays the message "Currently rotating log files, please wait." If no
logging is currently underway, the output displays only a list of files to delete.
maintenance
request system storage cleanup dry-run on page 263
request system storage cleanup on page 264
When you enter this command, you are provided feedback on the status of your request.
user@host> request system storage cleanup dry-run
Currently rotating log files, please wait.
This operation can take up to a minute.
List of files to delete:
Size Date
11.4K Mar
8 15:00 /var/log/messages.1.gz
7245B Feb
5 15:00 /var/log/messages.3.gz
11.8K Feb 22 13:00 /var/log/messages.2.gz
3926B Mar 16 13:57 /var/log/messages.0.gz
3962B Feb 22 12:47 /var/log/sampled.1.gz
4146B Mar
8 12:20 /var/log/sampled.0.gz
Chapter 17: Operational Mode Commands for System Setup
option will rotate the log files. In that
dry-run
Name
with a value from
member-id
263

Advertisement

Table of Contents
loading

Table of Contents