<?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: Deleting operating system logs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684882#M245995</link>
    <description>Thanks all people ..&lt;BR /&gt;i uderstand very well Christine Hartman, thank you very much ...</description>
    <pubDate>Mon, 05 Dec 2005 17:28:15 GMT</pubDate>
    <dc:creator>Manuales</dc:creator>
    <dc:date>2005-12-05T17:28:15Z</dc:date>
    <item>
      <title>Deleting operating system logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684876#M245989</link>
      <description>Hi !!&lt;BR /&gt;Could you tell me, what kind of logs can i delete from all my unix system?&lt;BR /&gt;&lt;BR /&gt;For example: var/adm/syslog.log&lt;BR /&gt;/var/spool/&lt;BR /&gt;&lt;BR /&gt;what kind of log's can i delete every week for example? &lt;BR /&gt;&lt;BR /&gt;can i delete /var/spool/mqueue ??&lt;BR /&gt;can i delete /var/spool/pwgr ??&lt;BR /&gt;what another logs can i delete?&lt;BR /&gt;&lt;BR /&gt;Thanks, Manuales</description>
      <pubDate>Mon, 05 Dec 2005 13:41:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684876#M245989</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2005-12-05T13:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting operating system logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684877#M245990</link>
      <description>I would suggest that you not delete any logs.  Instead, you can trim them using SAM &amp;gt; Routine Tasks or a shell script through cron.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 05 Dec 2005 13:43:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684877#M245990</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-12-05T13:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting operating system logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684878#M245991</link>
      <description>Most of these logs you do not want to delete. Open processes have the log files open so the inodes are still in use. This results in a 0 byte file but the filesystem usage does not change.&lt;BR /&gt;&lt;BR /&gt;Use 'cat /dev/null &amp;gt; $filename' to empty the contents of respective file.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Dec 2005 13:45:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684878#M245991</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2005-12-05T13:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting operating system logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684879#M245992</link>
      <description>Hi,&lt;BR /&gt;You can delete/trim following files/logs but make sure that this data is either not required or backed up.&lt;BR /&gt;Log files are necessary to troubleshoot problems and to study the behaviour of the application.&lt;BR /&gt;&lt;BR /&gt;1. /var/adm/syslog/syslog.log&lt;BR /&gt;2. /var/opt/&lt;APPL.DIR&gt;/&lt;LOGFILES&gt;&lt;BR /&gt;3. /var/tmp/&lt;LOGFILES&gt;&lt;BR /&gt;4. wtmp file&lt;BR /&gt;5. btmp file&lt;BR /&gt;6. Core files that get generated&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;/LOGFILES&gt;&lt;/LOGFILES&gt;&lt;/APPL.DIR&gt;</description>
      <pubDate>Mon, 05 Dec 2005 14:42:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684879#M245992</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2005-12-05T14:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting operating system logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684880#M245993</link>
      <description>Hi Manuales,&lt;BR /&gt;&lt;BR /&gt;attached is a script that I use to keep logfiles managed. Hope this helps!&lt;BR /&gt;CHristine&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Dec 2005 16:50:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684880#M245993</guid>
      <dc:creator>Christine Hartman</dc:creator>
      <dc:date>2005-12-05T16:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting operating system logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684881#M245994</link>
      <description>Hi Manuales ,&lt;BR /&gt;&lt;BR /&gt;If you dont need to keep the log , You can nullify this log files , which grows much more :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/syslog.log&lt;BR /&gt;/var/adm/wtmp&lt;BR /&gt;/var/adm/syslog/mail.log&lt;BR /&gt;/var/adm/cron/log&lt;BR /&gt;&lt;BR /&gt;And it can recover filesystem space,&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Mon, 05 Dec 2005 17:11:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684881#M245994</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-05T17:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting operating system logs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684882#M245995</link>
      <description>Thanks all people ..&lt;BR /&gt;i uderstand very well Christine Hartman, thank you very much ...</description>
      <pubDate>Mon, 05 Dec 2005 17:28:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/deleting-operating-system-logs/m-p/3684882#M245995</guid>
      <dc:creator>Manuales</dc:creator>
      <dc:date>2005-12-05T17:28:15Z</dc:date>
    </item>
  </channel>
</rss>

