Posted: . At: 1:49 PM. This was 12 years ago. Post ID: 3187
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.
This is the output of the uname command on my Android tablet.
# uname
Linux version 2.6.29-s70 (xionglei@dpf.china.huawei.com) (gcc version 4.4.0 (GCC) ) #8 PREEMPT Wed Oct 27 21:55:55 CST 2010 |
# uname
Linux version 2.6.29-s70 ([email protected]) (gcc version 4.4.0 (GCC) ) #8 PREEMPT Wed Oct 27 21:55:55 CST 2010
And this is the output of the ps command.
~# ps
USER PID PPID VSIZE RSS WCHAN PC NAME
root 1 0 300 216 800d5c44 0000cdfc S /init
root 2 0 0 0 8007e0e4 00000000 S kthreadd
root 3 2 0 0 8006d77c 00000000 S ksoftirqd/0
root 4 2 0 0 8007a570 00000000 S events/0
root 5 2 0 0 8007a570 00000000 S khelper
root 10 2 0 0 8007a570 00000000 S suspend
root 194 2 0 0 8007a570 00000000 S kblockd/0
root 200 2 0 0 8007a570 00000000 S ksuspend_usbd
root 206 2 0 0 802305a4 00000000 S khubd
root 209 2 0 0 8025f6ec 00000000 S kseriod
root 224 2 0 0 8007a570 00000000 S kmmcd
root 231 2 0 0 8007a570 00000000 S btaddconn
root 232 2 0 0 8007a570 00000000 S btdelconn
root 248 2 0 0 8007a570 00000000 S modem_notifier
root 254 2 0 0 8007a570 00000000 S smd_tty
root 266 2 0 0 8007a570 00000000 S qmi
root 276 2 0 0 8007a570 00000000 S ctl0
root 280 2 0 0 8007a570 00000000 S ctl1
root 284 2 0 0 8007a570 00000000 S ctl2
root 288 2 0 0 8007a570 00000000 S nmea
root 294 2 0 0 8007a570 00000000 S rpcrouter
root 295 2 0 0 80045fd4 00000000 D rpcrouter_smd_x
root 314 2 0 0 8004981c 00000000 S krpcserversd
root 354 2 0 0 800aa278 00000000 S pdflush
root 357 2 0 0 800aa278 00000000 S pdflush
root 358 2 0 0 800aedbc 00000000 S kswapd0
root 363 2 0 0 8007a570 00000000 S aio/0
root 366 2 0 0 8007a570 00000000 S nfsiod
root 372 2 0 0 8007a570 00000000 S mdp_dma_wq
root 375 2 0 0 8007a570 00000000 S mdp_vsync_wq
root 376 2 0 0 8007a570 00000000 S mdp_pipe_ctrl_w
root 462 2 0 0 8007a570 00000000 S diag_wq
root 520 2 0 0 8007a570 00000000 S scsi_tgtd/0
root 528 2 0 0 8021f778 00000000 S mtdblockd
root 570 2 0 0 8007a570 00000000 S gs_wq
root 579 2 0 0 80047f10 00000000 D krtcclntd
root 580 2 0 0 8004ae14 00000000 D krtcclntcbd
root 590 2 0 0 80048038 00000000 S msm_battery
root 603 2 0 0 8007a570 00000000 S kondemand/0
root 619 2 0 0 803441a8 00000000 S krfcommd
root 621 2 0 0 8007a570 00000000 S rpciod/0
root 623 2 0 0 8007a570 00000000 S po188_wq
root 628 2 0 0 80047f10 00000000 D khsclntd
root 1013 1 700 276 80198af4 6fe0c74c S /system/bin/sh
system 1014 1 764 260 80290540 6fe0c9ec S /system/bin/servicemanager
root 1015 1 804 396 800d5c44 6fe0cb14 S /system/bin/vold
root 1016 1 628 240 802a3628 6fe0d37c S /system/bin/debuggerd
radio 1017 1 17044 1772 ffffffff 6fe0d05c S /system/bin/rild
root 1019 1 117020 19032 800d5c44 6fe0cb14 S zygote
media 1020 1 37452 5268 ffffffff 6fe0c9ec S /system/bin/mediaserver
bluetooth 1021 1 1076 376 800d5c44 6fe0d7ec S /system/bin/dbus-daemon
root 1022 1 752 272 802ffd6c 6fe0c74c S /system/bin/installd
keystore 1023 1 1596 276 802a3628 6fe0d37c S /system/bin/keystore
root 1026 1 7804 784 ffffffff 6fe0d37c S /system/bin/test_oem_rapi
root 1028 1 2104 504 ffffffff 6fe0c74c S /system/bin/port-bridge
root 1029 2 0 0 802568bc 00000000 S usb_mass_storag
root 1031 1 4836 380 ffffffff 6fe0cb14 S /system/bin/qmuxd
root 1060 2 0 0 802838d0 00000000 S mmcqd
system 1075 1019 322940 51812 ffffffff 6fe0c9ec S system_server
bluetooth 1123 1 720 284 8006b1f0 6fe0d61c S /system/bin/sh
root 1130 2 0 0 800831c8 00000000 S iscan_sysioc
root 1131 2 0 0 800831c8 00000000 S dhcp_sysioc
root 1132 2 0 0 800831c8 00000000 S dhd_watchdog
root 1133 2 0 0 800831c8 00000000 S dhd_dpc
root 1134 2 0 0 800831c8 00000000 S dhd_sysioc
root 1135 2 0 0 80282208 00000000 S ksdioirqd/mmc1
log 1142 1 616 252 80198af4 6fe0c74c S /system/bin/logwrapper
wifi 1143 1142 1896 588 800d5c44 6fe0cb14 S /system/bin/wpa_supplicant
bluetooth 1168 1123 708 284 800d5c44 6fe0d7ec S /system/bin/hciattach
bluetooth 1171 1 1740 432 800d5c44 6fe0d7ec S /system/bin/bluetoothd
app_1 1173 1019 158344 21424 ffffffff 6fe0c9ec R com.android.inputmethod.latin
radio 1176 1019 185504 23668 ffffffff 6fe0d984 S com.android.phone
app_1 1178 1019 207588 34340 ffffffff 6fe0d984 S android.process.acore
app_3 1201 1019 180220 20908 ffffffff 6fe0d984 S com.google.process.gapps
dhcp 1221 1 808 388 800d5c44 6fe0d7ec S /system/bin/dhcpcd
app_7 1250 1019 170100 16324 ffffffff 6fe0d984 S com.android.bluetooth
app_8 1343 1019 178296 21344 ffffffff 6fe0d984 S android.process.media
app_48 1370 1019 155752 15540 ffffffff 6fe0d984 S com.google.android.apps.uploader
app_9 1404 1019 152796 15336 ffffffff 6fe0d984 S com.qualcomm.wiper
app_22 1415 1019 173296 15120 ffffffff 6fe0d984 S com.google.android.partnersetup
app_8 1436 1019 156224 15000 ffffffff 6fe0d984 S com.android.camera
app_36 1444 1019 175012 17144 ffffffff 6fe0d984 S com.twidroid
app_44 1468 1019 166560 15660 ffffffff 6fe0d984 S com.google.android.apps.maps:FriendService
app_18 1541 1019 173620 22856 ffffffff 6fe0d984 S com.android.music
app_19 1547 1019 170384 27748 ffffffff 6fe0d984 S com.android.rssreader
app_31 1553 1019 167272 18688 ffffffff 6fe0d984 S com.google.android.youtube
app_46 1573 1019 157660 16348 ffffffff 6fe0d984 S com.facebook.katana
app_47 1581 1019 155216 15272 ffffffff 6fe0d984 S com.huawei.widget.emotionclock
app_51 1588 1019 154664 15284 ffffffff 6fe0d984 S com.huawei.android.appwidget
app_37 2919 1019 177768 24964 ffffffff 6fe0d984 S com.google.android.gm
app_86 3004 1019 246724 64408 ffffffff 6fe0d984 S com.opera.browser
system 4122 1019 174960 17468 ffffffff 6fe0d984 S com.android.settings
app_15 4141 1019 170184 21052 ffffffff 6fe0d984 S com.android.filemanager
app_88 4180 1019 180244 27508 ffffffff 6fe0d984 S com.nullsoft.winamp
app_50 4222 1019 164816 18864 ffffffff 6fe0d984 S com.android.mms
app_54 4250 1019 171992 21400 ffffffff 6d03e3cc R jackpal.androidterm
app_54 4269 4250 700 332 00000000 6fe0c2ac R /system/bin/sh
app_59 4327 1019 182392 28928 ffffffff 6fe0d984 S com.geeksoft.screenshot
app_54 4400 4269 872 340 00000000 6fe0c74c R ps
As you can see, the output of the ps command is different from a Linux machine, but it is still very useful in keeping track of what processes are running on an Android computer. When you are using the Terminal Emulator app on Android and you want to create files with the command-line, type cd /sdcard
to navigate to the sd card storage space, then you will be able to create files easily. Typing ps > myps.txt will redirect the output of the ps command to a text file allowing you to review the contents later. The system binaries are stored under /system on Android instead of using the /bin folder in the case of the /system/bin/sh command shell. But it does work very well, and having a command-line shell on your Android device means that you could easily manage files more easily than using the GUI. The inbuilt memory on my Android device is not writable by the command shell even as root, therefore I use the sdcard to create files.