def bash_echo_metric():
import subprocess<EOL>cmd = (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>'<EOL>)<EOL>while True:<EOL><INDENT>yield (<EOL>int(subprocess.check_output(cmd, shell=True, executable='<STR_LIT>'))<EOL>)<EOL><DEDENT>
A very basic example that monitors
    a number of currently running processes