<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Konami on Amit Agarwal Linux Blog</title>
    <link>/tags/konami/</link>
    <description>Recent content in Konami on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Sat, 27 Nov 2010 03:54:37 +0000</lastBuildDate>
    
	<atom:link href="/tags/konami/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>The Hidden PS</title>
      <link>/2010/11/27/hidden-ps/</link>
      <pubDate>Sat, 27 Nov 2010 03:54:37 +0000</pubDate>
      
      <guid>/2010/11/27/hidden-ps/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;div class=&#34;codecolorer-container text solarized-light&#34; style=&#34;overflow:auto;white-space:nowrap;width:550px;&#34;&gt;
  &lt;table cellspacing=&#34;0&#34; cellpadding=&#34;0&#34;&gt;
    &lt;tr&gt;
      &lt;td class=&#34;line-numbers&#34;&gt;
        &lt;div&gt;
          1&lt;br /&gt;
        &lt;/div&gt;
      &lt;/td&gt;
&lt;pre&gt;&lt;code&gt;  &amp;lt;td&amp;gt;
    &amp;lt;div class=&amp;quot;text codecolorer&amp;quot;&amp;gt;
      &amp;amp;nbsp;for p in `ps L|cut -d&#39; &#39; -f1`;do echo -e &amp;quot;`tput clear;read -p$p -n1 p`&amp;quot;;ps wwo pid:6,user:8,comm:10,$p kpid -A;done
    &amp;lt;/div&amp;gt;
  &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
  &lt;/table&gt;
&lt;/div&gt;
&lt;p&gt;While going through the &lt;a class=&#34;zem_slink&#34; title=&#34;Source code&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Source_code&#34;&gt;source code&lt;/a&gt; for the well known ps command, I read about some interesting things.. Namely, that there are a bunch of different fields that ps can try and enumerate for you. These are fields I was not able to find in the &lt;a class=&#34;zem_slink&#34; title=&#34;Man page&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Man_page&#34;&gt;man pages&lt;/a&gt;, documentation, only in the source.&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
