I don't understand this, if basically nothing was returned, and the user didn't ask for process "*", give them process "*" anyway?  Also what if process is null?  You should check, or at least use process.sget().