Closed Bug 841936 Opened 13 years ago Closed 8 years ago

May need to fix scripts which rely on ps output

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: dhylands, Unassigned)

Details

There are several scripts, like b2g-ps, b2g-procrank, profile.sh and probably some more (like some of the update/test tools) which rely on the output of system utilities like ps. If someone installs busybox onto the phone and the symlinks and stuff are setup, then it's quite possible that a different version of ps would get used. These scripts should call 'toolbox ps' rather than just ps. Example of toolbox ps output: root@android:/ # toolbox ps USER PID PPID VSIZE RSS WCHAN PC NAME root 1 0 480 340 c013bfe4 00008728 S /init root 2 0 0 0 c00cd9d4 00000000 S kthreadd root 3 2 0 0 c00b9b70 00000000 S ksoftirqd/0 Example of busybox ps output: root@android:/ # /data/local/bin/busybox ps PID USER TIME COMMAND 1 0 0:01 /init 2 0 0:00 [kthreadd] 3 0 0:00 [ksoftirqd/0]
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.