文件操作 - nfsclient_migrate.conf
返回文件管理
返回主菜单
删除本文件
文件: /var/lib/pcp/config/pmlogrewrite/nfsclient_migrate.conf
编辑文件内容
# Copyright 2016 Ken McDonell. # # pmlogrewrite configuration for migrating archives containing # nfsclient metrics: # - some metrics were exported as signed integers due to a bug in # the Perl PCP::PMDA module that has since been fixed, so the # values are now unsigned # metric nfsclient.age { type if 64 -> U64 type if 32 -> U32 } metric nfsclient.bytes.read.normal { type if 64 -> U64 type if 32 -> U32 } metric nfsclient.xprt.read_chunks { type if 64 -> U64 type if 32 -> U32 } metric nfsclient.xprt.write_chunks { type if 64 -> U64 type if 32 -> U32 } metric nfsclient.xprt.reply_chunks { type if 64 -> U64 type if 32 -> U32 } metric nfsclient.xprt.hardway { type if 64 -> U64 type if 32 -> U32 } metric nfsclient.xprt.failed_marshal { type if 64 -> U64 type if 32 -> U32 } metric nfsclient.xprt.bad_reply { type if 64 -> U64 type if 32 -> U32 } # nfsclient.ops.* metrics metric 62.8.* { type if 64 -> U64 type if 32 -> U32 }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件