[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Grep more than one
- Subject: Re: [cobalt-users] Grep more than one
- From: Anders <andersb@xxxxxxxxxxx>
- Date: Wed Aug 6 05:19:05 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Rene Molsted wrote:
> Curently i use this for getting temperatur on our servers:
> cat /proc/cpuinfo | grep temp
> How can i add another grep so i get eg. both tmep and uptime
cat /proc/cpuinfo | egrep "temp|uptime"
However, my RaQ doesn't have uptime in cpuinfo but in uptime ?
--anders
PS. Or you could look in the manual... "man grep"