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


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

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-14 16:12 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <ebd9bjFgg8sU3@mid.individual.net> (permalink)
References <1my8ins.k812pho6ieyoN%jamiekg@wizardling.geek.nz> <ebbeslF2sruU1@mid.individual.net> <1my9mo8.1bm8d7qv85qcoN%jamiekg@wizardling.geek.nz>

Show all headers | View raw


On 2016-12-14, Jamie Kahn Genet <jamiekg@wizardling.geek.nz> wrote:
> Jolly Roger <jollyroger@pobox.com> wrote:
>> 
>> 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?
>
> I just want something like that to tell me the machine is still up and
> running, so I know all is well; and a snapshot in time of what it was
> doing for interest's sake. Hell, I'd settle for iostat's simple default
> report (though now I try that in OS X's Terminal, I see it's very poorly
> formatted here :-\ ).
>
>> 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.
>
> Since these couple machines are not always behind networks I have any
> control over, I prefer not to have to setup a server requiring any
> router config. Especilly when it might conflict with pre-existing router
> config.
>
>> 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?
>
> BASIC from school the 80's through mid-90's (I was writing BASIC
> programs to do simple stuff like a choose your own adventure game,
> before I ever got near a computer I could program. I'd read BASIC
> introductory guides from the library and dream of what I could do if I
> had my own computer) .
> Pascal from the late 90's at Uni. I'm lucky if I can print 'Hello
> World!' to the screen, nowadays ;-)
> About all I've done since is some very basic AppleScripting and writing
> of regular expressions for various filters.
>
> I fear I am far below the necessary command line competence to write the
> necessary bash script.

Bruce's suggestion is probably the absolute simplest way to get a raw
snapshot of top mailed to you on a regular basis.

> Okay, how about this - a GUI tool that is as simple and unobtrusive as
> possible?

I'm sure there are lots of apps that do things like this, but I haven't
personally used any Mac-specific GUI solutions. So I can't recommend
any. Here's one I found just now with a web search though:

<http://webinhq.com/apps/icacti-for-mac/>

-- 
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