<?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: script help too in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171341#M32081</link>
    <description>what is output you are getting now?&lt;BR /&gt;i think u can just add date in first line each of file dont u?</description>
    <pubDate>Tue, 01 Apr 2008 12:21:15 GMT</pubDate>
    <dc:creator>Change_happens</dc:creator>
    <dc:date>2008-04-01T12:21:15Z</dc:date>
    <item>
      <title>script help too</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171340#M32080</link>
      <description>I want to capture 80 port in the server every 10 minute.&lt;BR /&gt;&lt;BR /&gt;1 have already done captured 80 port every 10 minute, but the output is not suitable&lt;BR /&gt;&lt;BR /&gt;The output that I want is below.&lt;BR /&gt;&lt;BR /&gt;Tue Apr  1 17:14:40 KST 2008&lt;BR /&gt;125.139.203.113 3028&lt;BR /&gt;210.106.190.136 8480&lt;BR /&gt;211.173.34.244 14596&lt;BR /&gt;211.221.23.87 14858&lt;BR /&gt;211.228.90.229 9625&lt;BR /&gt;211.238.90.65 7466&lt;BR /&gt;218.147.243.50 7506&lt;BR /&gt;218.238.250.32 8638&lt;BR /&gt;218.239.251.108 11265&lt;BR /&gt;&lt;BR /&gt;Tue Apr  1 17:14:50 KST 2008&lt;BR /&gt;25.137.203.113 3028&lt;BR /&gt;210.106.190.136 8480&lt;BR /&gt;11.173.34.244 14596&lt;BR /&gt;211.221.23.87 14858&lt;BR /&gt;211.228.93.229 9625&lt;BR /&gt;211.238.92.65 7466&lt;BR /&gt;218.147.243.50 7506&lt;BR /&gt;218.238.250.32 8638&lt;BR /&gt;218.239.251.108 11265&lt;BR /&gt;&lt;BR /&gt;1.print date and captured 80 port&lt;BR /&gt;&lt;BR /&gt;help &lt;BR /&gt;how difficult it is for me..--;&lt;BR /&gt;&lt;BR /&gt;can you give me much advice ? help</description>
      <pubDate>Tue, 01 Apr 2008 07:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171340#M32080</guid>
      <dc:creator>file system</dc:creator>
      <dc:date>2008-04-01T07:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: script help too</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171341#M32081</link>
      <description>what is output you are getting now?&lt;BR /&gt;i think u can just add date in first line each of file dont u?</description>
      <pubDate>Tue, 01 Apr 2008 12:21:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171341#M32081</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2008-04-01T12:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: script help too</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171342#M32082</link>
      <description>&lt;!--!*#--&gt;If you want to run continuously out of cron, you can do something like this:&lt;BR /&gt;&lt;BR /&gt;while true&lt;BR /&gt;do&lt;BR /&gt;  date&lt;BR /&gt;  netstat -n | awk '{ print $5}'| grep ":80 " | tr ":" " " | sort -u -k 1,1&lt;BR /&gt;  echo&lt;BR /&gt;  sleep 600&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;If you run from cron, then you should use something like this:&lt;BR /&gt;&lt;BR /&gt;LOGFILE=/var/log/capture&lt;BR /&gt;date &amp;gt;&amp;gt; $LOGFILE&lt;BR /&gt;netstat -n | awk '{ print $5}'| grep ":80 " | tr ":" " " | sort -u -k 1,1 &amp;gt;&amp;gt; $LOGFILE&lt;BR /&gt;echo &amp;gt;&amp;gt; $LOGFILE</description>
      <pubDate>Tue, 01 Apr 2008 12:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171342#M32082</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2008-04-01T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: script help too</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171343#M32083</link>
      <description>Thank you for all your reply.&lt;BR /&gt;I'm happy to get many helps from all of you&lt;BR /&gt;&lt;BR /&gt;I'm appreciate that.</description>
      <pubDate>Wed, 02 Apr 2008 00:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help-too/m-p/4171343#M32083</guid>
      <dc:creator>file system</dc:creator>
      <dc:date>2008-04-02T00:40:30Z</dc:date>
    </item>
  </channel>
</rss>

