request system storage cleanup (Junos OS)
Syntax
request system storage cleanup <dry-run> <no-confirm> <re0 | re1 | routing-engine (backup | both | local | master | other)>
Syntax (EX Series Switches)
request system storage cleanup <all-members> <dry-run> <local> <member member-id> <no-confirm> <re0 | re1 | routing-engine (backup | both | local | master | other)> <satellite [slot-id slot-id |device-alias alias-name]>
Syntax (MX Series Router)
request system storage cleanup <all-members> <dry-run> <local> <member member-id> <no-confirm> <re0 | re1 | routing-engine (backup | both | local | master | other)> <satellite [slot-id slot-id |device-alias alias-name]>
Syntax (QFX Series)
request system storage cleanup <component (serial number | UUID | all)> <director-group name> <dry-run> <infrastructure name> <interconnect-device name> <name-tag name-tag> <no-confirm> <node-group name> <prune> <qfabric (component name) | dry-run | name-tag | repository)> <repository (core | log)> <re0 | re1 | routing-engine (backup | both | local | master | other)>
Syntax (SRX Series)
request system storage cleanup <dry-run> <no-confirm> <re0 | re1 | routing-engine (backup | both | local | master | other)>
Description
Use this command to free storage space on the router or switch by rotating log files and proposing a list of files for deletion. On a QFabric system, you can delete debug files located on individual devices or on the entire QFabric system.
Options
all-members |
(EX4200 switches and MX Series routers only) (Optional) Delete files on the Virtual Chassis primary Routing Engine only. To delete files on the other members of the Virtual Chassis configuration, log in to
each backup Routing Engine and delete the files using the |
component (UUID | serial number | all) |
(QFabric systems only) (Optional) Delete files located on individual QFabric system devices or on the entire QFabric system. |
director-group name |
(QFabric systems only) (Optional) Delete files on the director group. |
dry-run |
(Optional) List files proposed for deletion (without deleting them). |
infrastructure name |
(QFabric systems only) (Optional) Delete files on the fabric control Routing Engine and fabric manager Routing Engine. |
interconnect-device name |
(QFabric systems only) (Optional) Delete files on the Interconnect device. |
local |
(EX4200 switches and MX Series routers only) (Optional) Delete files on the local Virtual Chassis member. |
member member-id |
(EX4200 switches and MX Series routers only) (Optional) Delete files on the specified
member of the Virtual Chassis configuration. For EX4200 switches, replace
|
name-tag name-tag |
(QFabric systems only) (Optional) Delete debug files that match a specific regular expression. |
node-group name |
(QFabric systems only) (Optional) Delete files on the Node group. |
no-confirm |
(Optional) Do not ask for confirmation before doing the cleanup. |
prune |
(QFabric systems only) (Optional) Delete debug files located in either the core or log debug repositories of a QFabric system device. |
qfabric component name |
(QFabric systems only) (Optional) Delete debug files located in the debug repositories of a QFabric system device. |
(re0 | re1 | routing-engine (backup | both | local | master | other)) |
(Optional) Request operation on system storage on RE0, RE1, or on specified Routing Engine by these classifications: backup, both, local, primary, or other. When Routing Engine is specified, the below message is shown before listing the files and deleting them. Please check the list of files to be deleted using the dry-run option. i.e. request system storage cleanup dry-run Do you want to proceed ? [yes,no] (no) |
repository (core | log) |
(QFabric systems only) (Optional) Specify the repository on the QFabric system device for which you want to delete debug files. |
satellite [slot-id slot-id | device-alias alias-name] |
(Junos Fusion only) (Optional) Specify the satellite device in the Junos Fusion by FPC ID or device alias name for which you want to delete debug files. |
Additional Information
If logging is configured and being used, the dry-run
option rotates the
log files. In that case, the output displays the message “Currently rotating log files,
please wait.” If no logging is currently under way, the output displays only a list of files
to delete.
Required Privilege Level
maintenance
Output Fields
Table 1
describes the output fields for the request system storage cleanup
command.
Output fields are listed in the approximate order in which they appear.
Field Name |
Field Description |
---|---|
|
Shows list of files available for deletion. |
|
Size of the core-dump file. |
|
Last core-dump file modification date and time. |
|
Name of the core-dump file. |
|
Shows list of directories available for deletion. |
|
Repository where core-dump files and log files are stored. The core-dump files
are located in the |
|
Name of the top-level repository location. |
|
Name of the repository: |
|
Shows location of files available for deletion. |
|
Shows list of files available for deletion. |
Sample Output
- request system storage cleanup dry-run
- request system storage cleanup
- request system storage cleanup director-group (QFabric Systems)
- request system storage cleanup infrastructure device-name (QFabric Systems)
- request system storage cleanup interconnect-device device-name (QFabric Systems)
- request system storage cleanup node-group group-name (QFabric Systems)
- request system storage cleanup qfabric component device-name (QFabric Systems)
- request system storage cleanup qfabric component device-name repository core (QFabric Systems)
- request system storage cleanup qfabric component all (QFabric Systems)
request system storage cleanup dry-run
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 Name 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 4708B Dec 21 11:39 /var/log/sampled.2.gz 7068B Jan 16 18:00 /var/log/messages.4.gz 13.7K Dec 27 22:00 /var/log/messages.5.gz 890B Feb 22 17:22 /var/tmp/sampled.pkts 65.8M Oct 26 09:10 /var/sw/pkg/jinstall-7.4R1.7-export-signed.tgz 63.1M Oct 26 09:13 /var/sw/pkg/jbundle-7.4R1.7.tgz
request system storage cleanup
user@host> request system storage cleanup Currently rotating log files, please wait. This operation can take up to a minute. List of files to delete: Size Date Name 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 11.6K Mar 8 15:00 /var/log/messages.5.gz 7254B Feb 5 15:00 /var/log/messages.6.gz 12.9K Feb 22 13:00 /var/log/messages.8.gz 3726B Mar 16 13:57 /var/log/messages.7.gz 3962B Feb 22 12:47 /var/log/sampled.1.gz 4146B Mar 8 12:20 /var/log/sampled.0.gz 4708B Dec 21 11:39 /var/log/sampled.2.gz 7068B Jan 16 18:00 /var/log/messages.4.gz 13.7K Dec 27 22:00 /var/log/messages.5.gz 890B Feb 22 17:22 /var/tmp/sampled.pkts 65.8M Oct 26 09:10 /var/sw/pkg/jinstall-7.4R1.7-export-signed.tgz 63.1M Oct 26 09:13 /var/sw/pkg/jbundle-7.4R1.7.tgz Delete these files ? [yes,no] (yes)
request system storage cleanup director-group (QFabric Systems)
user@switch> request system storage cleanup director-group List of files to delete: Size Date Name 4.0K 2011-11-07 05:16:29 /tmp/2064.sfcauth 4.0K 2011-11-07 05:07:34 /tmp/30804.sfcauth 4.0K 2011-11-07 04:13:41 /tmp/26792.sfcauth 4.0K 2011-11-07 04:13:39 /tmp/26432.sfcauth 0 2011-11-07 07:45:40 /tmp/cluster_cleanup.log 1.3M 2011-11-07 07:39:11 /tmp/cn_monitor.20111107-052401.log 4.0K 2011-11-07 07:36:29 /tmp/clustat.28019.log 4.0K 2011-11-07 07:36:29 /tmp/clustat_x.28019.log 9.6M 2011-11-07 05:30:24 /tmp/sfc.2.log 4.0K 2011-11-07 05:28:11 /tmp/mgd-init.1320672491.log 248K 2011-11-07 05:19:24 /tmp/cn_monitor.20111107-045111.log 4.0K 2011-11-07 05:17:18 /tmp/clustat.3401.log 4.0K 2011-11-07 05:17:18 /tmp/clustat_x.3401.log 8.0K 2011-11-07 04:58:25 /tmp/mgd-init.1320670633.log 0 2011-11-07 04:54:01 /tmp/mysql_db_install_5.1.37.log 4.0K 2011-11-07 04:52:08 /tmp/cn_send.log 0 2011-11-07 04:52:00 /tmp/init_eth0.log 4.0K 2011-11-07 04:49:35 /tmp/install_interfaces.sh.log 4.0K 2011-11-07 04:48:15 /tmp/bootstrap.sh.log 160K 2011-11-07 04:47:43 /tmp/bootstrap_cleanup.log 38M 2011-11-07 04:42:42 /tmp/cn_monitor.20111104-110308.log 4.0K 2011-11-07 04:38:47 /tmp/clustat.30913.log 4.0K 2011-11-07 04:38:47 /tmp/clustat_x.30913.log 4.0K 2011-11-07 04:38:03 /tmp/dcf_upgrade.sh.remove.log 4.0K 2011-11-07 04:38:03 /tmp/peer_update.log 4.0K 2011-11-07 04:38:02 /tmp/dcf_upgrade.log 4.0K 2011-11-07 04:38:02 /tmp/perl_mark_upgrade.log 8.0K 2011-11-07 04:13:42 /tmp/install_dcf_rpm.log 4.0K 2011-11-07 04:13:06 /tmp/00_cleanup.sh.1320667986.log 0 2011-11-07 04:13:06 /tmp/ccif_patch_4410_4450.sh.1320667986.log 4.0K 2011-11-07 04:13:06 /tmp/dcf-tools.sh.1320667986.log 0 2011-11-07 04:13:06 /tmp/initial.sh.1320667986.log 0 2011-11-07 04:13:06 /tmp/inventory.sh.1320667986.log 4.0K 2011-11-07 04:13:06 /tmp/qf-db.sh.1320667986.log 4.0K 2011-11-07 04:13:06 /tmp/sfc.sh.1320667986.log 8.0K 2011-11-07 04:13:05 /tmp/jinstall-qfabric.log 8.0K 2011-11-04 11:10:24 /tmp/mgd-init.1320430192.log 4.0K 2011-11-04 11:07:03 /tmp/mysql_dcf_db_install.log 8.0K 2011-11-04 10:55:07 /tmp/ccif_patch_4410_4450.sh.1320429307.log 8.0K 2011-11-04 10:55:07 /tmp/initial.sh.1320429307.log 4.0K 2011-11-04 10:55:07 /tmp/inventory.sh.1320429307.log 8.0K 2011-11-04 10:55:07 /tmp/sfc.sh.1320429307.log 4.0K 2011-11-04 10:54:09 /tmp/ks-script-Ax0tz5.log 4.0K 2011-11-07 04:13:06 /tmp//sfc.sh.1320667986.log 8.0K 2011-11-04 10:55:07 /tmp//sfc.sh.1320429307.log Directory to delete: 45M 2011-11-08 10:57:43 /tmp/sfc-captures List of files to delete: Size Date Name 4.0K 2011-11-08 05:47:47 /tmp/5713.sfcauth 4.0K 2011-11-08 05:14:32 /tmp/14494.sfcauth 4.0K 2011-11-08 05:11:47 /tmp/9978.sfcauth 4.0K 2011-11-08 05:09:37 /tmp/6128.sfcauth 4.0K 2011-11-08 05:04:28 /tmp/29703.sfcauth 4.0K 2011-11-07 11:59:10 /tmp/7811.sfcauth 4.0K 2011-11-07 11:36:08 /tmp/32415.sfcauth 4.0K 2011-11-07 11:30:30 /tmp/22406.sfcauth 4.0K 2011-11-07 11:24:37 /tmp/12131.sfcauth 4.0K 2011-11-07 10:48:42 /tmp/12687.sfcauth 4.0K 2011-11-07 09:27:20 /tmp/31082.sfcauth 4.0K 2011-11-07 07:33:58 /tmp/14633.sfcauth 4.0K 2011-11-07 05:08:25 /tmp/15447.sfcauth 4.0K 2011-11-07 04:12:29 /tmp/26874.sfcauth 4.0K 2011-11-07 04:12:27 /tmp/26713.sfcauth 4.0K 2011-11-07 03:49:17 /tmp/17691.sfcauth 4.0K 2011-11-05 01:32:23 /tmp/5716.sfcauth 4.0K 2011-11-07 08:00:17 /tmp/sfcsnmpd.log 4.0K 2011-11-07 07:57:50 /tmp/cluster_cleanup.log 824K 2011-11-07 07:38:37 /tmp/cn_monitor.20111107-053643.log 4.0K 2011-11-07 07:36:30 /tmp/clustat.18399.log 4.0K 2011-11-07 07:36:30 /tmp/clustat_x.18399.log 4.0K 2011-11-07 07:35:47 /tmp/command_lock.log 4.0K 2011-11-07 05:39:54 /tmp/mgd-init.1320673194.log 92K 2011-11-07 05:19:25 /tmp/cn_monitor.20111107-050412.log 4.0K 2011-11-07 05:17:20 /tmp/clustat.30115.log 4.0K 2011-11-07 05:17:20 /tmp/clustat_x.30115.log 8.0K 2011-11-07 05:08:07 /tmp/mgd-init.1320671241.log 4.0K 2011-11-07 05:04:57 /tmp/cn_send.log 0 2011-11-07 05:04:52 /tmp/init_eth0.log 4.0K 2011-11-07 05:02:38 /tmp/install_interfaces.sh.log 4.0K 2011-11-07 05:01:19 /tmp/bootstrap.sh.log 160K 2011-11-07 05:00:47 /tmp/bootstrap_cleanup.log 28M 2011-11-07 04:42:27 /tmp/cn_monitor.20111104-112954.log 4.0K 2011-11-07 04:38:49 /tmp/clustat.6780.log 4.0K 2011-11-07 04:38:49 /tmp/clustat_x.6780.log 4.0K 2011-11-07 04:38:05 /tmp/issue_event.log 4.0K 2011-11-07 04:38:05 /tmp/peer_upgrade_reboot.log 12K 2011-11-07 04:38:05 /tmp/primary_update.log 4.0K 2011-11-07 04:38:04 /tmp/dcf_upgrade.sh.remove.log 4.0K 2011-11-07 04:38:04 /tmp/peer_rexec_upgrade.log 4.0K 2011-11-07 04:13:42 /tmp/peer_install_dcf_rpm.log 4.0K 2011-11-07 04:11:57 /tmp/dcf-tools.sh.1320667917.log 0 2011-11-07 04:11:57 /tmp/initial.sh.1320667917.log 0 2011-11-07 04:11:57 /tmp/inventory.sh.1320667917.log 4.0K 2011-11-07 04:11:57 /tmp/qf-db.sh.1320667917.log 4.0K 2011-11-07 04:11:57 /tmp/sfc.sh.1320667917.log 4.0K 2011-11-07 04:11:56 /tmp/00_cleanup.sh.1320667916.log 0 2011-11-07 04:11:56 /tmp/ccif_patch_4410_4450.sh.1320667916.log 8.0K 2011-11-07 04:11:56 /tmp/jinstall-qfabric.log 4.0K 2011-11-07 04:11:33 /tmp/dcf_upgrade.log 8.0K 2011-11-04 11:53:12 /tmp/mgd-init.1320432782.log 8.0K 2011-11-04 11:06:17 /tmp/ccif_patch_4410_4450.sh.1320429977.log 8.0K 2011-11-04 11:06:17 /tmp/initial.sh.1320429977.log 4.0K 2011-11-04 11:06:17 /tmp/inventory.sh.1320429977.log 8.0K 2011-11-04 11:06:17 /tmp/sfc.sh.1320429977.log 4.0K 2011-11-04 11:05:19 /tmp/ks-script-_tnWeb.log 4.0K 2011-11-07 04:11:57 /tmp//sfc.sh.1320667917.log 8.0K 2011-11-04 11:06:17 /tmp//sfc.sh.1320429977.log Directory to delete: 49M 2011-11-08 10:45:20 /tmp/sfc-captures
request system storage cleanup infrastructure device-name (QFabric Systems)
user@switch> request system storage cleanup infrastructure FC re0: -------------------------------------------------------------------------- List of files to delete: Size Date Name 139B Nov 8 19:03 /var/log/default-log-messages.0.gz 5602B Nov 8 19:03 /var/log/messages.0.gz 28.4K Nov 8 10:15 /var/log/messages.1.gz 35.2K Nov 7 13:45 /var/log/messages.2.gz 207B Nov 7 16:02 /var/log/wtmp.0.gz 27B Nov 7 12:14 /var/log/wtmp.1.gz 184.4M Nov 7 12:16 /var/sw/pkg/jinstall-dc-re-11.3I20111104_1216_dc-builder-domestic-signed.tgz 124.0K Nov 7 15:59 /var/tmp/gres-tp/env.dat 0B Nov 7 12:57 /var/tmp/gres-tp/lock 155B Nov 7 16:02 /var/tmp/krt_gencfg_filter.txt 0B Nov 7 12:35 /var/tmp/last_ccif_update 1217B Nov 7 12:15 /var/tmp/loader.conf.preinstall 184.4M Nov 6 07:11 /var/tmp/mchassis-install.tgz 10.8M Nov 7 12:16 /var/tmp/preinstall/bootstrap-install-11.3I20111104_1216_dc-builder.tar 57.4K Nov 7 12:16 /var/tmp/preinstall/configs-11.3I20111104_1216_dc-builder.tgz 259B Nov 7 12:16 /var/tmp/preinstall/install.conf 734.3K Nov 4 13:46 /var/tmp/preinstall/jboot-dc-re-11.3I20111104_1216_dc-builder.tgz 177.8M Nov 7 12:16 /var/tmp/preinstall/jbundle-dc-re-11.3I20111104_1216_dc-builder-domestic.tgz 124B Nov 7 12:15 /var/tmp/preinstall/metatags 1217B Nov 7 12:16 /var/tmp/preinstall_boot_loader.conf 0B Nov 7 16:02 /var/tmp/rtsdb/if-rtsdb
request system storage cleanup interconnect-device device-name (QFabric Systems)
user@switch> request system storage cleanup interconnect IC re1: -------------------------------------------------------------------------- List of files to delete: Size Date Name 11B Nov 7 15:55 /var/jail/tmp/alarmd.ts 128B Nov 8 19:06 /var/log/default-log-messages.0.gz 9965B Nov 8 19:06 /var/log/messages.0.gz 15.8K Nov 8 12:30 /var/log/messages.1.gz 15.8K Nov 8 11:00 /var/log/messages.2.gz 15.7K Nov 8 07:30 /var/log/messages.3.gz 15.8K Nov 8 04:00 /var/log/messages.4.gz 15.7K Nov 8 00:30 /var/log/messages.5.gz 18.7K Nov 7 21:00 /var/log/messages.6.gz 17.6K Nov 7 19:00 /var/log/messages.7.gz 58.3K Nov 7 16:00 /var/log/messages.8.gz 20.3K Nov 7 15:15 /var/log/messages.9.gz 90B Nov 7 15:41 /var/log/wtmp.0.gz 57B Nov 7 12:41 /var/log/wtmp.1.gz 124.0K Nov 7 15:42 /var/tmp/gres-tp/env.dat 0B Nov 7 12:40 /var/tmp/gres-tp/lock 0B Nov 7 12:41 /var/tmp/if-rtsdb/env.lck 12.0K Nov 7 15:41 /var/tmp/if-rtsdb/env.mem 132.0K Nov 7 15:55 /var/tmp/if-rtsdb/shm_usr1.mem 2688.0K Nov 7 15:41 /var/tmp/if-rtsdb/shm_usr2.mem 2048.0K Nov 7 15:41 /var/tmp/if-rtsdb/trace.mem 730B Nov 7 19:57 /var/tmp/juniper.conf+.gz 155B Nov 7 15:53 /var/tmp/krt_gencfg_filter.txt 0B Nov 7 15:41 /var/tmp/rtsdb/if-rtsdb re0: -------------------------------------------------------------------------- List of files to delete: Size Date Name 11B Nov 7 15:55 /var/jail/tmp/alarmd.ts 121B Nov 8 19:06 /var/log/default-log-messages.0.gz 16.7K Nov 8 19:06 /var/log/messages.0.gz 22.2K Nov 8 17:45 /var/log/messages.1.gz K Nov 8 17:00 /var/log/messages.2.gz 21.6K Nov 8 16:00 /var/log/messages.3.gz 17.9K Nov 8 14:30 /var/log/messages.4.gz 19.4K Nov 8 13:30 /var/log/messages.5.gz 18.2K Nov 8 12:30 /var/log/messages.6.gz 20.4K Nov 8 11:30 /var/log/messages.7.gz 21.4K Nov 8 10:15 /var/log/messages.8.gz 21.0K Nov 8 09:00 /var/log/messages.9.gz 19.9K Nov 8 08:13 /var/log/snmp-traps.0.gz 203B Nov 8 15:36 /var/log/wtmp.0.gz 57B Nov 7 12:41 /var/log/wtmp.1.gz 124.0K Nov 7 15:42 /var/tmp/gres-tp/env.dat 0B Nov 7 12:40 /var/tmp/gres-tp/lock 0B Nov 7 12:41 /var/tmp/if-rtsdb/env.lck 12.0K Nov 7 15:41 /var/tmp/if-rtsdb/env.mem 132.0K Nov 7 15:55 /var/tmp/if-rtsdb/shm_usr1.mem 2688.0K Nov 7 15:41 /var/tmp/if-rtsdb/shm_usr2.mem 2048.0K Nov 7 15:41 /var/tmp/if-rtsdb/trace.mem 727B Nov 7 15:54 /var/tmp/juniper.conf+.gz 155B Nov 7 15:55 /var/tmp/krt_gencfg_filter.txt 0B Nov 7 15:41 /var/tmp/rtsdb/if-rtsdb
request system storage cleanup node-group group-name (QFabric Systems)
user@switch> request system storage cleanup node-group NW-NG BBAK0372: -------------------------------------------------------------------------- List of files to delete: Size Date Name 126B Nov 8 19:07 /var/log/default-log-messages.0.gz 179B Nov 7 13:32 /var/log/install.0.gz 22.9K Nov 8 19:07 /var/log/messages.0.gz 26.5K Nov 8 17:30 /var/log/messages.1.gz 20.5K Nov 8 13:15 /var/log/messages.2.gz 33.2K Nov 7 17:45 /var/log/messages.3.gz 35.5K Nov 7 15:45 /var/log/messages.4.gz 339B Nov 8 17:10 /var/log/wtmp.0.gz 58B Nov 7 12:40 /var/log/wtmp.1.gz 124.0K Nov 8 17:08 /var/tmp/gres-tp/env.dat 0B Nov 7 12:39 /var/tmp/gres-tp/lock 0B Nov 7 12:59 /var/tmp/if-rtsdb/env.lck 12.0K Nov 8 17:09 /var/tmp/if-rtsdb/env.mem 2688.0K Nov 8 17:09 /var/tmp/if-rtsdb/shm_usr1.mem 132.0K Nov 8 17:09 /var/tmp/if-rtsdb/shm_usr2.mem 2048.0K Nov 8 17:09 /var/tmp/if-rtsdb/trace.mem 1082B Nov 8 17:09 /var/tmp/juniper.conf+.gz 155B Nov 7 17:39 /var/tmp/krt_gencfg_filter.txt 0B Nov 8 17:09 /var/tmp/rtsdb/if-rtsdb EE3093: -------------------------------------------------------------------------- List of files to delete: Size Date Name 11B Nov 8 17:33 /var/jail/tmp/alarmd.ts 119B Nov 8 19:08 /var/log/default-log-messages.0.gz 180B Nov 7 17:41 /var/log/install.0.gz 178B Nov 7 13:32 /var/log/install.1.gz 2739B Nov 8 19:08 /var/log/messages.0.gz 29.8K Nov 8 18:45 /var/log/messages.1.gz 31.8K Nov 8 17:15 /var/log/messages.2.gz 20.6K Nov 8 16:00 /var/log/messages.3.gz 15.4K Nov 8 10:15 /var/log/messages.4.gz 15.4K Nov 8 02:15 /var/log/messages.5.gz 25.5K Nov 7 20:45 /var/log/messages.6.gz 48.0K Nov 7 17:45 /var/log/messages.7.gz 32.8K Nov 7 13:45 /var/log/messages.8.gz 684B Nov 8 17:02 /var/log/wtmp.0.gz 58B Nov 7 12:40 /var/log/wtmp.1.gz 124.0K Nov 7 17:34 /var/tmp/gres-tp/env.dat 0B Nov 7 12:40 /var/tmp/gres-tp/lock 0B Nov 7 12:59 /var/tmp/if-rtsdb/env.lck 12.0K Nov 7 17:39 /var/tmp/if-rtsdb/env.mem 2688.0K Nov 7 17:39 /var/tmp/if-rtsdb/shm_usr1.mem 132.0K Nov 7 17:40 /var/tmp/if-rtsdb/shm_usr2.mem 2048.0K Nov 7 17:39 /var/tmp/if-rtsdb/trace.mem 155B Nov 7 17:40 /var/tmp/krt_gencfg_filter.txt 0B Nov 7 17:39 /var/tmp/rtsdb/if-rtsdb
request system storage cleanup qfabric component device-name (QFabric Systems)
user@switch> request system storage cleanup qfabric component Test Repository type: regular Repository head: /pbstorage Creating list of debug artifacts to be removed under: /pbstorage/rdumps/Test Removing debug artifacts ... (press control C to abort) Removing /pbstorage/rdumps/Test/cosd.core.0.0.05162011123308.gz ... done Removing /pbstorage/rdumps/Test/cosd.core.1.0.05162011123614.gz ... done Removing /pbstorage/rdumps/Test/cosd.core.2.0.05162011123920.gz ... done Removing /pbstorage/rdumps/Test/livekcore.05132011163930.gz ... done Removing /pbstorage/rdumps/Test/tnetd.core.0.1057.05162011124500.gz ... done Removing /pbstorage/rdumps/Test/vmcore.05132011120528.gz ... done Removing /pbstorage/rdumps/Test/vmcore.kz ... done Creating list of debug artifacts to be removed under: /pbstorage/rlogs/Test Removing debug artifacts ... (press control C to abort) Removing /pbstorage/rlogs/Test/kdumpinfo.05132011120528 ... done Removing /pbstorage/rlogs/Test/kernel.tarball.0.1039.05122011234415.tgz ... done Removing /pbstorage/rlogs/Test/kernel.tarball.1.1039.05132011175544.tgz ... done Removing /pbstorage/rlogs/Test/tnetd.tarball.0.1057.05162011175453.tgz ... done
request system storage cleanup qfabric component device-name repository core (QFabric Systems)
user@switch> request system storage cleanup qfabric component Test repository core Repository scope: shared Repository head: /pbdata/export Repository name: core Creating list of debug artifacts to be removed under: /pbdata/export/rdumps/Test NOTE: core repository under /pbdata/export/rdumps/Test empty
request system storage cleanup qfabric component all (QFabric Systems)
user@switch> request system storage cleanup qfabric component all Repository scope: shared Repository head: /pbdata/export Creating list of debug artifacts to be removed under: /pbdata/export/rdumps NOTE: core repository under /pbdata/export/rdumps/all empty Creating list of debug artifacts to be removed under: /pbdata/export/rlogs List of debug artifacts to clean up ... (press control C to abort) /pbdata/export/rlogs/73747cd8-0710-11e1-b6a4-00e081c5297e/install-11072011125819.log /pbdata/export/rlogs/77116f18-0710-11e1-a2a0-00e081c5297e/install-11072011125819.log /pbdata/export/rlogs/BBAK0372/install-11072011121538.log /pbdata/export/rlogs/BBAK0394/install-11072011121532.log /pbdata/export/rlogs/EE3093/install-11072011121536.log /pbdata/export/rlogs/WS001/YN5999/install-11072011121644.log /pbdata/export/rlogs/WS001/YW3803/install-11072011122429.log /pbdata/export/rlogs/cd78871a-0710-11e1-878e-00e081c5297e/install-11072011125932.log /pbdata/export/rlogs/d0afda1e-0710-11e1-a1d0-00e081c5297e/install-11072011125930.log /pbdata/export/rlogs/d0afda1e-0710-11e1-a1d0-00e081c5297e/install-11072011133211.log /pbdata/export/rlogs/d0afda1e-0710-11e1-a1d0-00e081c5297e/install-11072011155302.log /pbdata/export/rlogs/d31ab7a6-0710-11e1-ad1b-00e081c5297e/install-11072011125931.log /pbdata/export/rlogs/d4d0f254-0710-11e1-90c3-00e081c5297e/install-11072011125932.log
Release Information
Command introduced in Junos OS Release 7.4.
dry-run
option introduced in Junos OS Release 7.6.
satellite
option introduced in Junos OS Release 14.2R3.
no-confirm
and (re0 |re1 | routing-engine (backup | both | local |
master | other))
options introduced in Junos OS 17.3R1.