<?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 Monitoring Print Queues in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-print-queues/m-p/3425760#M707310</link>
    <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Has anyone written a script that they are willing to share? I would like to track printer usage to any given printer by user, total entries, number of pages printed (or byte count), and usage by time of day (to create a trending graph). Is any of this possible on 11.11? Thanks.&lt;BR /&gt;Bobby</description>
    <pubDate>Thu, 18 Nov 2004 23:27:37 GMT</pubDate>
    <dc:creator>TheJuiceman</dc:creator>
    <dc:date>2004-11-18T23:27:37Z</dc:date>
    <item>
      <title>Monitoring Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-print-queues/m-p/3425760#M707310</link>
      <description>Hi everyone,&lt;BR /&gt;&lt;BR /&gt;Has anyone written a script that they are willing to share? I would like to track printer usage to any given printer by user, total entries, number of pages printed (or byte count), and usage by time of day (to create a trending graph). Is any of this possible on 11.11? Thanks.&lt;BR /&gt;Bobby</description>
      <pubDate>Thu, 18 Nov 2004 23:27:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-print-queues/m-p/3425760#M707310</guid>
      <dc:creator>TheJuiceman</dc:creator>
      <dc:date>2004-11-18T23:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-print-queues/m-p/3425761#M707311</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Start the spooler with lpsched -a and then look at man of lpana&lt;BR /&gt;&lt;BR /&gt;lpana&lt;BR /&gt;performance analysis is done from Nov.19 '04 11:01 through Nov.19 '04 11:01&lt;BR /&gt;---printers     ----wait----   ---print---    ---bytes---   -sum- num_of&lt;BR /&gt;    /classes--     AV     SD     AV     SD      AV     SD      KB requests&lt;BR /&gt;bprn20_1         0'00      0   0'03      0       2      0       0        1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;That is a lot of info but there is no way to get all you want&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If network printer hpnpadmin can also help&lt;BR /&gt;&lt;BR /&gt;hpnpadmin -O bprn20&lt;BR /&gt;Uptime              : 43 days, 22:19:48&lt;BR /&gt;Time Since Reconfig : 43 days, 22:19:08&lt;BR /&gt;  Reconfig By       : not specified&lt;BR /&gt;Connections Accepted: 2767&lt;BR /&gt;Connections Denied  : 0 (not on access list)&lt;BR /&gt;Connections Aborted : 9&lt;BR /&gt;  Last Host         : broprn-n2.bro.cpqcorp.net (16.183.16.49)&lt;BR /&gt;  Last Host TCP Port: 2139&lt;BR /&gt;  Reason            : foreign side aborted&lt;BR /&gt;  Time Since Abort  : 43 days, 22:19:48&lt;BR /&gt;Connections Killed  : 0&lt;BR /&gt;Bytes Received      : 0 (current connection)&lt;BR /&gt;Bytes Sent          : 0 (current connection)&lt;BR /&gt;Total Bytes Received: 1750457199 (since power-on or reconfig)&lt;BR /&gt;Total Bytes Sent    : 343417 (since power-on or reconfig)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.shelldorado.com" target="_blank"&gt;www.shelldorado.com&lt;/A&gt; may help you find the script you need&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;               Steve Steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Nov 2004 05:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-print-queues/m-p/3425761#M707311</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-11-19T05:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring Print Queues</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-print-queues/m-p/3425762#M707312</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You really should log calls only once .&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What you could do is&lt;BR /&gt;&lt;BR /&gt;In the scripts for each printer you will find&lt;BR /&gt;&lt;BR /&gt;job=$1&lt;BR /&gt;user=$2&lt;BR /&gt;title=$3&lt;BR /&gt;copy=$4&lt;BR /&gt;options=$5&lt;BR /&gt;shift; shift; shift; shift; shift&lt;BR /&gt;files="$*"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here you could add lines to write the data you need to a file&lt;BR /&gt;&lt;BR /&gt;Or use logger to add the data you want to &lt;BR /&gt;the syslog&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
      <pubDate>Fri, 19 Nov 2004 10:08:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-print-queues/m-p/3425762#M707312</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2004-11-19T10:08:00Z</dc:date>
    </item>
  </channel>
</rss>

