/var/opt/nec/mcemonitor
{
    minsize 1M
    sharedscripts
    postrotate
        if ps aux | awk '{print $2,$11}' | grep mcemonitor
        then
            kill -USR1 `pgrep mcemonitor`
        fi
    endscript
}
