add process list command
authoryoonki.park <yoonki.park@samsung.com>
Mon, 1 Apr 2013 11:09:17 +0000 (20:09 +0900)
committeryoonki.park <yoonki.park@samsung.com>
Mon, 1 Apr 2013 11:09:17 +0000 (20:09 +0900)
Change-Id: I31b28b78d6f6460624a0da3ec7ba215b27bd42f6
Signed-off-by: yoonki.park <yoonki.park@samsung.com>
daemon/da_command

index 12c13dc..d657709 100755 (executable)
@@ -53,6 +53,11 @@ if test $# -gt 2 -o $# -lt 1; then
        exit 1
 fi
 
+process_list()
+{
+       ps -eo pid,cmd
+}
+
 if test -n "$2"; then
        case "$1" in
                runevent)
@@ -81,6 +86,9 @@ case "$1" in
        runevent)
                run_event
                ;;
+       process)
+               process_list
+               ;;
        *)
                echo "Unknown option!"
                print_usage