<?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 Re: image audit report issue in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374985#M93942</link>
    <description>SAMI AHMAD,&lt;BR /&gt;&lt;BR /&gt;$ accounting /since=x /before=y&lt;BR /&gt;&lt;BR /&gt;will only report things that terminated between time x and y.  As Volker stated, image records are written at image rundown.  In general accounting records are written "after" the event has completed, and the selections times are only looking at the "Finish time:".  As Hein has pointed out, the selection times don't include the image rundown time.&lt;BR /&gt;&lt;BR /&gt;This thread (and possibly others) contain more details: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1198578" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1198578&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jon</description>
    <pubDate>Mon, 09 Mar 2009 23:25:12 GMT</pubDate>
    <dc:creator>Jon Pinkley</dc:creator>
    <dc:date>2009-03-09T23:25:12Z</dc:date>
    <item>
      <title>image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374981#M93938</link>
      <description>I have a strange issue, I know certain image is running all day but it doesnt show up in report say between 1am - 2pm  but if run the report for the whole day the image records show up. ?&lt;BR /&gt;like today the image was running at 11am but if i run the image report from 11am till 12 pm it doesnt show up .. why ?&lt;BR /&gt;&lt;BR /&gt;$ACCOUNTING/TYPE=IMAGE/REPORT=(PROCESSOR,ELAPSED,DIRECT_IO,FAULTS,RECORDS)-&lt;BR /&gt;/SINCE=9-MAR-2009:11:00 -&lt;BR /&gt; /before=9-MAR-2009:12:30/SUMMARY=IMAGE/OUTPUT=a.lis&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Mar 2009 17:14:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374981#M93938</guid>
      <dc:creator>SAMI AHMAD</dc:creator>
      <dc:date>2009-03-09T17:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374982#M93939</link>
      <description>An image accounting record is ONLY written at image exit.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 09 Mar 2009 17:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374982#M93939</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-03-09T17:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374983#M93940</link>
      <description>every night at 8 we stop the application so next day if i run the report for the period 10 - 12pm shouldnt i see the record ? iam not seeing it.</description>
      <pubDate>Mon, 09 Mar 2009 19:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374983#M93940</guid>
      <dc:creator>SAMI AHMAD</dc:creator>
      <dc:date>2009-03-09T19:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374984#M93941</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Do you even have image accounting enabled?&lt;BR /&gt;($SHOW ACCOUNT)&lt;BR /&gt;&lt;BR /&gt;And those timelines you mention do NOT make sense. If you stop and restart at 20:00 then 11:00 - 12:30 is not going the catch an activation or exit no?&lt;BR /&gt;Still, PROCESS accounting may be good enough&lt;BR /&gt;&lt;BR /&gt;Me thinks you need to take 10 steps back. &lt;BR /&gt;What is this system? What is it supposed to be doign? Does the application provide performance feedback. Does that match the user experience? Does it match the system general performance footprint. Is this a new problem? Did it ever work well?&lt;BR /&gt;&lt;BR /&gt;Your other topics mentioning DecPS or and other PERFORMANCE oriented tool like T4 may be a better place to start than ACCOUNTING, but admittedly accounting has frequently given me useful performance counter insights.&lt;BR /&gt;&lt;BR /&gt;Work with some peers or a consultant to define the current performance in quantifiable terms. Come up with some measurement, then come up with some explanation. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;HvdH Performance Consulting&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Mar 2009 19:50:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374984#M93941</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2009-03-09T19:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374985#M93942</link>
      <description>SAMI AHMAD,&lt;BR /&gt;&lt;BR /&gt;$ accounting /since=x /before=y&lt;BR /&gt;&lt;BR /&gt;will only report things that terminated between time x and y.  As Volker stated, image records are written at image rundown.  In general accounting records are written "after" the event has completed, and the selections times are only looking at the "Finish time:".  As Hein has pointed out, the selection times don't include the image rundown time.&lt;BR /&gt;&lt;BR /&gt;This thread (and possibly others) contain more details: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1198578" target="_blank"&gt;http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1198578&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jon</description>
      <pubDate>Mon, 09 Mar 2009 23:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374985#M93942</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-03-09T23:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374986#M93943</link>
      <description>You said: "every night at 8 we stop the application".  If by that you mean you use a command like:&lt;BR /&gt;$ STOP /ID=xxxxxxxx&lt;BR /&gt;then image rundown will not happen (unless the image is installed with privs) so you will not get an image accounting record.&lt;BR /&gt;&lt;BR /&gt;You could try STOP/IMAGE/ID=xxxxxxxx instead.&lt;BR /&gt;This will do image rundown and unless your detached application is running a DCL command file the process will end.&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Mar 2009 03:39:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374986#M93943</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2009-03-10T03:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374987#M93944</link>
      <description>Jess wrote:&lt;BR /&gt;-----------------&lt;BR /&gt;$ STOP /ID=xxxxxxxx&lt;BR /&gt;then image rundown will not happen (unless the image is installed with privs) so you will not get an image accounting record.&lt;BR /&gt;-----------------&lt;BR /&gt;&lt;BR /&gt;I don't believe that is true.   A control-y won't always initiate a rundown, but the rundown will occur before the next image activation.&lt;BR /&gt;&lt;BR /&gt;STOP/ID used to bypass exit handlers, but the default behavior has changed somewhere in the 7.3* timeframe, where at least the inner mode handlers get executed.&lt;BR /&gt;&lt;BR /&gt;I am not able to reproduce the loss of image accounting records due to the use of $DELPRC.&lt;BR /&gt;&lt;BR /&gt;Even using &lt;BR /&gt;&lt;BR /&gt;$ STOP /ID=xxxxxxxx/NOEXIT&lt;BR /&gt;&lt;BR /&gt;does not prevent the image accounting record from being written.&lt;BR /&gt;&lt;BR /&gt;Test were on AlphaServer ES47 7/1150 running OpenVMS V7.3-2.  Process being killed running from non-prived account (same results with prived account), running non-installed images (one a CPU burner written in FORTRAN), one a translated image (LIST_TV, translated from VAX exe of DECUS ICR LIST).&lt;BR /&gt;&lt;BR /&gt;My guess is you looked in the accounting file before the buffer got flushed.&lt;BR /&gt;&lt;BR /&gt;The image accounting is written to the job controller's mb before the image exits.  It may take a while for that to actually be written to the accounting file.  You may want to retry your test.&lt;BR /&gt;&lt;BR /&gt;If someone can document a case where image accounting was enabled at the time the image was activated (and therefore ctl$gq_istart has non-zero value), the system hasn't crashed, accounting is still enabled at the time the image exits, the process did not have the noaccounting flag active, something has been written to the accounting file for an event that came after the image exit/rundown, and there is no image accounting record, I would be interested in how it was done.  Using privileged software to circumvent is not allowed, e.g. clearing ctl$gq_istart will prevent it, but I am only interested in cases that could occur in normal operations.&lt;BR /&gt;&lt;BR /&gt;Jon&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Mar 2009 04:24:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374987#M93944</guid>
      <dc:creator>Jon Pinkley</dc:creator>
      <dc:date>2009-03-20T04:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374988#M93945</link>
      <description>My bad.  My comments were based on recalling tests we did way back in the VMS 5.4 time frame.  Either I recalled the results of our tests incorrectly or the behavior of STOP/ID= has changed since then.</description>
      <pubDate>Fri, 20 Mar 2009 14:44:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374988#M93945</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2009-03-20T14:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374989#M93946</link>
      <description>Process rundown was updated to perform the exec-mode handling (by default) and this can include flushing various buffers.   For details on this, please see the OpenVMS Alpha V7.3-1 documentation around the sys$delprc system service and around the DELPRC_EXIT parameter.</description>
      <pubDate>Fri, 20 Mar 2009 15:24:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374989#M93946</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-03-20T15:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: image audit report issue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374990#M93947</link>
      <description>Note, you can still get accounting information for selected images, without having to have (general) image accounting enabled. See $ INSTALL HELP ADD/ACCOUNTING:&lt;BR /&gt;&lt;BR /&gt;ADD&lt;BR /&gt;&lt;BR /&gt;  /ACCOUNTING&lt;BR /&gt;&lt;BR /&gt;        /ACCOUNTING&lt;BR /&gt;        /NOACCOUNTING (default)&lt;BR /&gt;&lt;BR /&gt;     Enables image-level accounting for selected images even if image accounting is disabled on the local node (by using the DCL command SET ACCOUNTING/DISABLE=IMAGE). When image accounting is enabled on the local node, it logs all images, and the /NOACCOUNTING qualifier has no effect.&lt;BR /&gt;&lt;BR /&gt;I recommend you dump ALL the image accounting records for the image you're interested in for (say) an entire day. Look at the times you get records, and correlate them with known events. This should clarify the way accounting works.&lt;BR /&gt;&lt;BR /&gt;If you want some kind of continuous performance data for a specific image, you'll have to roll your own. Maybe use $GETJPI to gather the stats, and dump them into a T4 compatible file.&lt;BR /&gt;&lt;BR /&gt;I recently posted a procedure to gather GETJPI stats. You'll need to change it to hunt for processes running images of interest. Not difficult.</description>
      <pubDate>Sun, 22 Mar 2009 22:32:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/image-audit-report-issue/m-p/4374990#M93947</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2009-03-22T22:32:29Z</dc:date>
    </item>
  </channel>
</rss>

