[procps] New top feature: inspect

  • From: Craig Small <csmall-procps@xxxxxxxxxx>
  • To: Procps-ng Mail list <procps@xxxxxxxxxxxxx>
  • Date: Sun, 2 Dec 2012 09:05:19 +1100

You might of seen a few recent git commits and wondered what that was
all about.

Jim has given top an early Christmas present. The new feature is called 
inspect.  The basic idea is you select the pid you want more information
about, make it the top one and then hit Y.

You'll go to another screen where you can choose what you want to see.
top will then run and pipe the output of the command to the screen. 
You can then choose another command or pid afterwards.

It's very good for those workflows where you want to find a process
check on something and repeat, or have a lot of those
 ps something | grep something | xargs something

The feature is one of those things that is simple in concept but will be
quite useful, I believe.  The only extra thing is more suggestions for
what programs or even scripts could be used.

 - Craig
-- 
Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Other related posts:

  • » [procps] New top feature: inspect - Craig Small