Create a script that uses the Unix ps command to output the currently running processes to the browser. Given that knowledge is power, it might not be good idea to make this script available to your users!
Check the ps man page for command-line arguments for the ps command. Add a form to your script to enable users to choose from a range of command-line arguments to ps so they can change the information output. Do not send any user input directly to the command line.