<?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: Trimming inetd logging log regularly in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709576#M903834</link>
    <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt; Default log is the standard syslog.log file but can be controlled &amp;amp; tailored by the conf file for the syslog - /etc/syslog.conf&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
    <pubDate>Tue, 23 Apr 2002 20:10:37 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2002-04-23T20:10:37Z</dc:date>
    <item>
      <title>Trimming inetd logging log regularly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709575#M903833</link>
      <description>I want to enable inetd logging:&lt;BR /&gt;vi /etc/rc.config.d/netdaemons&lt;BR /&gt;export INETD_ARGS=-1&lt;BR /&gt;inetd -c&lt;BR /&gt;&lt;BR /&gt;After that, I need to trim the log file regularly, I know I can do it through SAM, my question is what is the default log and how can I do it if I use cron job? Thanks.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Apr 2002 19:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709575#M903833</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-04-23T19:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming inetd logging log regularly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709576#M903834</link>
      <description>Hi Victor,&lt;BR /&gt;&lt;BR /&gt; Default log is the standard syslog.log file but can be controlled &amp;amp; tailored by the conf file for the syslog - /etc/syslog.conf&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 23 Apr 2002 20:10:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709576#M903834</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-04-23T20:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming inetd logging log regularly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709577#M903835</link>
      <description>Hi Victor:&lt;BR /&gt;&lt;BR /&gt;Connection logging occurs to '/var/adm/syslog/syslog.log'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 23 Apr 2002 20:14:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709577#M903835</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-04-23T20:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming inetd logging log regularly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709578#M903836</link>
      <description>Depending on how thorough you want your "cleanup" script in the cron to be, the script should in essence do this .. ( I'm asuming you want to keep a compress copy of the syslog.log file )&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/syslogd stop&lt;BR /&gt;==&amp;gt; Stop syslogd&lt;BR /&gt;# cp /var/adm/syslog/syslog.log /var/adm/syslog/syslog.old&lt;BR /&gt;# compress /var/adm/syslog/syslog.old&lt;BR /&gt;==&amp;gt; You want to make sure /var has enough space, it not copy it to other location.&lt;BR /&gt;# &amp;gt; /var/adm/syslog/syslog.log&lt;BR /&gt;==&amp;gt; Zero'ed out syslog.log&lt;BR /&gt;# /sbin/init.d/syslogd start&lt;BR /&gt;==&amp;gt; Start syslogd&lt;BR /&gt;&lt;BR /&gt;In root's cron file it would look like this ..&lt;BR /&gt;(say you want to do this every Fri at 0101hrs)&lt;BR /&gt;# crontab -e&lt;BR /&gt;==&amp;gt; edit crontab file&lt;BR /&gt;# crontab -l&lt;BR /&gt;01 01 * * 5 /usr/bin/cleanup&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Apr 2002 20:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709578#M903836</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-04-23T20:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming inetd logging log regularly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709579#M903837</link>
      <description>here's one that I use for most of my log files.</description>
      <pubDate>Tue, 23 Apr 2002 21:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709579#M903837</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-04-23T21:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming inetd logging log regularly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709580#M903838</link>
      <description>...and the correspondig config file</description>
      <pubDate>Tue, 23 Apr 2002 21:09:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709580#M903838</guid>
      <dc:creator>Scott Van Kalken</dc:creator>
      <dc:date>2002-04-23T21:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming inetd logging log regularly</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709581#M903839</link>
      <description>Thanks, all! I will have a try and assign points soon.&lt;BR /&gt;</description>
      <pubDate>Tue, 23 Apr 2002 21:25:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trimming-inetd-logging-log-regularly/m-p/2709581#M903839</guid>
      <dc:creator>Victor_5</dc:creator>
      <dc:date>2002-04-23T21:25:49Z</dc:date>
    </item>
  </channel>
</rss>

