<?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: CPU load generated by lp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836685#M90331</link>
    <description>Claire&lt;BR /&gt;&lt;BR /&gt;To do this sort of calculation you will have to do several things:-&lt;BR /&gt;&lt;BR /&gt;Collect load figures for the time period:-&lt;BR /&gt;uptime | awk '{print $10}' | sed 's/,//'&lt;BR /&gt;&lt;BR /&gt;Will pull out the one min load figue.&lt;BR /&gt;&lt;BR /&gt;At start time ps -ef and add the cpu usage colmumn&lt;BR /&gt;&lt;BR /&gt;At each collection time ps -ef and sum the cpu column then remove the start cpu - this will give cpu usage during collection period.&lt;BR /&gt;&lt;BR /&gt;From the start process list, and all concurrent process list extract the printing related processes and total their cpu usage.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So from this info we have:-&lt;BR /&gt;&lt;BR /&gt;Load&lt;BR /&gt;Total cpu usage&lt;BR /&gt;Printing Cpu usage&lt;BR /&gt;&lt;BR /&gt;Print Load = print cpu/total cpu * load.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula</description>
    <pubDate>Thu, 31 Oct 2002 11:15:46 GMT</pubDate>
    <dc:creator>Paula J Frazer-Campbell</dc:creator>
    <dc:date>2002-10-31T11:15:46Z</dc:date>
    <item>
      <title>CPU load generated by lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836682#M90328</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to know how to obtain the CPU load generated by the printing for an HPUX server 9000 in 11.11. I need this statistics for one day or one week.&lt;BR /&gt;&lt;BR /&gt;Claire</description>
      <pubDate>Thu, 31 Oct 2002 09:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836682#M90328</guid>
      <dc:creator>Claire Daelman</dc:creator>
      <dc:date>2002-10-31T09:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: CPU load generated by lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836683#M90329</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Load is calculated so :-&lt;BR /&gt;&lt;BR /&gt;The value used by top, xload, and other performance tools is a&lt;BR /&gt;one-minute load average.  Every five seconds, the kernel walks the proc&lt;BR /&gt;table and counts how many runnable and imminently runnable processes&lt;BR /&gt;there are at that specific time.  The load average is an average of the&lt;BR /&gt;last 12 totals.&lt;BR /&gt;&lt;BR /&gt;The actual formula is statistical, so the kernel doesn't have to&lt;BR /&gt;remember each of the last 12 values.  The formula is:&lt;BR /&gt;&lt;BR /&gt;   new average = [previous average * e^(-1/12)]&lt;BR /&gt;               + (new value * [1 - e^(-1/12)])&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;An option is to motitor the cpu time for things like lpshed and note start and end figures.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 31 Oct 2002 10:01:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836683#M90329</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-31T10:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: CPU load generated by lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836684#M90330</link>
      <description>Thanks for your an answer but how can I apply it?&lt;BR /&gt;&lt;BR /&gt;Claire</description>
      <pubDate>Thu, 31 Oct 2002 10:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836684#M90330</guid>
      <dc:creator>Claire Daelman</dc:creator>
      <dc:date>2002-10-31T10:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: CPU load generated by lp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836685#M90331</link>
      <description>Claire&lt;BR /&gt;&lt;BR /&gt;To do this sort of calculation you will have to do several things:-&lt;BR /&gt;&lt;BR /&gt;Collect load figures for the time period:-&lt;BR /&gt;uptime | awk '{print $10}' | sed 's/,//'&lt;BR /&gt;&lt;BR /&gt;Will pull out the one min load figue.&lt;BR /&gt;&lt;BR /&gt;At start time ps -ef and add the cpu usage colmumn&lt;BR /&gt;&lt;BR /&gt;At each collection time ps -ef and sum the cpu column then remove the start cpu - this will give cpu usage during collection period.&lt;BR /&gt;&lt;BR /&gt;From the start process list, and all concurrent process list extract the printing related processes and total their cpu usage.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So from this info we have:-&lt;BR /&gt;&lt;BR /&gt;Load&lt;BR /&gt;Total cpu usage&lt;BR /&gt;Printing Cpu usage&lt;BR /&gt;&lt;BR /&gt;Print Load = print cpu/total cpu * load.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 31 Oct 2002 11:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-load-generated-by-lp/m-p/2836685#M90331</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-10-31T11:15:46Z</dc:date>
    </item>
  </channel>
</rss>

