Correct documentation of "ps" module

Some of the examples don't work since they were incomplete, these have been corrected.