跳转到主内容
We are redesigning the NetApp Knowledge Base site to make it easier to use and navigate. The new and improved site will be available the first week of October. Check out our video or read this KB article to know more about changes you’ll see on the site.

XCP "-match" 功能是否可以筛选日期范围?

Views:
9
Visibility:
Public
Votes:
0
Category:
netapp-xcp
Specialty:
nas
Last Updated:

适用于

  • XCP

问题解答

这些示例可以进行相应调整(它们相同):

xcp scan -match "accessed > 31*day" <source>

xcp scan -match "accessed > 1*month"  -fmt "'{}'.format(iso(atime))" <source>

xcp scan -match "((now-x.atime) / 3600) > 31*day"<source>"

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

其他信息