<?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 wtmps in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121672#M314872</link>
    <description>Hi all&lt;BR /&gt;&lt;BR /&gt;The wtmps file on 1 of our servers is very large (11.23). Is there a way of decreasing the size of this file?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Joe</description>
    <pubDate>Thu, 27 Dec 2007 19:06:06 GMT</pubDate>
    <dc:creator>Joe415</dc:creator>
    <dc:date>2007-12-27T19:06:06Z</dc:date>
    <item>
      <title>wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121672#M314872</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;The wtmps file on 1 of our servers is very large (11.23). Is there a way of decreasing the size of this file?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Joe</description>
      <pubDate>Thu, 27 Dec 2007 19:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121672#M314872</guid>
      <dc:creator>Joe415</dc:creator>
      <dc:date>2007-12-27T19:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121673#M314873</link>
      <description>Try "&amp;gt; /var/adm/wtmp".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Thu, 27 Dec 2007 19:08:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121673#M314873</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-12-27T19:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121674#M314874</link>
      <description>Joe do a man on fwtmp, hope this helps</description>
      <pubDate>Thu, 27 Dec 2007 21:16:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121674#M314874</guid>
      <dc:creator>David Bellamy</dc:creator>
      <dc:date>2007-12-27T21:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121675#M314875</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The 'wtmps' file is a binary file and hence cannot be directly editted.  This leaves you two choices:&lt;BR /&gt;&lt;BR /&gt;(1) completely truncate the file:&lt;BR /&gt;&lt;BR /&gt;# cat /dev/null &amp;gt; /var/adm/wtmps&lt;BR /&gt;&lt;BR /&gt;or (2), convert the binary file to an Ascii one; edit the Ascii copy to remove all but the most recent contents; and convert the editted file from Ascii to binary:&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp &amp;gt; /var/tmp/wtmp&lt;BR /&gt;# vi /var/tmp/wtmp&lt;BR /&gt;# /usr/sbin/acct/fwtmp -ic &amp;lt; /var/tmp/wtmp &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 27 Dec 2007 21:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121675#M314875</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-12-27T21:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: wtmps</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121676#M314876</link>
      <description>Hi,&lt;BR /&gt;I'd suggest you first to check what's the reason for such a big wtmpx file.&lt;BR /&gt;You should be able to see more information about this with&lt;BR /&gt;/usr/sbin/acct/fwtmp&lt;BR /&gt;&lt;BR /&gt;Usually it's caused by scripts started from inittab, when the script start and stop it's logged in wtpmx. So if you have scripts which exits you will have very fast growing wtmpx.</description>
      <pubDate>Fri, 28 Dec 2007 19:55:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/wtmps/m-p/4121676#M314876</guid>
      <dc:creator>radkol</dc:creator>
      <dc:date>2007-12-28T19:55:40Z</dc:date>
    </item>
  </channel>
</rss>

