Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87371

Re: Pexpect idea - but can I handle curses?

From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.python
Subject Re: Pexpect idea - but can I handle curses?
Date 2015-03-13 16:54 +0100
Organization PointedEars Software (PES)
Message-ID <1606564.hXcnK9StvT@PointedEars.de> (permalink)
References <mailman.325.1426259880.21433.python-list@python.org>

Show all headers | View raw


Skip Montanaro wrote:

> I have this tweak I'd like to make to the top command (Linux only is
> fine). Most of the time I want to see just one user or all users. Every
> now and again though, I'd like to see all users except another.  Top 
> doesn't support this functionality,

Yes, it (top(1) from procps-ng 3.3.9) does.  Either run

  top -u '!root'

or type “o” (for case-insensitive filter), then e.g. “!USER=root” to show 
processes started by all users except “root”.  RTFM.

-- 
PointedEars

Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Pexpect idea - but can I handle curses? Skip Montanaro <skip.montanaro@gmail.com> - 2015-03-13 10:17 -0500
  Re: Pexpect idea - but can I handle curses? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-13 16:54 +0100
    Re: Pexpect idea - but can I handle curses? Skip Montanaro <skip.montanaro@gmail.com> - 2015-03-13 11:20 -0500
      Re: Pexpect idea - but can I handle curses? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-13 18:03 +0100
        Re: Pexpect idea - but can I handle curses? Skip Montanaro <skip.montanaro@gmail.com> - 2015-03-13 12:25 -0500
          Re: Pexpect idea - but can I handle curses? Christian Gollwitzer <auriocus@gmx.de> - 2015-03-13 23:47 +0100
            Re: Pexpect idea - but can I handle curses? Skip Montanaro <skip.montanaro@gmail.com> - 2015-03-13 19:14 -0500
              Re: Pexpect idea - but can I handle curses? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-14 20:19 +0100
                Re: Pexpect idea - but can I handle curses? Skip Montanaro <skip.montanaro@gmail.com> - 2015-03-14 20:05 -0500
                Re: Pexpect idea - but can I handle curses? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-15 10:23 +0100

csiph-web