<font size=2 face="sans-serif">To generate a list of files and their file
heat values...</font><br><br><font size=2 face="sans-serif">define([TS],esyscmd(date +%Y-%m-%d-%H-%M
| tr -d '\n'))</font><br><font size=2 face="sans-serif">RULE 'x1' EXTERNAL LIST 'heat.TS' EXEC
''</font><br><font size=2 face="sans-serif">RULE 'x2' LIST 'heat.TS' SHOW(FILE_HEAT)
 WEIGHT(FILE_HEAT)  /* use a WHERE clause to select or exclude
files */</font><br><br><font size=2 face="sans-serif">mmapplypolicy /gpfs-path-of-interest
 -I defer -P policy-rules-shown-above -f /path-for-result  ...
other good options are -N nodes -g /shared-temp<br></font><br><font size=2 face="sans-serif">To do it periodically use crontab.  </font><br><br><font size=2 face="sans-serif">I defined the TS macro so each time
you run it, you get a different filename.</font><br><font size=2 face="sans-serif">WEIGHT clause will cause "hottest"
files to be listed firstmost.</font><br><font size=2 face="sans-serif">Notice that FILE_HEAT "shows"
as a floating point number.</font><br><br><font size=2 face="sans-serif">--marc</font><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">"Olaf Weiser"
<olaf.weiser@de.ibm.com></font><br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">Andreas Landhäußer
<alandhae@gmx.de>, gpfsug main        discussion
list <gpfsug-discuss@spectrumscale.org></font><br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">06/01/2017 07:17 AM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">Re: [gpfsug-discuss]
gpfs filesystem heat reporting, howto setup</font><br><font size=1 color=#5f5f5f face="sans-serif">Sent by:    
   </font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><br><hr noshade><br><br><br><font size=2 face="sans-serif">Hi Andreas, <br>one could use the WEIGHT  statement ... </font><font size=3><br></font><font size=2 face="sans-serif"><br>a simple policy for e.g. </font><font size=3><br></font><font size=2 face="sans-serif"><br>rule ’repack’ MIGRATE FROM POOL ’xxxxxx’ TO POOL ’xxxx’ WEIGHT(FILE_HEAT)</font><font size=3><br></font><font size=2 face="sans-serif"><br>and then the -I prepare to see, what would be done by policy.. <br>or you use the LIST function .. or .. and so on .. </font><font size=3><br></font><br><font size=3><br><br><br></font><font size=1 color=#5f5f5f face="sans-serif"><br>From:        </font><font size=1 face="sans-serif">Andreas
Landhäußer <alandhae@gmx.de></font><font size=1 color=#5f5f5f face="sans-serif"><br>To:        </font><font size=1 face="sans-serif">gpfsug-discuss@spectrumscale.org</font><font size=1 color=#5f5f5f face="sans-serif"><br>Date:        </font><font size=1 face="sans-serif">06/01/2017
11:36 AM</font><font size=1 color=#5f5f5f face="sans-serif"><br>Subject:        </font><font size=1 face="sans-serif">[gpfsug-discuss]
gpfs filesystem heat reporting, howto setup</font><font size=1 color=#5f5f5f face="sans-serif"><br>Sent by:        </font><font size=1 face="sans-serif">gpfsug-discuss-bounces@spectrumscale.org</font><font size=3><br></font><hr noshade><font size=3><br><br></font><tt><font size=2><br><br>Hello all out there,<br><br>customer wants to receive periodical reports on the filesystem heat <br>(relatively age) of files.<br>We already switched on fileheat using mmchconfig.<br><br>mmchconfig fileheatlosspercent=10,fileHeatPeriodMinutes=1440<br><br>for the reports, I think I need to know the file usage in a given time
<br>period.<br><br>Are there any how-to for obtaining this information, examples for ILM <br>policies to be used as a start?<br><br>any help will be highly appreciated.<br><br>Best regards<br><br>                 Andreas<br><br>-- <br>Andreas Landhäußer                
                     
                     
       +49 151 12133027 (mobile)<br>alandhae@gmx.de_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org</font></tt><font size=3 color=blue><u><br></u></font><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2 color=blue><u>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</u></font></tt></a><font size=3><br><br></font><br><tt><font size=2>_______________________________________________<br>gpfsug-discuss mailing list<br>gpfsug-discuss at spectrumscale.org<br></font></tt><a href="http://gpfsug.org/mailman/listinfo/gpfsug-discuss"><tt><font size=2>http://gpfsug.org/mailman/listinfo/gpfsug-discuss</font></tt></a><tt><font size=2><br></font></tt><br><br><BR>