<?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: File system utilization vary checking by root and normal user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732581#M548277</link>
    <description>&amp;gt;And by normal user for same file system: du -sh ./*&lt;BR /&gt;&lt;BR /&gt;This "*" will also skip any "." files and directories, at the top level.</description>
    <pubDate>Sun, 02 Jan 2011 17:06:29 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-01-02T17:06:29Z</dc:date>
    <item>
      <title>File system utilization vary checking by root and normal user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732578#M548274</link>
      <description>While checking as root the file system utilization is:&lt;BR /&gt;&lt;BR /&gt;  idcxpr0012# du -sh ./*&lt;BR /&gt;   0K   ./bin&lt;BR /&gt; 308M   ./db&lt;BR /&gt;   0K   ./kms&lt;BR /&gt; 758K   ./local&lt;BR /&gt;  18M   ./lost+found&lt;BR /&gt; 761G   ./netbackup&lt;BR /&gt;   0K   ./replication_status&lt;BR /&gt; 593K   ./var&lt;BR /&gt; 5.4M   ./volmgr&lt;BR /&gt;  92M   ./vxul&lt;BR /&gt;  92M   ./vxul.tar.gz&lt;BR /&gt;&lt;BR /&gt;And by normal user for same file system:&lt;BR /&gt;  idcxpr0012: du -sh ./*&lt;BR /&gt;   0K   ./bin&lt;BR /&gt; 308M   ./db&lt;BR /&gt;   0K   ./kms&lt;BR /&gt; 758K   ./local&lt;BR /&gt;  18M   ./lost+found&lt;BR /&gt;   idcxpr0012: du -sh ./*&lt;BR /&gt;   0K   ./bin&lt;BR /&gt; 308M   ./db&lt;BR /&gt;   0K   ./kms&lt;BR /&gt; 758K   ./local&lt;BR /&gt;  18M   ./lost+found&lt;BR /&gt; 110G   ./netbackup  -This huge difference is there&lt;BR /&gt;   0K   ./replication_status&lt;BR /&gt; 593K   ./var&lt;BR /&gt; 5.4M   ./volmgr&lt;BR /&gt;  92M   ./vxul&lt;BR /&gt;  92M   ./vxul.tar.gz   0K   ./replication_status&lt;BR /&gt; 593K   ./var&lt;BR /&gt; 5.4M   ./volmgr&lt;BR /&gt;  92M   ./vxul&lt;BR /&gt;  92M   ./vxul.tar.gz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;110G   ./netbackup  -This huge difference is there&lt;BR /&gt;&lt;BR /&gt;For this file system huge difference is there , please suggest how this big difference is there</description>
      <pubDate>Sat, 01 Jan 2011 20:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732578#M548274</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2011-01-01T20:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: File system utilization vary checking by root and normal user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732579#M548275</link>
      <description>Is this an HP-Us system? Using standard /usr/bin/du, I see:&lt;BR /&gt; &lt;BR /&gt;# du -sh ./*&lt;BR /&gt;du: illegal option -- h&lt;BR /&gt;usage: du [-a|-s] [-kbrx] [-H|-L] [-t type] [name ...]&lt;BR /&gt; &lt;BR /&gt;The difference (on any flavor of Unix) is due to directory permissions. Ordinary users are not allowed to read every directory, thus du will fail to count that space. However, using a standard du command on HP-UX, unreadable directories will produce the following message:&lt;BR /&gt; &lt;BR /&gt;du: cannot open &amp;lt; ./blh &amp;gt;&lt;BR /&gt; &lt;BR /&gt;What happens when you issue this command:&lt;BR /&gt; &lt;BR /&gt;type du&lt;BR /&gt; &lt;BR /&gt;This might help clarify the problem.</description>
      <pubDate>Sun, 02 Jan 2011 00:28:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732579#M548275</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2011-01-02T00:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: File system utilization vary checking by root and normal user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732580#M548276</link>
      <description>Hi All&lt;BR /&gt;&lt;BR /&gt;I resovled my problem , as I get to know that user are not having permission on all the directory and file under netbackup directory, so while checking the size of the file system, the user is not able to get the size of those file and directory which users are not having permission, while root is able to calculate it.&lt;BR /&gt;&lt;BR /&gt;Also i tried below option:&lt;BR /&gt;cd /opt/VRTSnbu&lt;BR /&gt;*du -h ./** | sort -k 2 &amp;gt; /tmp/xn&lt;BR /&gt;---------&lt;BR /&gt;then as root:&lt;BR /&gt;&lt;BR /&gt;Code:&lt;BR /&gt;---------&lt;BR /&gt;cd /opt/VRTSnbu&lt;BR /&gt;*du -h ./** | sort -k 2 &amp;gt; /tmp/xr&lt;BR /&gt;---------&lt;BR /&gt;Then use com m or diff to determine what is different.&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Jan 2011 07:50:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732580#M548276</guid>
      <dc:creator>Indrajit Bhagat</dc:creator>
      <dc:date>2011-01-02T07:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: File system utilization vary checking by root and normal user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732581#M548277</link>
      <description>&amp;gt;And by normal user for same file system: du -sh ./*&lt;BR /&gt;&lt;BR /&gt;This "*" will also skip any "." files and directories, at the top level.</description>
      <pubDate>Sun, 02 Jan 2011 17:06:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/file-system-utilization-vary-checking-by-root-and-normal-user/m-p/4732581#M548277</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-01-02T17:06:29Z</dc:date>
    </item>
  </channel>
</rss>

