<?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: utmpx in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304540#M673853</link>
    <description>in that case,&lt;BR /&gt;&lt;BR /&gt;we need narrow down with helps of the commands which posted earlier, eye -ball any Application related files writing to / file system&lt;BR /&gt;&lt;BR /&gt;how about your /var/adm/crash ..? does it resides under vg00 ..?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
    <pubDate>Wed, 12 Nov 2008 04:32:29 GMT</pubDate>
    <dc:creator>Johnson Punniyalingam</dc:creator>
    <dc:date>2008-11-12T04:32:29Z</dc:date>
    <item>
      <title>utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304533#M673846</link>
      <description>I'm trying to free some space up in root FS and was wondering if ther would be any harm in issuing this command:-&lt;BR /&gt;&lt;BR /&gt;cat /dev/null &amp;gt; /etc/utmpx &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 02:15:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304533#M673846</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-11-12T02:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304534#M673847</link>
      <description>Hi Kenneth:&lt;BR /&gt;&lt;BR /&gt;You don't want to truncate this file.  It holds current login information for users currently logged on to your server. &lt;BR /&gt;&lt;BR /&gt;That aside, it isn't going to return you much space.&lt;BR /&gt;&lt;BR /&gt;Look for regular files (non-special ones) in '/dev' and look for core files.  &lt;BR /&gt;&lt;BR /&gt;A common error is a mis-typed device file name during a backup like : /dev/rmt/om which will appear as a regular file.&lt;BR /&gt;&lt;BR /&gt;# du -xk / | sort -krn1,1 &lt;BR /&gt;&lt;BR /&gt;...will show where the most space is consumed in various root directories.  This is useful for your analysis.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 12 Nov 2008 02:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304534#M673847</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-11-12T02:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304535#M673848</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;The below commands will help to find some large file located under / root File system&lt;BR /&gt;&lt;BR /&gt;find / -xdev -type f -size +5000000c -exec ll {} \; | sort -nk 5&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;cd /&lt;BR /&gt;du -sk * --&amp;gt; this list down the directories which also contains big files , so that you can narrow down, trim your / File system&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Wed, 12 Nov 2008 02:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304535#M673848</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-12T02:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304536#M673849</link>
      <description>Thanks for the replies so far. some very useful commands there.&lt;BR /&gt;My main problem is that the current size of root is only 100Mb - which aint to big.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 02:44:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304536#M673849</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-11-12T02:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304537#M673850</link>
      <description>would be prefer to "Extend / File system ..?&lt;BR /&gt;do you have enough space on your vg00.?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Wed, 12 Nov 2008 02:51:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304537#M673850</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-12T02:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304538#M673851</link>
      <description>Unfortunately there is no allocation available for vg00.&lt;BR /&gt;</description>
      <pubDate>Wed, 12 Nov 2008 02:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304538#M673851</guid>
      <dc:creator>Kenneth Woolard</dc:creator>
      <dc:date>2008-11-12T02:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304539#M673852</link>
      <description>100 MB for / is really a big problem. You are correct that it is not very much but the problem is much more serious. If / becomes full, a lot of things will break and root may not even be able to login. This will get worse and worse as you add disks and lvols because your /etc/lvmconf will continue to grow. Normal sizes for the two biggest directories (/etc and /sbin) are about 30 MB each. That leaves only 40 MB for everything else.&lt;BR /&gt; &lt;BR /&gt;The first thing to do right now is to move root's $HOME -- immediately. The / directory is a legacy mistake that causes big problems for all Unix sysadmins. Move root's files and subdirectories to /home/root and change /etc/passwd to reflect the new location. Good sysadmin practices prohibit ordinary files in /, so find them all and move them to root's $HOME (or remove them). This will show all the misplaced files:&lt;BR /&gt; &lt;BR /&gt;ll -d /* | grep -- ^-  &lt;BR /&gt; &lt;BR /&gt;The / directory is static, changing slightly as config files are created or extended in /etc, and additional disks and lvols are created (/etc/lvmconf). You can move the /etc/lvmconf files that end with ".old" every time you perform LVM maintenance. &lt;BR /&gt; &lt;BR /&gt;To summarizr the largest directories (which will be /etc/ and /sbin), use the command:&lt;BR /&gt; &lt;BR /&gt;du -kx / | sort -rn | head -20&lt;BR /&gt; &lt;BR /&gt;Then look in each directory at the top of the list for unusual large files:&lt;BR /&gt; &lt;BR /&gt;ll /etc | sort -rnk5 | head -20&lt;BR /&gt; &lt;BR /&gt;You'll have a permanent job to do this every week or two, forever, until you create an Ignite tape backup (make 2 copies), then reinstall from the Ignite tape and resize / to about 200 to 400 MB.</description>
      <pubDate>Wed, 12 Nov 2008 04:31:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304539#M673852</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-11-12T04:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: utmpx</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304540#M673853</link>
      <description>in that case,&lt;BR /&gt;&lt;BR /&gt;we need narrow down with helps of the commands which posted earlier, eye -ball any Application related files writing to / file system&lt;BR /&gt;&lt;BR /&gt;how about your /var/adm/crash ..? does it resides under vg00 ..?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Wed, 12 Nov 2008 04:32:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/utmpx/m-p/4304540#M673853</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-12T04:32:29Z</dc:date>
    </item>
  </channel>
</rss>

