<?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: awk to rotate sar hourly in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022751#M97217</link>
    <description>Thanks Peter,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Actually I knew this but was thinking outside the box when actually there was no need to.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 15 Jan 2007 07:15:52 GMT</pubDate>
    <dc:creator>lawrenzo_1</dc:creator>
    <dc:date>2007-01-15T07:15:52Z</dc:date>
    <item>
      <title>awk to rotate sar hourly</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022749#M97215</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am currently developing a script to run sar and write the output to a file however I always look for the most effiecent way and also am still in "The learning phase" for awk.&lt;BR /&gt;&lt;BR /&gt;can someone give me some idea's how I can get awk to run the sar command every 60 seconds, then rotate the output file after one hour.&lt;BR /&gt;&lt;BR /&gt;I can do this using loops and count but as mentioned I don't believe this is the most effecient with regards to system resource.&lt;BR /&gt;&lt;BR /&gt;Thanks experts ....&lt;BR /&gt;&lt;BR /&gt;Chris.</description>
      <pubDate>Mon, 15 Jan 2007 06:43:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022749#M97215</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2007-01-15T06:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: awk to rotate sar hourly</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022750#M97216</link>
      <description>Chris,&lt;BR /&gt;man sar gives you two formats:&lt;BR /&gt;&lt;BR /&gt;sar 60 60&lt;BR /&gt;which would run sar at 60 sec intervals 60 times (form 1)&lt;BR /&gt;&lt;BR /&gt;Or you could extract from /var/adm/sa/sadd&lt;BR /&gt;giving the start(-s) - end(-e) at interval -i&lt;BR /&gt;into your hourly file.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2007 07:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022750#M97216</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-01-15T07:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: awk to rotate sar hourly</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022751#M97217</link>
      <description>Thanks Peter,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Actually I knew this but was thinking outside the box when actually there was no need to.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2007 07:15:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022751#M97217</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2007-01-15T07:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: awk to rotate sar hourly</title>
      <link>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022752#M97218</link>
      <description>cheers</description>
      <pubDate>Mon, 15 Jan 2007 07:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/awk-to-rotate-sar-hourly/m-p/5022752#M97218</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2007-01-15T07:28:40Z</dc:date>
    </item>
  </channel>
</rss>

