Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.system Subject: Re: Easy way to have each Mac send me a daily system status report? Date: 14 Dec 2016 16:12:35 GMT Organization: People for the Ethical Treatment of Pirates Lines: 62 Message-ID: References: <1my8ins.k812pho6ieyoN%jamiekg@wizardling.geek.nz> <1my9mo8.1bm8d7qv85qcoN%jamiekg@wizardling.geek.nz> X-Trace: individual.net aKJTavgosqecuupdrwzSIQafg4B1oU622sQPaicmuSkTZHTN0u Cancel-Lock: sha1:7PtZT4ufL6uOrSz6i6PpkRJHP2k= Mail-Copies-To: nobody User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.system:97874 On 2016-12-14, Jamie Kahn Genet wrote: > Jolly Roger 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: >> >> >> >> 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: -- 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