Re: Memory and CPU Usage Script

2014-06-15 Thread Mark Wieder
Richard- Thursday, June 12, 2014, 3:45:55 PM, you wrote: > That's a dead link, and even osxbook.com just returns "Hello". I treasure my hardcopy of that book, and apparently there's an updated version in the works. Serious geeky wonderfulness for

Re: Memory and CPU Usage Script

2014-06-12 Thread J. Landman Gay
On 6/12/2014, 5:45 PM, Richard Gaskin wrote: Handy as it is, not all *nixes support it - this site explains more, with some suggestions of OS X alternatives to some /proc info: Thanks, but this would be way more work than the simple example I w

Re: Memory and CPU Usage Script

2014-06-12 Thread Richard Gaskin
J. Landman Gay wrote: On 6/6/2014, 7:33 PM, Richard Gaskin wrote: But even more fun, you can take a trip back to 1997 to read Scott Raney's article in Linux Journal about using LiveCode (back then called "MetaCard") to build a GUI for top:

Re: Memory and CPU Usage Script

2014-06-12 Thread J. Landman Gay
On 6/6/2014, 7:33 PM, Richard Gaskin wrote: But even more fun, you can take a trip back to 1997 to read Scott Raney's article in Linux Journal about using LiveCode (back then called "MetaCard") to build a GUI for top: This looked pretty coo

Re: Memory and CPU Usage Script

2014-06-06 Thread Richard Gaskin
Mark Wieder wrote: > Richard- > > Friday, June 6, 2014, 8:25:19 PM, you wrote: > >> OS X ships with some surprisingly old stuff > > homebrew Homebrew is a great solution for people like you and me, but for most Mac customers Apple hasn't been forthcoming about how outdated and vulnerable many

Re: Memory and CPU Usage Script

2014-06-06 Thread Mark Wieder
Kay- Friday, June 6, 2014, 5:19:10 PM, you wrote: > I noticed in my search that people reported top as being quite CPU > intensive and in my own tests it went to No2, just below LC when I was > running my stacks; so a bit chicken and egg, I wanted to know what was > using my memory and CPU and us

Re: Memory and CPU Usage Script

2014-06-06 Thread Mark Wieder
Richard- Friday, June 6, 2014, 8:25:19 PM, you wrote: > OS X ships with some surprisingly old stuff homebrew -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not cons

Re: Memory and CPU Usage Script

2014-06-06 Thread Richard Gaskin
Kay C Lan wrote: > Thanks Richard, I strangely feel chuffed about the fact that I'm > reinventing a wheel already built by the legendary Man himself. Au contraire: I consider it one of those great GMTA moments - at least you're in good company. :) Besides, your layout bested top's - not bad.

Re: Memory and CPU Usage Script

2014-06-06 Thread Kay C Lan
Thanks Richard, I strangely feel chuffed about the fact that I'm reinventing a wheel already built by the legendary Man himself. I might have to look into a few more of the top options: -bn1 didn't work on my 10.9.3 but clearly there must be an OS X equivalent. On Sat, Jun 7, 2014 at 8:33 AM, Rich

Re: Memory and CPU Usage Script

2014-06-06 Thread Richard Gaskin
Kay C Lan wrote: > I wanted to know what was using my memory and CPU and using top > was always going to place itself in the list. This is understandable > as top is active whilst the id, ps, and vm_stat are all static, but I > notice that even Activity Monitor with all it's bells and whistles >

Re: Memory and CPU Usage Script

2014-06-06 Thread Kay C Lan
On Sat, Jun 7, 2014 at 2:21 AM, Mark Wieder wrote: > > Nice, but top didn't give you what you were looking for? I noticed in my search that people reported top as being quite CPU intensive and in my own tests it went to No2, just below LC when I was running my stacks; so a bit chicken and egg, I

Re: Memory and CPU Usage Script

2014-06-06 Thread Mark Wieder
Kay C Lan writes: at the bottom you’ll find a script that will output* some nice tab > formatted memory and CPU info: Nice, but top didn't give you what you were looking for? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use

Re: Memory and CPU Usage Script

2014-06-06 Thread Earthednet-wp
Kay, Thanks for that. It may come in handy some time. Bill William Prothero http://es.earthednet.org > On Jun 6, 2014, at 4:38 AM, Kay C Lan wrote: > > For the first time, on OS X, I ran out of memory. Whilst Activity > Monitor is good, it doesn’t really give you a way to log memory usage > and

Memory and CPU Usage Script

2014-06-06 Thread Kay C Lan
For the first time, on OS X, I ran out of memory. Whilst Activity Monitor is good, it doesn’t really give you a way to log memory usage and trace areas that may be causing concern. So I googled the problem and discovered a LOT of answers involving php,ruby,awk,grep,pipes and a bunch of other stuff