check cpu and memory usage of processes owned by a user on a machine. It runs 'ps'.
output is appended to  OUTPUT_FNAME .