[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Have CPU info sent via mail
- Subject: Re: [cobalt-users] Have CPU info sent via mail
- From: René Mølsted <molsted@xxxxxxxxxxxx>
- Date: Sat Jun 7 19:13:01 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi Gerald
Once again you've saved my sorry a** ;o)
Lots of thanks across the atlantic
René
On 08/06/03 6:33, "Gerald Waugh" <gwaugh@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> On Sun, 8 Jun 2003, Ren[ISO-8859-1] é Mølsted wrote:
>
>> Hi y'all
>> I'm looking for at way of having theese output sent via mail from a cronjob
>> containing this:
>
> make a crontab, of course setup the period, for execution
>
> cat /proc/cpuinfo | grep temperature | mail -s temperature admin
> cat /proc/meminfo | mail -s meminfo admin
> cat /proc/loadavg | mail -s loadavg admin
>
> or
>
> cat /proc/cpuinfo | grep temperature > .stats; cat /proc/meminfo >>
> .stats; cat /proc/loadavg >> .stats; cat .stats | mail -s server-stats
> admin
>
> All on one line, will send to admin, or replace admin with another address
>
> Gerald
> --
> http://frontstreetnetworks.com | http://store.raqware.com
> Front Street Networks LLC, 229 Front Street, Ste.#C
> New Haven, CT 06513-3203 | phone: +1-203-785-0699
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>