I don't understand the question; can you express it differently?
The ps cmd just does a snapshot of running processes, then quits; there's no need to run it in the background.
If you want to know how it works, read
http://linux.die.net/man/1/ps or read the source code.