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] < [email protected]> 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:[email protected]] > Sent: Thursday, July 21, 2011 12:57 PM > To: [email protected] > 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 <[email protected]> > To: [email protected] > Date: 21/07/2011 17:43 > Subject: Poor man's top > Sent by: Linux on 390 Port <[email protected]> > > > > 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 [email protected] 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 [email protected] 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 [email protected] 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 [email protected] 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/
