Add function to handle the ps command.
Fix the conflict in kernerl.c between master and supportCommand.