[ale] monitoring memory

Geoffrey lists at serioustechnology.com
Thu Oct 25 17:26:45 EDT 2007


Jay Loden wrote:
> Thanks Geoffrey - I knew I could count on you to chime in with a more
> succinct/cleaner method :-P

I sometimes still operate on that '8mhz processor/4 meg of memory, save 
every process you can' mentality... ;)

> 
> Geoffrey wrote:
>>> MYSQL_PIDS=`ps aux | grep mysqld | grep -v grep | awk '{print
>>> $2}'`
>> ps aux| awk '/awk/ {next;} /mysqld/ '{print $2;}'
> 
> _______________________________________________ Ale mailing list 
> Ale at ale.org http://www.ale.org/mailman/listinfo/ale
> 


-- 
Until later, Geoffrey

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
  - Benjamin Franklin



More information about the Ale mailing list