request system storage cleanup (Junos OS)
语法
request system storage cleanup <dry-run> <no-confirm> <re0 | re1 | routing-engine (backup | both | local | master | other)>
语法(EX 系列交换机)
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]>
语法(MX 系列路由器)
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]>
语法(QFX 系列)
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)>
语法(SRX 系列)
request system storage cleanup <dry-run> <no-confirm> <re0 | re1 | routing-engine (backup | both | local | master | other)>
描述
使用此命令可通过轮换日志文件并建议删除文件列表来释放路由器或交换机上的存储空间。在 QFabric 系统上,您可以删除位于单个设备或整个 QFabric 系统上的调试文件。
选项
all-members | (仅限 EX4200 交换机和 MX 系列路由器)(可选)仅删除虚拟机箱主路由引擎上的文件。 要删除虚拟机箱配置的其他成员上的文件,请登录到每个备份路由引擎并使用命令删除 |
component (UUID | serial number | all) | (仅限 QFabric 系统)(可选)删除位于单个 QFabric 系统设备或整个 QFabric 系统上的文件。 |
director-group name | (仅限 QFabric 系统)(可选)删除控制器组上的文件。 |
dry-run | (可选)列出建议删除的文件(不删除它们)。 |
infrastructure name | (仅限 QFabric 系统)(可选)删除交换矩阵控制路由引擎和交换矩阵管理器路由引擎上的文件。 |
interconnect-device name | (仅限 QFabric 系统)(可选)删除互连设备上的文件。 |
local | (仅限 EX4200 交换机和 MX 系列路由器)(可选)删除本地虚拟机箱成员上的文件。 |
member member-id | (仅限 EX4200 交换机和 MX 系列路由器)(可选)删除虚拟机箱配置的指定成员上的文件。对于 EX4200 交换机,请替换为 |
name-tag name-tag | (仅限 QFabric 系统)(可选)删除与特定正则表达式匹配的调试文件。 |
node-group name | (仅限 QFabric 系统)(可选)删除节点组上的文件。 |
no-confirm | (可选)在进行清理之前不要要求确认。 |
prune | (仅限 QFabric 系统)(可选)删除位于 QFabric 系统设备的核心或日志调试存储库中的调试文件。 |
qfabric component name | (仅限 QFabric 系统)(可选)删除位于 QFabric 系统设备的调试存储库中的调试文件。 |
(re0 | re1 | routing-engine (backup | both | local | master | other)) | (可选)按以下分类请求对 RE0、RE1 或指定路由引擎上的系统存储进行操作:备份、两者、本地、主或其他。 指定路由引擎后,在列出文件并删除文件之前显示以下消息。 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 系统)(可选)在 QFabric 系统设备上指定要删除其调试文件的存储库。 |
satellite [slot-id slot-id | device-alias alias-name] | (仅限 Junos Fusion)(可选)在 Junos Fusion by FPC ID 或设备别名中指定要删除其调试文件的卫星设备。 |
其他信息
如果已配置且正在使用日志记录, dry-run
则该选项将轮换日志文件。在这种情况下,输出将显示消息“当前正在轮换日志文件,请稍候”。如果当前未进行日志记录,则输出仅显示要删除的文件列表。
所需权限级别
维护
输出字段
表 1 介绍了该 request system storage cleanup
命令的输出字段。输出字段按其出现的大致顺序列出。
字段名称 |
字段说明 |
---|---|
|
显示可删除的文件列表。 |
|
核心转储文件的大小。 |
|
上次核心转储文件修改日期和时间。 |
|
核心转储文件的名称。 |
|
显示可删除的目录列表。 |
|
存储核心转储文件和日志文件的存储库。核心转储文件位于存储库中 |
|
顶级存储库位置的名称。 |
|
存储库的名称: |
|
显示可删除的文件的位置。 |
|
显示可删除的文件列表。 |
示例输出
- 请求系统存储清理试运行
- 请求系统存储清理
- 请求系统存储清理控制器组(QFabric 系统)
- 请求系统存储清理基础架构设备名称(QFabric 系统)
- 请求系统存储清理互连设备设备名称(QFabric 系统)
- 请求系统存储清理节点组组名称(QFabric 系统)
- 请求系统存储清理 QFABRIC 组件设备名称(QFabric 系统)
- 请求系统存储清理 QFABRIC 组件设备名称存储库核心(QFabric 系统)
- 请求系统存储清理 QFABRIC 组件全部(QFabric 系统)
请求系统存储清理试运行
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
请求系统存储清理
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)
请求系统存储清理控制器组(QFabric 系统)
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
请求系统存储清理基础架构设备名称(QFabric 系统)
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
请求系统存储清理互连设备设备名称(QFabric 系统)
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
请求系统存储清理节点组组名称(QFabric 系统)
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
请求系统存储清理 QFABRIC 组件设备名称(QFabric 系统)
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
请求系统存储清理 QFABRIC 组件设备名称存储库核心(QFabric 系统)
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
请求系统存储清理 QFABRIC 组件全部(QFabric 系统)
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
发布信息
Junos OS 7.4 版中引入的命令。
dry-run
Junos OS 7.6 版中引入的选项。
satellite
Junos OS 14.2R3 版中引入的选项。
no-confirm
以及 (re0 |re1 | routing-engine (backup | both | local | master | other))
Junos OS 17.3R1 中引入的选项。