<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi Valdis,
<div class=""><br class="">
</div>
<div class="">I’m not sure this is “better”, but what I typically do is have mmapplypolicy running from a shell script launched by a cron job and redirecting output to a file in /tmp.  Once the mmapplypolicy finishes the SysAdmin’s get the tmp file e-mailed
 to them and then it gets deleted.  Of course, while the mmapplypolicy is running you can “tail -f /tmp/mmapplypolicy.log” or grep it or whatever.  HTHAL…</div>
<div class=""><br class="">
</div>
<div class="">Kevin<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jun 6, 2017, at 3:31 PM, <a href="mailto:valdis.kletnieks@vt.edu" class="">
valdis.kletnieks@vt.edu</a> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">So I'm trying to get a handle on where exactly an mmapplypolicy that's<br class="">
doing a premigrate is in its progress.  I've already determined that<br class="">
'ltfsee info jobs' will only report where in the current batch it is,<br class="">
but that still leaves me unable to tell the difference between<br class="">
<br class="">
[I] 2017-06-05@17:31:47.995 Executing file list: /gpfs/archive/config/tmp/<br class="">
mmPolicy.chosnlist.97168.79FD2A24.pre. 10000 files dispatched.<br class="">
<br class="">
and<br class="">
<br class="">
[I] 2017-06-06@02:44:48.236 Executing file list: /gpfs/archive/config/tmp/<br class="">
mmPolicy.chosnlist.97168.79FD2A24.pre. 225000 files dispatched.<br class="">
<br class="">
Is there any better way to figure out where it is than writing the<br class="">
cron job to launch it as<br class="">
<br class="">
mmapplypolicy | tee /tmp/something<br class="">
<br class="">
and then go scraping the messages? (And yes, I know not all chunks of 1,000<br class="">
files are created equal.  Sometimes it's 1,000 C source files that total to<br class="">
less than a megabyte, other times it's 1,000 streaming video files that total<br class="">
to over a terabye - but even knowing it's 194,000 into 243,348 files is better<br class="">
than what I have now...)<br class="">
</div>
</div>
</blockquote>
</div>
</div>
<br class="">
<br class="">
<div class="">
<div class="">—</div>
<div class="">Kevin Buterbaugh - Senior System Administrator</div>
<div class="">Vanderbilt University - Advanced Computing Center for Research and Education</div>
<div class=""><a href="mailto:Kevin.Buterbaugh@vanderbilt.edu" class="">Kevin.Buterbaugh@vanderbilt.edu</a> - (615)875-9633</div>
<div class=""><br class="">
</div>
<br class="Apple-interchange-newline">
</div>
<br class="">
</body>
</html>