Ah ..   I think I remember -- we were running this at the z/VM console on a
Linux guest... so wanted to limit the output so it didn't wrap and mess up
the displayed tasks..

Scott Rohling

On Thu, Jul 21, 2011 at 11:20 AM, Scott Rohling <scott.rohl...@gmail.com>wrote:

> Just ensure 80 amount of characters are displayed on each line ..   you can
> certainly leave it out --  it's been too long for me to remember why that
> was stuck in  :(    I'm not sure now what the rationale was..
>
> Scott Rohling
>
>
> On Thu, Jul 21, 2011 at 11:04 AM, Bauer, Bobby (NIH/CIT) [E] <
> baue...@mail.nih.gov> wrote:
>
>> Can somebody explain to me what the 'cut' step is suppose to do? I left it
>> out and the results appear to be the same.
>>
>> Bobby Bauer
>> Center for Information Technology
>> National Institutes of Health
>> Bethesda, MD 20892-5628
>> 301-594-7474
>>
>>
>>
>> -----Original Message-----
>> From: Richard J Moore [mailto:richardj_mo...@uk.ibm.com]
>> Sent: Thursday, July 21, 2011 12:57 PM
>> To: LINUX-390@VM.MARIST.EDU
>> Subject: Re: Poor man's top
>>
>> very good. nice suggestion.  but I needed to do:
>>
>> watch -n 10 -d 'ps aux --sort -%cpu | cut -c1- | head -20'
>>
>> Richard
>>
>>
>>
>>
>> From:       Scott Rohling <scott.rohl...@gmail.com>
>> To:         LINUX-390@vm.marist.edu
>> Date:       21/07/2011 17:43
>> Subject:    Poor man's top
>> Sent by:    Linux on 390 Port <LINUX-390@vm.marist.edu>
>>
>>
>>
>> I found this buried in some notes..   thought others might enjoy it.
>> Much
>> less overhead then top.. :
>>
>> watch -n 10 -d 'ps aux --sort -%cpu | cut -c1-0 | head -20'
>>
>> Scott Rohling
>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
>> visit
>> http://www.marist.edu/htbin/wlvindex?LINUX-390
>> ----------------------------------------------------------------------
>> For more information on Linux on System z, visit
>> http://wiki.linuxvm.org/
>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
>> visit
>> http://www.marist.edu/htbin/wlvindex?LINUX-390
>> ----------------------------------------------------------------------
>> For more information on Linux on System z, visit
>> http://wiki.linuxvm.org/
>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or
>> visit
>> http://www.marist.edu/htbin/wlvindex?LINUX-390
>> ----------------------------------------------------------------------
>> For more information on Linux on System z, visit
>> http://wiki.linuxvm.org/
>>
>
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to