public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jack <ostroffjh@users.sourceforge.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [EXTERNAL] Re: [gentoo-user] empty cdrom drive is busy or mounted
Date: Thu, 22 Aug 2019 12:52:45 -0400	[thread overview]
Message-ID: <QFV7MYMI.55BT5AKX.JCY5N5MK@65UZOVBR.7XKN3R43.GA4C5XPK> (raw)
In-Reply-To: <f2ed5d79b33d6a94afea9c1457bb18eec6becaf6.camel@openeye.net> (from lperkins@openeye.net on Thu Aug 22 12:31:46 2019)

On 2019.08.22 12:31, Laurence Perkins wrote:
> 
> 
> On Thu, 2019-08-22 at 10:03 +1000, Adam Carter wrote:
> > On Thu, Aug 22, 2019 at 5:48 AM james <garftd@verizon.net> wrote:
> > > On 8/16/19 12:44 PM, Jack wrote:
> > > > ps auxf | grep systemd
> > >
> > > This is new turf for me. Upon issuing this command string I get::
> > >
> > > # ps auxf | grep systemd
> > > root     24947  0.0  0.0  13964   996 pts/6    S+   15:43   0:00
> > >           |   |   |           \_ grep --colour=auto systemd
> > >
> >
> > This is showing that the only process with systemd in its name is  
> the
> > grep command itself; you could pass anything to grep and it will be
> > found in the process list, eg;
> >
> > $ ps auxf | grep blah
> > adam       52359  0.0  0.0   7708   940 pts/3    S+   09:55   0:00
> >    \_ grep --colour=auto blah
> >
> > So, there's no systemd process running on this system.
> 
> A common tactic is to use grep twice:
> ps auxf | grep -v grep | grep blah
> 
> That strips out all instances of grep from the results.
> Putting what you're searching for first is more efficient, but putting
> it last keeps the colorized output intact.
> 
> LMP
I often deal with that by using the search function in my terminal  
(usually konsole) to highlight the term I'm actually looking for.
> 



  reply	other threads:[~2019-08-22 16:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-16 14:23 [gentoo-user] empty cdrom drive is busy or mounted Helmut Jarausch
2019-08-16 15:22 ` J. Roeleveld
2019-08-16 15:24   ` Helmut Jarausch
2019-08-16 15:25 ` Jack
2019-08-16 16:00   ` Helmut Jarausch
2019-08-16 16:21     ` Jack
2019-08-16 17:47       ` [EXTERNAL] " Laurence Perkins
2019-08-18 13:25       ` [gentoo-user] empty cdrom drive is busy or mounted [resolved] Helmut Jarausch
2019-08-16 16:26   ` [gentoo-user] empty cdrom drive is busy or mounted Helmut Jarausch
2019-08-16 16:44     ` Jack
2019-08-21 19:48       ` james
2019-08-21 22:58         ` Jack
2019-08-22  0:03         ` Adam Carter
2019-08-22 16:31           ` [EXTERNAL] " Laurence Perkins
2019-08-22 16:52             ` Jack [this message]
2019-08-23  2:08             ` [EXTERNAL] " Andrew Udvare
2019-08-23 21:21               ` Neil Bothwick
2019-08-23 23:53                 ` james

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=QFV7MYMI.55BT5AKX.JCY5N5MK@65UZOVBR.7XKN3R43.GA4C5XPK \
    --to=ostroffjh@users.sourceforge.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox