<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic accounting/report=execution data produced in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067979#M86262</link>
    <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;i'm trying to explain resource usage on 7.3-2&lt;BR /&gt;image accounting is on.&lt;BR /&gt;&lt;BR /&gt;i do $acc/rep=exec - bla-die-bla - and make a report for just 5 minutes&lt;BR /&gt;&lt;BR /&gt;i get:&lt;BR /&gt;        username  |  image count  |  total records&lt;BR /&gt;         *john*   |   2.500.000    |     25&lt;BR /&gt;&lt;BR /&gt;the total records are the 25 records from the accountng.dat file (25 images were run, like rmu71,show,copy,delete etc.), but what in the world are the 2 and a half million images mentioned? Where can I find what that is?&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;&lt;BR /&gt;Ed van der Kaaij</description>
    <pubDate>Mon, 10 Sep 2007 07:47:22 GMT</pubDate>
    <dc:creator>Edwin R. van der Kaaij</dc:creator>
    <dc:date>2007-09-10T07:47:22Z</dc:date>
    <item>
      <title>accounting/report=execution data produced</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067979#M86262</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;i'm trying to explain resource usage on 7.3-2&lt;BR /&gt;image accounting is on.&lt;BR /&gt;&lt;BR /&gt;i do $acc/rep=exec - bla-die-bla - and make a report for just 5 minutes&lt;BR /&gt;&lt;BR /&gt;i get:&lt;BR /&gt;        username  |  image count  |  total records&lt;BR /&gt;         *john*   |   2.500.000    |     25&lt;BR /&gt;&lt;BR /&gt;the total records are the 25 records from the accountng.dat file (25 images were run, like rmu71,show,copy,delete etc.), but what in the world are the 2 and a half million images mentioned? Where can I find what that is?&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;&lt;BR /&gt;Ed van der Kaaij</description>
      <pubDate>Mon, 10 Sep 2007 07:47:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067979#M86262</guid>
      <dc:creator>Edwin R. van der Kaaij</dc:creator>
      <dc:date>2007-09-10T07:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: accounting/report=execution data produced</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067980#M86263</link>
      <description>The ACCOUNTING utility was written before image accounting existed, and the /report=(execution) doesn't make sense with /type=image.  It probably should report the same as record count under those circumstances. PHD$L_IMGCNT is almost certainly what accounting is using as the source for what it calls "Images executed:".  It is the count of the number of image rundowns since the process has been created.&lt;BR /&gt;&lt;BR /&gt;If you issue a command like $acc/full - bla-die-bla -, you will see each image accounting record has an increasing value of "Images executed:".&lt;BR /&gt;&lt;BR /&gt;My GUESS is that what $ acc/report=(exec,rec)/sum=user/type=image is doing is adding up the counts for each record, which to me gives a nearly useless result.  If there were 25 image records and the image counts totaled 2500000, then the average of the individual record's "Images executed:" was 100000.  If they were all from the same process ID, then I would expect them to start at 99988 and end at 100012. (i.e. (99988+999989+...+100012) =250000&lt;BR /&gt;&lt;BR /&gt;The images executed item really makes sense only with /type=process, as the total will then be the total number of images executed by the processes matching the selection criteria.&lt;BR /&gt;&lt;BR /&gt;If you are interested in the internals, and have access to the Internals and Data Structures manual, look in the index under image count.  Its original purpose was to allow things like AST delivery to detect that the image had changed.&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Sep 2007 09:37:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067980#M86263</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-09-10T09:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: accounting/report=execution data produced</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067981#M86264</link>
      <description>Following is a demo showing that accounting /type=image /report=(execution,record) /sum overstates image activations.&lt;BR /&gt;&lt;BR /&gt;Contents of imgcnt.com&lt;BR /&gt;&lt;BR /&gt;$! demonstrate accounting/type=image/report=(execution) results&lt;BR /&gt;$ top:&lt;BR /&gt;$ show logical sys$login ! this activates an image (show translation does not)&lt;BR /&gt;$ if f$getjpi("","IMAGECOUNT") .lt. 99 then goto top&lt;BR /&gt;$ logout*&lt;BR /&gt;&lt;BR /&gt;-----------&lt;BR /&gt;&lt;BR /&gt;$ submit imgcnt/noprint/notify/queue=...  &lt;BR /&gt;$ synch/entry=$entry&lt;BR /&gt;$ accounting /job=imgcnt /sin=-0:05 /bin/out=imgcnt.bin ! get accounting for job&lt;BR /&gt;$ accounting imgcnt.bin /full/out=imgcnt_full.rpt&lt;BR /&gt;$ search/nowin/nohigh imgcnt_full.rpt "termination","executed" ! note increasing images executed&lt;BR /&gt;$ accounting imgcnt.bin /type=process /sum=job /report=(execution,records)&lt;BR /&gt;$ accounting imgcnt.bin /type=image   /sum=job /report=(execution,records)&lt;BR /&gt;&lt;BR /&gt;My results (Alpha VMS 7.3-2):&lt;BR /&gt;&lt;BR /&gt;$ acc scr:imgcnt.bin/type=proc /rep=(exec,rec)/sum=job &lt;BR /&gt;&lt;BR /&gt;From: 10-SEP-2007 17:04                                 VMS Accounting Report                                  To: 10-SEP-2007 17:04&lt;BR /&gt;Job name                                  Image     Total&lt;BR /&gt;                                          Count   Records&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;IMGCNT                                       101        1&lt;BR /&gt;$ acc scr:imgcnt.bin/type=image/rep=(exec,rec)/sum=job&lt;BR /&gt;&lt;BR /&gt;From: 10-SEP-2007 17:04                                 VMS Accounting Report                                  To: 10-SEP-2007 17:04&lt;BR /&gt;Job name                                  Image     Total&lt;BR /&gt;                                          Count   Records&lt;BR /&gt;---------------------------------------------------------&lt;BR /&gt;IMGCNT                                      4950      100&lt;BR /&gt;$ &lt;BR /&gt;&lt;BR /&gt;Note that 4950 = sum(0...99), 99 whas the highest imagecount (the loginout at process deletion time). &lt;BR /&gt;&lt;BR /&gt;I can't explain why process termination shows 101 images executed  I would have expected 99 but could understand it being incremented by 1, as the initial LOGINOUT does not increment the imagecount, as the first image accounting record shows Images Executed: 0.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Sep 2007 18:46:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067981#M86264</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2007-09-10T18:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: accounting/report=execution data produced</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067982#M86265</link>
      <description>Thanks for the explanation and the testing. I checked some acc/full record numbers and your explanation does add up to the totals. Now I'll report the performance findings and dig into this deeper when I get a bit more time :o) Thanks again!</description>
      <pubDate>Tue, 11 Sep 2007 00:31:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/accounting-report-execution-data-produced/m-p/4067982#M86265</guid>
      <dc:creator>Edwin R. van der Kaaij</dc:creator>
      <dc:date>2007-09-11T00:31:56Z</dc:date>
    </item>
  </channel>
</rss>

