updated regex for linux ps output