Add a simple ps command.
authorRonald G. Minnich <rminnich@google.com>
Thu, 13 Mar 2014 22:28:35 +0000 (15:28 -0700)
committerRonald G. Minnich <rminnich@google.com>
Thu, 13 Mar 2014 22:28:35 +0000 (15:28 -0700)
ash /bin/ps works.
/bin/ps fails, for reasons I don't understand.

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/kfs/bin/ps [new file with mode: 0755]

diff --git a/kern/kfs/bin/ps b/kern/kfs/bin/ps
new file mode 100755 (executable)
index 0000000..ccfba8c
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/ash
+for i in `echo '#p/*/status'`
+do
+cat $i
+echo
+done