<?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: utmp file cleaning in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363194#M684265</link>
    <description>Please ignore my previous post.</description>
    <pubDate>Fri, 20 Feb 2009 15:40:27 GMT</pubDate>
    <dc:creator>T G Manikandan</dc:creator>
    <dc:date>2009-02-20T15:40:27Z</dc:date>
    <item>
      <title>utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363191#M684262</link>
      <description>dear all&lt;BR /&gt;i have in /etc/ the file utmp&lt;BR /&gt;with the command who -u  i can see that in this&lt;BR /&gt;file there are processes which in fact do not&lt;BR /&gt;exist anymore&lt;BR /&gt;what is the best way to clean that utmp &lt;BR /&gt;file , so that i have the correct who -u display</description>
      <pubDate>Fri, 20 Feb 2009 15:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363191#M684262</guid>
      <dc:creator>Wenth Leopold</dc:creator>
      <dc:date>2009-02-20T15:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363192#M684263</link>
      <description>If you dont need to preserve data:&lt;BR /&gt;# cat /dev/null &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;If you want to preserve :&lt;BR /&gt;# /usr/sbin/acct/fwtmp &amp;lt; /var/adm/wtmp &amp;gt; /tmp/wtmp_data&lt;BR /&gt;Edit &amp;amp; make changes, then&lt;BR /&gt;# /usr/sbin/acct/fwtmp -ic &amp;lt; /tmp/wtmp_data &amp;gt; /var/adm/wtmp&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Feb 2009 15:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363192#M684263</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-02-20T15:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363193#M684264</link>
      <description>Hi Wenth:&lt;BR /&gt;&lt;BR /&gt;A reboot is the simplest, cleanest choice.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 20 Feb 2009 15:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363193#M684264</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-20T15:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363194#M684265</link>
      <description>Please ignore my previous post.</description>
      <pubDate>Fri, 20 Feb 2009 15:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363194#M684265</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-02-20T15:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363195#M684266</link>
      <description>I had given the steps to fix the corrupt wtmp file.&lt;BR /&gt;I have never tried fwtmp with utmp, but should follow the procedure to fix it. Make sure you backup the current file before any changes.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Fri, 20 Feb 2009 16:13:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363195#M684266</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2009-02-20T16:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363196#M684267</link>
      <description>&amp;gt;T G Manikandan: I had given the steps to fix the corrupt wtmp file.&lt;BR /&gt;&lt;BR /&gt;It seems to work fine for me:&lt;BR /&gt;$ /usr/sbin/acct/fwtmp &amp;lt; /etc/utmp &amp;gt; utmp_t&lt;BR /&gt;$ /usr/sbin/acct/fwtmp -ic &amp;lt; utmp_t &amp;gt; utmp_t.bin&lt;BR /&gt;$ cmp -l utmp_t.bin /etc/utmp&lt;BR /&gt;  1055   0 162&lt;BR /&gt;  1056   0 162&lt;BR /&gt;&lt;BR /&gt;But it depends on the OS since utmpd(1m) is being used on 11.23.  And that uses /etc/utmpx.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 21 Feb 2009 03:03:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363196#M684267</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-21T03:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363197#M684268</link>
      <description>dear all&lt;BR /&gt;&lt;BR /&gt;reboot is in my case not possible&lt;BR /&gt;the "lost processesnumcbers " is see i&lt;BR /&gt;in my utmp are mainly processes with&lt;BR /&gt;the name gold -- which is in fact goglobalux version 2.2.6 -- maybe one of you have same programm with the same troubles -&lt;BR /&gt;by troubles i mean - that if i have these many "ghost processes" new users cannot start&lt;BR /&gt;the apllication any more -- only stopping and starting of goglobalux solves my problems&lt;BR /&gt;-- maybe these gold processes are execeeding also som kernelparameters --</description>
      <pubDate>Sun, 22 Feb 2009 09:52:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363197#M684268</guid>
      <dc:creator>Wenth Leopold</dc:creator>
      <dc:date>2009-02-22T09:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363198#M684269</link>
      <description>hallo &lt;BR /&gt;i forgot to post my hp ux version&lt;BR /&gt;&lt;BR /&gt;B.11.11 U 9000/800</description>
      <pubDate>Sun, 22 Feb 2009 10:01:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363198#M684269</guid>
      <dc:creator>Wenth Leopold</dc:creator>
      <dc:date>2009-02-22T10:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: utmp file cleaning</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363199#M684270</link>
      <description>&amp;gt;reboot is in my case not possible&lt;BR /&gt;&lt;BR /&gt;Then try using fwtmp to remove these phantom processes.</description>
      <pubDate>Sun, 22 Feb 2009 18:27:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmp-file-cleaning/m-p/4363199#M684270</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-22T18:27:45Z</dc:date>
    </item>
  </channel>
</rss>

