Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1362401
  • 博文数量: 343
  • 博客积分: 13098
  • 博客等级: 上将
  • 技术积分: 2862
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-06 00:35
文章存档

2012年(131)

2011年(31)

2010年(53)

2009年(23)

2008年(62)

2007年(2)

2006年(36)

2005年(5)

分类: LINUX

2008-11-18 23:28:10

当前大多数基于linux的嵌入式系统都会集成busybox来取代庞大而复杂的linux commands, 但是android好像没有集成busybox, 所以第一次在android的shell环境中被搞得很痛苦,今天在浏览android源代码的时候,偶然发现一个叫toolbox的工具,原理和busybox非常相似,虽然和busybox相比功能上还差得很远,但是聊胜于无。

使用方法和busybox类似,先开一个android的shell,然后看看ps命令吧
#adb shell
#toolbox ps

附:toolbox支持的commands:

alarm
cat
chmod
cmp
date
dd
dd.h
df
dmesg
exists
getevent
getprop
hd
id
ifconfig
iftop
insmod
ioctl
kill
ln
log
ls
lsmod
mkdir
mkdosfs
mount
mv
netstat
notify
powerd
printenv
ps
r
readtty
reboot
renice
rm
rmdir
rmmod
rotatefb
route
schedtop
sendevent
setconsole
setkey
setprop
sleep
smd
start
stop
sync
syren
toolbox
top
umount
vmstat
watchprops
wipe

阅读(1774) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~