Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #97851

Re: Easy way to have each Mac send me a daily system status report?

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: Easy way to have each Mac send me a daily system status report?
Date 2016-12-13 23:34 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <ebbeslF2sruU1@mid.individual.net> (permalink)
References <1my8ins.k812pho6ieyoN%jamiekg@wizardling.geek.nz>

Show all headers | View raw


On 2016-12-13, Jamie Kahn Genet <jamiekg@wizardling.geek.nz> wrote:
> G'day.
>
> I wonder what is the easiest way from the command line (preferably) or a
> GUI app, to have a remote or headless Mac send me a daily system status
> report?
>
> I don't need anything detailed. Just the equivalent of a snapshot of
> 'top -o cpu' emailed/tweeted/or in some way communicated to me, so I'll
> notice it from my desktop or mobile devices.
>
> I know how to use cron. I'm just not sure how to generate and send the
> report without much hassle and configuration, like setting up an email
> sever and router config. My Unix command line-fu is very weak after a
> couple decades on GUI OSes.
>
> Any and all wisdom bestowed upon me is appreciated :-)

I'm not sure how useful a single snapshot of all running processes
sorted by CPU usage would be, since processes and system load changes
from minute to minute.  Have you considered instead connecting to the
remote machine with SSH in a terminal window and running top in it?

Another option, assuming the remote machine runs a web server, is to
create a little web page that displays the output of top (and any other
commands) like this:

<http://i.imgur.com/Q0ktqkE.png>

Then you'd just view the web page to see the current status.

If you really want these static top snapshots, you can rather easily
capture the output of top and bundle it into an email message in any
number of shell or higher-level scripts. What languages are you
comfortable with?

-- 
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.

JR

Back to comp.sys.mac.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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