<?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: accounting on HP-UX 11.0 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480134#M776709</link>
    <description>Hi Manju:&lt;BR /&gt;&lt;BR /&gt;Document #KBRC00002184 provides a good guide:&lt;BR /&gt;&lt;BR /&gt;*** Procedure to start process accounting.&lt;BR /&gt;&lt;BR /&gt;1) Add these lines to your crontab.&lt;BR /&gt;#&lt;BR /&gt;#  Process accounting&lt;BR /&gt;#&lt;BR /&gt;0 1,6,12,18 * * * /usr/sbin/acct/ckpacct 1000&lt;BR /&gt;01 01 1 * * /usr/sbin/acct/monacct&lt;BR /&gt;59 03 * * * /usr/sbin/acct/runacct 2&amp;gt;/var/adm/acct/nite/runacct.log&lt;BR /&gt;&lt;BR /&gt;2) Modify /etc/rc.config.d/acct so that process account will start when the system is rebooted:&lt;BR /&gt;&lt;BR /&gt;START_ACCT=1&lt;BR /&gt;&lt;BR /&gt;3) Then turn on process accounting using the command.&lt;BR /&gt;&lt;BR /&gt;# /usr/lib/acct/accton /var/adm/pacct&lt;BR /&gt;&lt;BR /&gt;*** How to stop Process accounting&lt;BR /&gt;&lt;BR /&gt;1) Remove ckpacct/monacct/runacct entries from crontab.&lt;BR /&gt;&lt;BR /&gt;2) Change the line in /etc/rc.config.d/acct to this:&lt;BR /&gt;&lt;BR /&gt;START_ACCT=0&lt;BR /&gt;&lt;BR /&gt;3) This will turn off the kernel process accounting. (pacct should now stop growing)&lt;BR /&gt;&lt;BR /&gt;# /usr/lib/acct/accton&lt;BR /&gt;&lt;BR /&gt;*** Some important files for process accounting:&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite -- Daily summary files created by runacct are kept here.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/sum -- Cumulative summary files updated by runacct are kept here.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/fiscal -- Periodic (monthly) summary files created by monacct are stored here.&lt;BR /&gt;&lt;BR /&gt;/var/adm/pacct##  -- The process accounting daily log file.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/statefile  -- State that last runacct completed.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/active  -- Log file of runacct.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/lastdate -- Log of when the last date runacct was run.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/daycms  -- Process usage report.&lt;BR /&gt;&lt;BR /&gt;*** How to restart runacct if it fails&lt;BR /&gt;&lt;BR /&gt;- If the /var/adm/acct/nite/statefile doesn't show "COMPLETE", then runacct failed.&lt;BR /&gt;&lt;BR /&gt;- You may get some details why it failed from the /var/adm/acct/nite/active file.&lt;BR /&gt;&lt;BR /&gt;- Look at the /var/adm/acct/nite/statefile and take note of the last sucessfull state.&lt;BR /&gt;&lt;BR /&gt;- Restart runacct specifying the date and the last state from the statefile. (See man page for runacct for more details)&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/runacct 0601 MERGE&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Mon, 08 Jan 2001 03:25:43 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2001-01-08T03:25:43Z</dc:date>
    <item>
      <title>accounting on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480131#M776706</link>
      <description>Dear friends,&lt;BR /&gt;&lt;BR /&gt;I am looking at setting up accounting to monitor the system usage by the users on the system. Can some guide me how to start, and how to configure and other stuff I should know before doing this.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;Manju</description>
      <pubDate>Sun, 07 Jan 2001 22:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480131#M776706</guid>
      <dc:creator>Manju Kampli</dc:creator>
      <dc:date>2001-01-07T22:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: accounting on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480132#M776707</link>
      <description>Hi Manju:&lt;BR /&gt;&lt;BR /&gt;I'm not sure exactly what you are interested in tracking.  Go to &lt;A href="http://docs.hp.com/" target="_blank"&gt;http://docs.hp.com/&lt;/A&gt; and choose "Search this Site".  Use the keyword 'accounting'.  You will find lots of references to man pages (discrete commands).&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 08 Jan 2001 00:20:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480132#M776707</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-08T00:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: accounting on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480133#M776708</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;I am looking at monitoring user CPU utilisation and if possible Disk I/O as well.&lt;BR /&gt;&lt;BR /&gt;hope you can provide some info based on the above.&lt;BR /&gt;&lt;BR /&gt;Thanks once again&lt;BR /&gt;Manju</description>
      <pubDate>Mon, 08 Jan 2001 02:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480133#M776708</guid>
      <dc:creator>Manju Kampli</dc:creator>
      <dc:date>2001-01-08T02:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: accounting on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480134#M776709</link>
      <description>Hi Manju:&lt;BR /&gt;&lt;BR /&gt;Document #KBRC00002184 provides a good guide:&lt;BR /&gt;&lt;BR /&gt;*** Procedure to start process accounting.&lt;BR /&gt;&lt;BR /&gt;1) Add these lines to your crontab.&lt;BR /&gt;#&lt;BR /&gt;#  Process accounting&lt;BR /&gt;#&lt;BR /&gt;0 1,6,12,18 * * * /usr/sbin/acct/ckpacct 1000&lt;BR /&gt;01 01 1 * * /usr/sbin/acct/monacct&lt;BR /&gt;59 03 * * * /usr/sbin/acct/runacct 2&amp;gt;/var/adm/acct/nite/runacct.log&lt;BR /&gt;&lt;BR /&gt;2) Modify /etc/rc.config.d/acct so that process account will start when the system is rebooted:&lt;BR /&gt;&lt;BR /&gt;START_ACCT=1&lt;BR /&gt;&lt;BR /&gt;3) Then turn on process accounting using the command.&lt;BR /&gt;&lt;BR /&gt;# /usr/lib/acct/accton /var/adm/pacct&lt;BR /&gt;&lt;BR /&gt;*** How to stop Process accounting&lt;BR /&gt;&lt;BR /&gt;1) Remove ckpacct/monacct/runacct entries from crontab.&lt;BR /&gt;&lt;BR /&gt;2) Change the line in /etc/rc.config.d/acct to this:&lt;BR /&gt;&lt;BR /&gt;START_ACCT=0&lt;BR /&gt;&lt;BR /&gt;3) This will turn off the kernel process accounting. (pacct should now stop growing)&lt;BR /&gt;&lt;BR /&gt;# /usr/lib/acct/accton&lt;BR /&gt;&lt;BR /&gt;*** Some important files for process accounting:&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite -- Daily summary files created by runacct are kept here.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/sum -- Cumulative summary files updated by runacct are kept here.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/fiscal -- Periodic (monthly) summary files created by monacct are stored here.&lt;BR /&gt;&lt;BR /&gt;/var/adm/pacct##  -- The process accounting daily log file.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/statefile  -- State that last runacct completed.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/active  -- Log file of runacct.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/lastdate -- Log of when the last date runacct was run.&lt;BR /&gt;&lt;BR /&gt;/var/adm/acct/nite/daycms  -- Process usage report.&lt;BR /&gt;&lt;BR /&gt;*** How to restart runacct if it fails&lt;BR /&gt;&lt;BR /&gt;- If the /var/adm/acct/nite/statefile doesn't show "COMPLETE", then runacct failed.&lt;BR /&gt;&lt;BR /&gt;- You may get some details why it failed from the /var/adm/acct/nite/active file.&lt;BR /&gt;&lt;BR /&gt;- Look at the /var/adm/acct/nite/statefile and take note of the last sucessfull state.&lt;BR /&gt;&lt;BR /&gt;- Restart runacct specifying the date and the last state from the statefile. (See man page for runacct for more details)&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/runacct 0601 MERGE&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 08 Jan 2001 03:25:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480134#M776709</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-08T03:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: accounting on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480135#M776710</link>
      <description>Hi again:&lt;BR /&gt;&lt;BR /&gt;For disk accounting, take a look at the man pages for 'diskusg (1M)' and 'vxdiskusg (1M)'.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 08 Jan 2001 03:48:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480135#M776710</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-08T03:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: accounting on HP-UX 11.0</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480136#M776711</link>
      <description>Hi Manju:&lt;BR /&gt;&lt;BR /&gt;Here's a very good white paper: document #OALWP06950320.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 08 Jan 2001 13:03:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/accounting-on-hp-ux-11-0/m-p/2480136#M776711</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-01-08T13:03:25Z</dc:date>
    </item>
  </channel>
</rss>

