メインコンテンツまでスキップ
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:
6
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>"