[Android Software/Hacking General [Developers Only]] gu5t3r:
cm9 ps -w

PID USER VSZ STAT COMMAND
1 root 276 S /init
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 SW [events/0]
5 root 0 SW [khelper]
6 root 0 SW [async/mgr]
7 root 0 SW [suspend]
8 root 0 SW [sys_sync]
9 root 0 SW [vibrator_workqu]
10 root 0 SW [irq/155-pm8058-]
11 root 0 SW [sync_supers]
12 root 0 SW [bdi-default]
13 root 0 SW [kblockd/0]
14 root 0 SW [ksuspend_usbd]
15 root 0 SW [khubd]
16 root 0 SW [kmmcd]
17 root 0 SW [bluetooth]
18 root 0 SW [kondemand/0]
19 root 0 SW [rpciod/0]
20 root 0 SW [modem_notifier]
21 root 0 SW [qmi]
22 root 0 SW [nmea]
23 root 0 SW [rpcrouter]
24 root 0 DW [rpcrotuer_smd_x]
25 root 0 SW [dalrpc_rcv_DAL0]
26 root 0 SW [krpcserversd]
27 root 0 DW [audio_mvs]
28 root 0 SW [kswapd0]
29 root 0 DW [koemrapiclientc]
30 root 0 SWN [ksmd]
31 root 0 SW [aio/0]
32 root 0 SW [nfsiod]
33 root 0 SW [crypto/0]
44 root 0 SW [mdp_dma_wq]
45 root 0 SW [mdp_vsync_wq]
46 root 0 SW [mdp_pipe_ctrl_w]
47 root 0 SW [vidc_worker_que]
48 root 0 SW [vidc_timer_wq]
49 root 0 SW [diag_wq]
50 root 0 SW [kgsl-3d0/0]
51 root 0 SW [kgsl-2d0/0]
52 root 0 SW [scsi_tgtd/0]
53 root 0 SW [mtdblockd]
54 root 0 SW [spi_qsd.0]
61 root 0 SW [k_otg]
62 root 0 SW [k_udc]
63 root 0 SW [f_mtp]
64 root 0 SW [file-storage]
65 root 0 SW [k_gserial]
66 root 0 SW [irq/384-pmic-ke]
67 root 0 SW [irq/385-pmic-ke]
68 root 0 SW [irq/216-apds970]
69 root 0 SW [irq/154-simple_]
70 root 0 DW [krtcclntd]
71 root 0 DW [krtcclntcbd]
72 root 0 SW [batteryworker]
73 root 0 SW [irq/148-bq27520]
74 root 0 SW [bq24185worker]
75 root 0 SW [irq/532-bq24185]
76 root 0 SW [kstriped]
77 root 0 SW [kconservative/0]
78 root 0 DW [kinteractiveup]
79 root 0 SW [knteractive_dow]
80 root 0 SW [kinteractive_up]
81 root 0 SW [knteractive_dow]
82 root 0 SW [ksmartass_up/0]
83 root 0 SW [ksmartass_down/]
84 root 0 SW [ksmartass_up/0]
85 root 0 SW [ksmartass_down/]
86 root 0 SW [ksavagedzen_up/]
87 root 0 SW [ksavagedzen_dow]
88 root 0 SW [kconservative/0]
89 root 0 SW [ksmoothass_up/0]
90 root 0 SW [ksmoothass_down]
91 root 0 SW [kbrazilianwax_u]
92 root 0 SW [kbrazilianwax_d]
93 root 0 SW [kvirtuous_up/0]
94 root 0 SW [kvirtuous_down/]
95 root 0 DW [klulzactiveup]
96 root 0 SW [klulzactive_dow]
97 root 0 SW [kintellidemand/]
98 root 0 SW [iewq/0]
99 root 0 SW [iewq/0]
100 root 0 SW [ksuperbad_up/0]
101 root 0 SW [ksuperbad_down/]
102 root 0 SW [kdarkside_up/0]
103 root 0 SW [kdarkside_down/]
104 root 0 SW [irq/523-msm-sdc]
105 root 0 SW [usbhid_resumer]
106 root 0 SW [binder]
107 root 0 SW< [krfcommd]
108 root 0 DW [voice]
109 root 0 SW [acdb_cb_thread]
110 root 0 DW [khsclntd]
111 root 188 S /sbin/ueventd
115 root 0 SW [mmcqd]
136 root 0 SW [yaffs-bg-1]
137 root 0 SW [yaffs-bg-1]
138 root 0 SW [yaffs-bg-1]
139 root 0 SW [yaffs-bg-1]
161 system 732 S /system/bin/servicemanager
162 root 4284 S /system/bin/vold
163 root 7808 S /system/bin/netd
165 radio 17780 S /system/bin/rild
166 system 41176 S /system/bin/surfaceflinger
167 root 163m S zygote /bin/app_process -Xzygote /system/bin --zygote --start-system-server
169 drm 25244 S /system/bin/drmserver
170 bluetoot 1240 S /system/bin/dbus-daemon --system --nofork
171 root 744 S /system/bin/installd
175 keystore 1632 S /system/bin/keystore /data/misc/keystore
177 idd 1972 S /system/bin/iddd
179 root 724 S /system/bin/klogrouter logcat
180 radio 5300 S /system/bin/netmgrd -E
183 root 8000 S /system/bin/qmuxd
185 root 1040 S /system/bin/akmd8975
186 root 3412 S /system/bin/mltlusbd
188 media 65480 S /system/bin/mediaserver
190 root 1092 S /system/bin/touchd
251 idd 1040 S /system/bin/idd-logreader main
274 root 0 SW [cfg80211]
322 shell 668 S /system/bin/sh
341 root 0 SW [wl12xx_wq]
342 root 0 SW [irq/275-wl1271]
344 root 0 SW [phy0]
398 root 3336 S /sbin/adbd
493 system 772 S /system/bin/hdmid
1747 system 262m S system_server
2520 root 688 S {!FastEngineFlus} /system/bin/sh /data/V6_SuperCharger/!FastEngineFlush.sh
2710 root 1196 S sleep 14400
2711 root 1204 S grep Engine_Flush-O-Matic_is_In_Effect!
3933 system 192m S {ndroid.systemui} com.android.systemui
4060 app_30 203m S {e.process.gapps} com.google.process.gapps
4116 app_141 177m S {mpz.audioplayer} com.maxmpz.audioplayer
4125 app_201 209m S {chtype.swiftkey} com.touchtype.swiftkey
4148 radio 189m S {m.android.phone} com.android.phone
4157 app_104 171m S {n.customization} com.sonyericsson.customization
4179 app_230 210m S {yericsson.xhome} com.sonyericsson.xhome
4229 root 4648 S /system/bin/atfwd-daemon
4305 app_11 175m S {ex.callrecorder} com.skvalex.callrecorder
4500 app_186 199m S {android.vending} com.android.vending
4642 app_216 185m S {o.android.imoim} com.imo.android.imoim
4694 root 0 SW< [loop0]
4695 root 0 SW [kdmflush]
4707 root 0 SW [kcryptd_io]
4708 root 0 SW [kcryptd]
4711 root 0 SW< [loop1]
4726 root 0 SW [kdmflush]
4729 root 0 SW [kcryptd_io]
4731 root 0 SW [kcryptd]
4738 root 0 SW< [loop2]
4740 root 0 SW [kdmflush]
4741 root 0 SW [kcryptd_io]
4742 root 0 SW [kcryptd]
4771 root 0 SW< [loop3]
4772 root 0 SW [kdmflush]
4773 root 0 SW [kcryptd_io]
4774 root 0 SW [kcryptd]
4778 root 0 SW< [loop4]
4790 root 0 SW [kdmflush]
4791 root 0 SW [kcryptd_io]
4792 root 0 SW [kcryptd]
4794 root 0 SW< [loop5]
4795 root 0 SW [kdmflush]
4796 root 0 SW [kcryptd_io]
4797 root 0 SW [kcryptd]
4798 root 0 SW< [loop6]
4799 root 0 SW [kdmflush]
4800 root 0 SW [kcryptd_io]
4801 root 0 SW [kcryptd]
4816 root 0 SW< [loop7]
4817 root 0 SW [kdmflush]
4818 root 0 SW [kcryptd_io]
4819 root 0 SW [kcryptd]
4820 root 0 SW< [loop8]
4821 root 0 SW [kdmflush]
4822 root 0 SW [kcryptd_io]
4823 root 0 SW [kcryptd]
4831 root 0 SW< [loop9]
4834 root 0 SW [kdmflush]
4835 root 0 SW [kcryptd_io]
4836 root 0 SW [kcryptd]
4839 root 0 SW< [loop10]
4841 root 0 SW [kdmflush]
4842 root 0 SW [kcryptd_io]
4843 root 0 SW [kcryptd]
4851 root 0 SW< [loop11]
4874 root 0 SW [kdmflush]
4877 root 0 SW [kcryptd_io]
4879 root 0 SW [kcryptd]
4903 root 0 SW< [loop12]
4904 root 0 SW [kdmflush]
4905 app_105 228m S < com.viber.voip
4906 root 0 SW [kcryptd_io]
4908 root 0 SW [kcryptd]
4920 root 0 SW< [loop13]
4921 root 0 SW [kdmflush]
4922 root 0 SW [kcryptd_io]
4923 root 0 SW [kcryptd]
4939 root 0 SW< [loop14]
4940 root 0 SW [kdmflush]
4941 root 0 SW [kcryptd_io]
4942 root 0 SW [kcryptd]
4945 root 0 SW< [loop15]
4946 root 0 SW [kdmflush]
4947 root 0 SW [kcryptd_io]
4948 root 0 SW [kcryptd]
4999 root 0 SW< [loop16]
5003 root 0 SW [kdmflush]
5004 root 0 SW [kcryptd_io]
5005 root 0 SW [kcryptd]
5041 root 0 SW< [loop17]
5044 root 0 SW [kdmflush]
5045 root 0 SW [kcryptd_io]
5046 root 0 SW [kcryptd]
5062 root 0 SW< [loop18]
5067 root 0 SW [kdmflush]
5068 root 0 SW [kcryptd_io]
5069 root 0 SW [kcryptd]
5077 root 0 SW< [loop19]
5078 root 0 SW [kdmflush]
5079 root 0 SW [kcryptd_io]
5080 root 0 SW [kcryptd]
5181 app_62 172m S {son.simcontacts} com.sonyericsson.simcontacts
5355 app_151 183m S {e:notifications} com.ebay.mobile:notifications
5643 wifi 2352 S /system/bin/wpa_supplicant -Dnl80211 -dd -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
5652 app_219 209m S {facebook.katana} com.facebook.katana
13019 app_16 203m S < {socialphonebook} com.sonyericsson.android.socialphonebook
14101 app_143 174m S {man.WifiManager} org.kman.WifiManager
14686 app_26 171m S {ricsson.widgets} com.sonyericsson.widgets
14699 app_181 198m S {criptmanagerpro} os.tools.scriptmanagerpro
14719 root 668 S sh -
14761 app_76 174m S {der.voipcalllog} com.sonyericsson.provider.voipcalllog
14781 app_16 187m S {d.process.acore} android.process.acore
14816 app_181 644 S myls -command waiter 14817 73
14817 root 676 S /system/bin/sh
14894 root 0 SW [flush-179:0]
15085 root 0 SW [flush-31:0]
15281 root 0 SW [bma150d]
15355 root 688 S {97BulletProof_A} /system/bin/sh /system/etc/init.d/97BulletProof_Apps
15386 root 1196 S sleep 30
15387 root 1204 S grep BulletProof_Apps_is_In_Effect!
15395 root 1240 R ps -w
16200 root 596 S /system/bin/debuggerd.bin
17252 app_153 172m S {.android.people} com.vcmdev.android.people
17266 app_144 174m S com.mg.android
18588 app_148 174m S {epad.color.note} com.socialnmobile.dictapps.notepad.color.note
20017 app_168 175m S {alkpro.activity} com.quoord.tapatalkpro.activity

...is almost the same as

stericson ps -o pid,user,vsz,stat,args

PID USER VSZ STAT COMMAND
1 0 276 S /init
2 0 0 SW [kthreadd]
3 0 0 SW [ksoftirqd/0]
4 0 0 SW [events/0]
5 0 0 SW [khelper]
6 0 0 SW [async/mgr]
7 0 0 SW [suspend]
8 0 0 SW [sys_sync]
9 0 0 SW [vibrator_workqu]
10 0 0 SW [irq/155-pm8058-]
11 0 0 SW [sync_supers]
12 0 0 SW [bdi-default]
13 0 0 SW [kblockd/0]
14 0 0 SW [ksuspend_usbd]
15 0 0 SW [khubd]
16 0 0 SW [kmmcd]
17 0 0 SW [bluetooth]
18 0 0 SW [kondemand/0]
19 0 0 SW [rpciod/0]
20 0 0 SW [modem_notifier]
21 0 0 SW [qmi]
22 0 0 SW [nmea]
23 0 0 SW [rpcrouter]
24 0 0 DW [rpcrotuer_smd_x]
25 0 0 SW [dalrpc_rcv_DAL0]
26 0 0 SW [krpcserversd]
27 0 0 DW [audio_mvs]
28 0 0 SW [kswapd0]
29 0 0 DW [koemrapiclientc]
30 0 0 SWN [ksmd]
31 0 0 SW [aio/0]
32 0 0 SW [nfsiod]
33 0 0 SW [crypto/0]
44 0 0 SW [mdp_dma_wq]
45 0 0 SW [mdp_vsync_wq]
46 0 0 SW [mdp_pipe_ctrl_w]
47 0 0 SW [vidc_worker_que]
48 0 0 SW [vidc_timer_wq]
49 0 0 SW [diag_wq]
50 0 0 SW [kgsl-3d0/0]
51 0 0 SW [kgsl-2d0/0]
52 0 0 SW [scsi_tgtd/0]
53 0 0 SW [mtdblockd]
54 0 0 SW [spi_qsd.0]
61 0 0 SW [k_otg]
62 0 0 SW [k_udc]
63 0 0 SW [f_mtp]
64 0 0 SW [file-storage]
65 0 0 SW [k_gserial]
66 0 0 SW [irq/384-pmic-ke]
67 0 0 SW [irq/385-pmic-ke]
68 0 0 SW [irq/216-apds970]
69 0 0 SW [irq/154-simple_]
70 0 0 DW [krtcclntd]
71 0 0 DW [krtcclntcbd]
72 0 0 SW [batteryworker]
73 0 0 SW [irq/148-bq27520]
74 0 0 SW [bq24185worker]
75 0 0 SW [irq/532-bq24185]
76 0 0 SW [kstriped]
77 0 0 SW [kconservative/0]
78 0 0 DW [kinteractiveup]
79 0 0 SW [knteractive_dow]
80 0 0 SW [kinteractive_up]
81 0 0 SW [knteractive_dow]
82 0 0 SW [ksmartass_up/0]
83 0 0 SW [ksmartass_down/]
84 0 0 SW [ksmartass_up/0]
85 0 0 SW [ksmartass_down/]
86 0 0 SW [ksavagedzen_up/]
87 0 0 SW [ksavagedzen_dow]
88 0 0 SW [kconservative/0]
89 0 0 SW [ksmoothass_up/0]
90 0 0 SW [ksmoothass_down]
91 0 0 SW [kbrazilianwax_u]
92 0 0 SW [kbrazilianwax_d]
93 0 0 SW [kvirtuous_up/0]
94 0 0 SW [kvirtuous_down/]
95 0 0 DW [klulzactiveup]
96 0 0 SW [klulzactive_dow]
97 0 0 SW [kintellidemand/]
98 0 0 SW [iewq/0]
99 0 0 SW [iewq/0]
100 0 0 SW [ksuperbad_up/0]
101 0 0 SW [ksuperbad_down/]
102 0 0 SW [kdarkside_up/0]
103 0 0 SW [kdarkside_down/]
104 0 0 SW [irq/523-msm-sdc]
105 0 0 SW [usbhid_resumer]
106 0 0 SW [binder]
107 0 0 SW< [krfcommd]
108 0 0 DW [voice]
109 0 0 SW [acdb_cb_thread]
110 0 0 DW [khsclntd]
111 0 188 S /sbin/ueventd
115 0 0 SW [mmcqd]
136 0 0 SW [yaffs-bg-1]
137 0 0 SW [yaffs-bg-1]
138 0 0 SW [yaffs-bg-1]
139 0 0 SW [yaffs-bg-1]
161 1000 732 S /system/bin/servicemanager
162 0 4284 S /system/bin/vold
163 0 7808 S /system/bin/netd
165 1001 17m S /system/bin/rild
166 1000 40m S /system/bin/surfaceflinger
167 0 163m S zygote /bin/app_process -Xzygote /system/bin --zygote --start-system-server
169 1019 24m S /system/bin/drmserver
170 1002 1240 S /system/bin/dbus-daemon --system --nofork
171 0 744 S /system/bin/installd
175 1017 1632 S /system/bin/keystore /data/misc/keystore
177 2987 1972 S /system/bin/iddd
179 0 724 S /system/bin/klogrouter logcat
180 1001 5300 S /system/bin/netmgrd -E
183 0 8000 S /system/bin/qmuxd
185 0 1040 S /system/bin/akmd8975
186 0 3412 S /system/bin/mltlusbd
188 1013 63m S /system/bin/mediaserver
190 0 1092 S /system/bin/touchd
251 2987 1040 S /system/bin/idd-logreader main
274 0 0 SW [cfg80211]
322 2000 668 S /system/bin/sh
341 0 0 SW [wl12xx_wq]
342 0 0 SW [irq/275-wl1271]
344 0 0 SW [phy0]
398 0 3336 S /sbin/adbd
493 1000 772 S /system/bin/hdmid
1747 1000 262m S system_server
2520 0 688 S {!FastEngineFlus} /system/bin/sh /data/V6_SuperCharger/!FastEngineFlush.sh
2710 0 1196 S sleep 14400
2711 0 1204 S grep Engine_Flush-O-Matic_is_In_Effect!
3933 1000 192m S {ndroid.systemui} com.android.systemui
4060 10030 203m S {e.process.gapps} com.google.process.gapps
4116 10141 177m S {mpz.audioplayer} com.maxmpz.audioplayer
4125 10201 209m S {chtype.swiftkey} com.touchtype.swiftkey
4148 1001 189m S {m.android.phone} com.android.phone
4157 10104 171m S {n.customization} com.sonyericsson.customization
4179 10230 210m S {yericsson.xhome} com.sonyericsson.xhome
4229 0 4648 S /system/bin/atfwd-daemon
4305 10011 175m S {ex.callrecorder} com.skvalex.callrecorder
4500 10186 199m S {android.vending} com.android.vending
4642 10216 185m S {o.android.imoim} com.imo.android.imoim
4694 0 0 SW< [loop0]
4695 0 0 SW [kdmflush]
4707 0 0 SW [kcryptd_io]
4708 0 0 SW [kcryptd]
4711 0 0 SW< [loop1]
4726 0 0 SW [kdmflush]
4729 0 0 SW [kcryptd_io]
4731 0 0 SW [kcryptd]
4738 0 0 SW< [loop2]
4740 0 0 SW [kdmflush]
4741 0 0 SW [kcryptd_io]
4742 0 0 SW [kcryptd]
4771 0 0 SW< [loop3]
4772 0 0 SW [kdmflush]
4773 0 0 SW [kcryptd_io]
4774 0 0 SW [kcryptd]
4778 0 0 SW< [loop4]
4790 0 0 SW [kdmflush]
4791 0 0 SW [kcryptd_io]
4792 0 0 SW [kcryptd]
4794 0 0 SW< [loop5]
4795 0 0 SW [kdmflush]
4796 0 0 SW [kcryptd_io]
4797 0 0 SW [kcryptd]
4798 0 0 SW< [loop6]
4799 0 0 SW [kdmflush]
4800 0 0 SW [kcryptd_io]
4801 0 0 SW [kcryptd]
4816 0 0 SW< [loop7]
4817 0 0 SW [kdmflush]
4818 0 0 SW [kcryptd_io]
4819 0 0 SW [kcryptd]
4820 0 0 SW< [loop8]
4821 0 0 SW [kdmflush]
4822 0 0 SW [kcryptd_io]
4823 0 0 SW [kcryptd]
4831 0 0 SW< [loop9]
4834 0 0 SW [kdmflush]
4835 0 0 SW [kcryptd_io]
4836 0 0 SW [kcryptd]
4839 0 0 SW< [loop10]
4841 0 0 SW [kdmflush]
4842 0 0 SW [kcryptd_io]
4843 0 0 SW [kcryptd]
4851 0 0 SW< [loop11]
4874 0 0 SW [kdmflush]
4877 0 0 SW [kcryptd_io]
4879 0 0 SW [kcryptd]
4903 0 0 SW< [loop12]
4904 0 0 SW [kdmflush]
4905 10105 228m S < com.viber.voip
4906 0 0 SW [kcryptd_io]
4908 0 0 SW [kcryptd]
4920 0 0 SW< [loop13]
4921 0 0 SW [kdmflush]
4922 0 0 SW [kcryptd_io]
4923 0 0 SW [kcryptd]
4939 0 0 SW< [loop14]
4940 0 0 SW [kdmflush]
4941 0 0 SW [kcryptd_io]
4942 0 0 SW [kcryptd]
4945 0 0 SW< [loop15]
4946 0 0 SW [kdmflush]
4947 0 0 SW [kcryptd_io]
4948 0 0 SW [kcryptd]
4999 0 0 SW< [loop16]
5003 0 0 SW [kdmflush]
5004 0 0 SW [kcryptd_io]
5005 0 0 SW [kcryptd]
5041 0 0 SW< [loop17]
5044 0 0 SW [kdmflush]
5045 0 0 SW [kcryptd_io]
5046 0 0 SW [kcryptd]
5062 0 0 SW< [loop18]
5067 0 0 SW [kdmflush]
5068 0 0 SW [kcryptd_io]
5069 0 0 SW [kcryptd]
5077 0 0 SW< [loop19]
5078 0 0 SW [kdmflush]
5079 0 0 SW [kcryptd_io]
5080 0 0 SW [kcryptd]
5181 10062 172m S {son.simcontacts} com.sonyericsson.simcontacts
5355 10151 183m S {e:notifications} com.ebay.mobile:notifications
5643 1010 2352 S /system/bin/wpa_supplicant -Dnl80211 -dd -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
5652 10219 209m S {facebook.katana} com.facebook.katana
13019 10016 203m S < {socialphonebook} com.sonyericsson.android.socialphonebook
14101 10143 174m S {man.WifiManager} org.kman.WifiManager
14686 10026 171m S {ricsson.widgets} com.sonyericsson.widgets
14699 10181 198m R {criptmanagerpro} os.tools.scriptmanagerpro
14719 0 668 S sh -
14761 10076 174m S {der.voipcalllog} com.sonyericsson.provider.voipcalllog
14781 10016 187m S {d.process.acore} android.process.acore
14816 10181 644 S myls -command waiter 14817 73
14817 0 676 S /system/bin/sh
14894 0 0 SW [flush-179:0]
15281 0 0 SW [bma150d]
15435 0 0 SW [flush-31:0]
15468 0 688 S {97BulletProof_A} /system/bin/sh /system/etc/init.d/97BulletProof_Apps
15497 0 1196 S sleep 30
15498 0 1204 S grep BulletProof_Apps_is_In_Effect!
15499 0 900 R busyboxs ps -o pid,user,vsz,stat,args
16200 0 596 S /system/bin/debuggerd.bin
17252 10153 172m S {.android.people} com.vcmdev.android.people
17266 10144 174m S com.mg.android
18588 10148 174m S {epad.color.note} com.socialnmobile.dictapps.notepad.color.note
20017 10168 175m S {alkpro.activity} com.quoord.tapatalkpro.activity

...apart that on stericson user is displayed as a number rather than user name, but that should be no problem for awk

and you can make that $w in ps$w to be either " -w" or " -o pid,user,vsz,stat,args"...

=)