LFS Bootscripts

Bryan Kadzban bryan at kadzban.is-a-geek.net
Sun Aug 7 19:05:17 PDT 2005


S. Anthony Sequeira wrote:
> Since then I have always used the following when searching for a string
> in a ps listing, assuming that the search string is sys:
> 
> $ ps -eadf | grep [s]ys
> root      1604     1  0 12:08 ?        00:00:00 syslog-ng
> 
> here is one that doesn't work:
> 
> $ ps -eadf | grep sys
> root      1604     1  0 12:08 ?        00:00:00 syslog-ng
> sherwin  14316 14297  0 20:53 pts/1    00:00:00 grep --color=auto sys
> 
> HTH

I usually just use "ps -C syslog-ng", since I normally know the binary
that I'm searching for.  I think -C is a Linux extension; I don't think
it works everywhere.  But given that the bootscripts are *for* a Linux
system, I don't think there's much harm in using it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20050807/11294f9f/attachment.sig>


More information about the lfs-dev mailing list