<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">These are looking promising. <br><br>As I want to measure resource consumption, I can designate a memory page as a resource and count page writes as a measure of data flowing through a job run. Should be able to step through cgroups to isolate a pid and it's children. <br><br>Yeah. This is getting hard.<br><br><div class="gmail_quote">On October 16, 2020 8:49:32 AM EDT, Jerald Sheets <questy@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 16, 2020, at 8:25 AM, Ed Cashin via Ale <<a href="mailto:ale@ale.org" class="">ale@ale.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I was watching for responses.  This doesn't sound simple at all to me.<div class=""><br class=""></div><div class="">For a while they were adding dtrace to Linux, and I think Oracle Linux had it.  I don't know whether it made it into the mainline, but if so, you could probably put together what you need using dtrace.  You'd have to consider all the ways (direct IO, minor page faults) bytes can get into RAM, though, and filter out stuff you're not interested in (local disk, etc.).</div><div class=""><br class=""></div><div class="">If there's no special tool and no dtrace, ftrace might be of interest to you.</div></div></div></blockquote></div><br class=""><div class="">There’s “bpftrace”</div><div class=""><a href="http://www.brendangregg.com/blog/2018-10-08/dtrace-for-linux-2018.html" class="">http://www.brendangregg.com/blog/2018-10-08/dtrace-for-linux-2018.html</a></div><div class=""><br class=""></div><div class="">The OEL version:</div><div class=""><a href="https://www.oracle.com/linux/downloads/linux-dtrace.html" class="">https://www.oracle.com/linux/downloads/linux-dtrace.html</a></div><div class=""><br class=""></div><div class="">There’s a project:</div><div class=""><a href="https://github.com/dtrace4linux/linux" class="">https://github.com/dtrace4linux/linux</a></div><div class=""><br class=""></div><div class="">(I like this one.  It’s the actual Oracle DTracefor linux  code, but doesn’t modify the kernel…. It uses a KLM to provide the endpoints instead.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">—j</div></blockquote></div><br>-- <br>Computers amplify human error<br>Super computers are really cool</body></html>