[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] monitoring memory



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

Geoffrey wrote:
>
>> MYSQL_PIDS=`ps aux | grep mysqld | grep -v grep | awk '{print $2}'`
> 
> ps aux| awk '/awk/ {next;} /mysqld/ '{print $2;}'