<?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: what function with these files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297132#M183170</link>
    <description>The files .*authority and the directory .dt are related to CDE/Xwindows. .sw is the localized settings for SD-UX for that user. They shouldn't take much disk space. In your case, I would suggest you do&lt;BR /&gt;&lt;BR /&gt;du -kx / |sort -n&lt;BR /&gt;&lt;BR /&gt;This will show the sizes of all the directories under / that are not mount points so that you can determine the culprit. Most of the case I have seen are where there are directories without filesystem but with permissions to non-root users. Non-root users may inadvertantly fill-up these directories causing /  to fill up. If / is at 100%, you will not be able to login. So, get alarms whenever it reaches 80% so that you will have some time to react. There may be cases where it may get filled within no time. Creation of core files by program crashes is such an incident. So, it is a good idea to keep / filesystem not more than 60% used. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Sun, 06 Jun 2004 15:06:35 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-06-06T15:06:35Z</dc:date>
    <item>
      <title>what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297126#M183164</link>
      <description>Hi, &lt;BR /&gt;   Under /  , I see these files as below:&lt;BR /&gt;.ICEauthority&lt;BR /&gt;.TTauthority&lt;BR /&gt;.Xauthority&lt;BR /&gt;.dt&lt;BR /&gt;.sw&lt;BR /&gt;......&lt;BR /&gt;&lt;BR /&gt;what function with these file ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 06 Jun 2004 10:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297126#M183164</guid>
      <dc:creator>Rambo_1</dc:creator>
      <dc:date>2004-06-06T10:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297127#M183165</link>
      <description>.dt is the .dt-profile for cde behavior and settings saving&lt;BR /&gt;&lt;BR /&gt;.sw is for the software distributor, i believe though its usually in /var&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 06 Jun 2004 11:46:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297127#M183165</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-06-06T11:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297128#M183166</link>
      <description>Thanks&lt;BR /&gt;   because the /  is  100% now, so I need to delete something to release the space , what &amp;amp; where files  I can delete ?&lt;BR /&gt;&lt;BR /&gt;BR</description>
      <pubDate>Sun, 06 Jun 2004 12:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297128#M183166</guid>
      <dc:creator>Rambo_1</dc:creator>
      <dc:date>2004-06-06T12:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297129#M183167</link>
      <description>hi,&lt;BR /&gt; &lt;BR /&gt;find / -xdev -name core  : remove these ones&lt;BR /&gt;find /dev -type f :  /dev should only contain device files, check normal files&lt;BR /&gt;find / -xdev -size +1000000c : check large files in /&lt;BR /&gt;...&lt;BR /&gt; &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry.&lt;BR /&gt;</description>
      <pubDate>Sun, 06 Jun 2004 13:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297129#M183167</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-06-06T13:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297130#M183168</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Create a list of directories in / , excluding from it all filesystems. &lt;BR /&gt;ls -1 &amp;gt; /tmp/list; edit it and run&lt;BR /&gt;cat /tmp/list | while read dirn; do&lt;BR /&gt;du -ks $dirn&lt;BR /&gt;done | sort -nr | more&lt;BR /&gt;&lt;BR /&gt;By this way you find the directories which take most of the disk space.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Sun, 06 Jun 2004 13:09:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297130#M183168</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2004-06-06T13:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297131#M183169</link>
      <description>The first place I usually check when / is at 100% is /dev/rmt to see if someone mistyped a tape device file.  If you see any file that is not a device file in /dev/rmt then someone made a mistake.</description>
      <pubDate>Sun, 06 Jun 2004 14:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297131#M183169</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-06-06T14:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297132#M183170</link>
      <description>The files .*authority and the directory .dt are related to CDE/Xwindows. .sw is the localized settings for SD-UX for that user. They shouldn't take much disk space. In your case, I would suggest you do&lt;BR /&gt;&lt;BR /&gt;du -kx / |sort -n&lt;BR /&gt;&lt;BR /&gt;This will show the sizes of all the directories under / that are not mount points so that you can determine the culprit. Most of the case I have seen are where there are directories without filesystem but with permissions to non-root users. Non-root users may inadvertantly fill-up these directories causing /  to fill up. If / is at 100%, you will not be able to login. So, get alarms whenever it reaches 80% so that you will have some time to react. There may be cases where it may get filled within no time. Creation of core files by program crashes is such an incident. So, it is a good idea to keep / filesystem not more than 60% used. &lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sun, 06 Jun 2004 15:06:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297132#M183170</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-06-06T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297133#M183171</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;.sw file is to store the session files. Have a look at man sd for more details.&lt;BR /&gt;&lt;BR /&gt;manish</description>
      <pubDate>Mon, 07 Jun 2004 00:09:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297133#M183171</guid>
      <dc:creator>Manish Srivastava</dc:creator>
      <dc:date>2004-06-07T00:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: what function with these files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297134#M183172</link>
      <description>Hi Rambo,&lt;BR /&gt;I have compiled a collection of commands for such a scenario and I use them quite effectively. Hope it helps you too.&lt;BR /&gt;&lt;BR /&gt;Some simple commands which might be very useful in case of filesystem full. I am giving them below,&lt;BR /&gt;&lt;BR /&gt;1) Find files which are above a particular size in a specific filesystem:&lt;BR /&gt;&lt;BR /&gt;# find / -size +100000c -xdev -print&lt;BR /&gt;&lt;BR /&gt; a)The "+" symbol is important as it enables to list files    which are "equal &lt;BR /&gt;to" or "above" the size given.&lt;BR /&gt; b) The "c" denotes the size in bytes. If not given, it    will be taken as &lt;BR /&gt;blocks.&lt;BR /&gt; c)The "-xdev" option prevents the command going over to    other filesystems &lt;BR /&gt;other than the one mentioned.&lt;BR /&gt;&lt;BR /&gt;2) To find any files which are in /dev directory that are not special files:&lt;BR /&gt;&lt;BR /&gt;# find /dev -type f -print&lt;BR /&gt;&lt;BR /&gt; 1) This command will show any files accidentally created     in the /dev &lt;BR /&gt;directory by wrong commands (especially     during backups).&lt;BR /&gt;&lt;BR /&gt;3) To remove files from /tmp directory which have not been updated for the past &lt;BR /&gt;14 days:&lt;BR /&gt;&lt;BR /&gt;# find /tmp -type f -atime +14 -exec rm {} \;&lt;BR /&gt;&lt;BR /&gt; 1) If you want to list the files before removing        substitute "ll" for &lt;BR /&gt;"rm".&lt;BR /&gt; 2) Similarly, you can check in /var/tmp by substituting     the directory name.&lt;BR /&gt;&lt;BR /&gt;4) To remove the files and empty directories which were not accessed for the &lt;BR /&gt;past 14 days under /tmp:&lt;BR /&gt;&lt;BR /&gt;# find /tmp -type f -atime +14 -print -exec rm -f {} \;&lt;BR /&gt;# find /tmp -type f -atime +14 -print -exec rmdir {} \;&lt;BR /&gt;&lt;BR /&gt; 1) This is a 2 line command. The first line will remove&lt;BR /&gt;    files not accessed for the past 14 days.&lt;BR /&gt; 2) Second line removes the empty directories. remember to     use only "rmdir" &lt;BR /&gt;and NOT "rm -r" as "rmdir" will not     remove directories which are not empty.&lt;BR /&gt;&lt;BR /&gt;5) To sort the files according to their file size,in descending order:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;# Long listing sorted&lt;BR /&gt;/bin/ll -aF $* | sort -nr -k 5 | more&lt;BR /&gt; &lt;BR /&gt; a) The above 3 lines should be put inside a file and make     it executable.&lt;BR /&gt; b) then you can use it as follows, (supposing you having     put the above &lt;BR /&gt;script in a file named sort_list)&lt;BR /&gt;   &lt;BR /&gt;  # sort_list /var &lt;BR /&gt;  &lt;BR /&gt;  This will list files from /var in descending file   size order.&lt;BR /&gt;&lt;BR /&gt;Let me know if you require any clarifications.&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;Mohan.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jun 2004 01:02:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-function-with-these-files/m-p/3297134#M183172</guid>
      <dc:creator>Mohanasundaram_1</dc:creator>
      <dc:date>2004-06-07T01:02:35Z</dc:date>
    </item>
  </channel>
</rss>

