projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
723bd2c
)
add process list command
author
yoonki.park
<yoonki.park@samsung.com>
Mon, 1 Apr 2013 11:09:17 +0000
(20:09 +0900)
committer
yoonki.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
patch
|
blob
|
history
diff --git
a/daemon/da_command
b/daemon/da_command
index
12c13dc
..
d657709
100755
(executable)
--- a/
daemon/da_command
+++ b/
daemon/da_command
@@
-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