Added server method 'ps' and exposed 'pid'