Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #97870
| From | Bruce Esquibel <bje@ripco.com> |
|---|---|
| Newsgroups | comp.sys.mac.system |
| Subject | Re: Easy way to have each Mac send me a daily system status report? |
| Date | 2016-12-14 11:16 +0000 |
| Organization | Ripco Communications Inc. |
| Message-ID | <o2r9m5$l10$1@remote5bge0.ripco.com> (permalink) |
| References | <1my8ins.k812pho6ieyoN%jamiekg@wizardling.geek.nz> |
Jamie Kahn Genet <jamiekg@wizardling.geek.nz> wrote: > Any and all wisdom bestowed upon me is appreciated :-) If do know your way around cron and crontab -e, these two lines should do it: MAILTO=email@domain.com 00,15,30,45 * * * * /usr/bin/top -l 1 -o cpu That will send a report every 15 minutes, if you want it once a day like at 3am, change it to: 00 03 * * * /usr/bin/top -l 1 -o cpu The output is messy but the trick is with the "-l 1" which is basically a snap shot of the top output (display once, then exit). I'm sure with the other command line options you can trim it down quite a bit but I'd rather start with a full plate and take off the stuff that isn't important. -bruce bje@ripco.com
Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar
Easy way to have each Mac send me a daily system status report? jamiekg@wizardling.geek.nz (Jamie Kahn Genet) - 2016-12-14 06:49 +1300
Re: Easy way to have each Mac send me a daily system status report? Doc O'Leary <droleary@2015usenet1.subsume.com> - 2016-12-13 20:51 +0000
Re: Easy way to have each Mac send me a daily system status report? Jolly Roger <jollyroger@pobox.com> - 2016-12-13 23:34 +0000
Re: Easy way to have each Mac send me a daily system status report? jamiekg@wizardling.geek.nz (Jamie Kahn Genet) - 2016-12-14 21:24 +1300
Re: Easy way to have each Mac send me a daily system status report? Jolly Roger <jollyroger@pobox.com> - 2016-12-14 16:12 +0000
Re: Easy way to have each Mac send me a daily system status report? Bruce Esquibel <bje@ripco.com> - 2016-12-14 11:16 +0000
Re: Easy way to have each Mac send me a daily system status report? Jolly Roger <jollyroger@pobox.com> - 2016-12-14 16:08 +0000
Re: Easy way to have each Mac send me a daily system status report? jamiekg@wizardling.geek.nz (Jamie Kahn Genet) - 2016-12-16 04:29 +1300
csiph-web