how imx6 busybox v1.20.2 support ps command

cancel
Showing results for 
Search instead for 
Did you mean: 

how imx6 busybox v1.20.2 support ps command

1,224 Views
wenmintang
Contributor I

Hi,all

  Because application need to use ps command for example ps -aux | grep ....

  but imx6q_SabreSD busybox can't support.when i type ps -aux,it is

root@freescale ~$ ls

root@freescale ~$ ps aux

ps: invalid option -- 'a'

BusyBox v1.20.2 () multi-call binary.

Usage: ps

Show list of processes

This version of ps accepts no options

        T       Show threads

root@freescale ~$ uname

Linux

root@freescale ~$ uname -a

Linux freescale 3.0.35-2666-gbdde708-svn17 #5 SMP PREEMPT Wed Jun 4 17:19:10 CST 2014 armv7l GNU/Linux

root@freescale ~$ ps -aux

ps: invalid option -- 'a'

BusyBox v1.20.2 () multi-call binary.

Usage: ps

Show list of processes

This version of ps accepts no options

        T       Show threads

root@freescale ~$

I don't know whether i can only use busybox-1.15.0-1.arm.rpm instead of  busybox-1.20.2-1.arm.rpm. and  can busybox-1.15.0-1.arm.rpm support Linux freescale 3.0.35.

Labels (1)
0 Kudos
2 Replies

132 Views
blurencetin
Contributor II

Hi tang,

You can have a try on cross-compiling a lower version or just replace the busybox ps with a full-feature ps.

0 Kudos

132 Views
wenmintang
Contributor I

can  busybox v1.15.0 used by imx28 support linux3.0.35 ?  if can i tar -jcvf rootfs.tar.bz2  * in imx28 board,then tar -jxvf rootfs.tar.bz2 in imx6 board ?

0 Kudos