1DOLLY 72PACKAGE ps3REQUIRES HOST runtime@045# ps prints the kernel's list of processes, /proc/processes, under a heading.6# A script: every image with a shell has Slop, echo and cat.7FILE /usr/share/man/cat1/ps.18    usage: ps9    List the processes that have not exited, one a line: PID, the parent's10    PID, state and command line. A process is starting until its program11    runs, then running. A control character of the command line shows as ?,12    and a line ends after 1023 bytes.13    The lines are the kernel's /proc/processes, which any program can open14    and read. ps takes no options.15FILE /bin/ps16    #!/bin/slop17    case "$*" in18      '') echo 'PID PPID STATE COMMAND' && cat /proc/processes ;;19      --help) cat /usr/share/man/cat1/ps.1 ;;20      *) cat /usr/share/man/cat1/ps.1 >&2; exit 2 ;;21    esac22EXPORTS TOOL ps23