<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Commands on Amit Agarwal Linux Blog</title>
    <link>/tags/commands/</link>
    <description>Recent content in Commands on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 11 Mar 2019 01:12:34 +0000</lastBuildDate>
    
	<atom:link href="/tags/commands/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>cool sed/grep magic to convert output to csv format</title>
      <link>/2019/03/11/cool-sed-grep-magic-to-convert-output-to-csv-format/</link>
      <pubDate>Mon, 11 Mar 2019 01:12:34 +0000</pubDate>
      
      <guid>/2019/03/11/cool-sed-grep-magic-to-convert-output-to-csv-format/</guid>
      <description>&lt;p&gt;I generallly keep doing this a lot, so thought will share with you. Lets assume we are capturing free ouput every min/hour/or whatever. The output looks like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Time: Mon Jan 21 23:59:10 AEDT 2019&lt;br&gt;
——————-&lt;/p&gt;
&lt;p&gt;total        used        free      shared  buff/cache   available&lt;br&gt;
Mem:          32014        8656        1735        1697       21621       21308&lt;br&gt;
Swap: 51195 75 51120&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;then we can use some grep and sed to convert this to something like this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Mon Jan 21 23:59:10 AEDT 2019,32014,8656,1735,1697,21621,21308&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Solaris commands.</title>
      <link>/2010/03/21/solaris-commands/</link>
      <pubDate>Sun, 21 Mar 2010 13:05:25 +0000</pubDate>
      
      <guid>/2010/03/21/solaris-commands/</guid>
      <description>&lt;p&gt;prtdiag&lt;br&gt;
vmstat&lt;br&gt;
iostat&lt;br&gt;
uname -a&lt;/p&gt;
&lt;p&gt;Will update this shortly with the details for these commands.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
