Ernillew / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

PS needs to be used with PS -W argument to be able to work with GREP or multiple GREPs #453

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ps | grep xxx | grep -q yyyy > testfile.txt; Writes nothing to file
2. ps -w | grep xxx | grep -q yyyy > testfile.txt; Writes expected output to 
file

What is the expected output? What do you see instead?
I do see empty file instead expected output if -w argument is NOT used

What version of the product are you using?
Linux asus 2.6.22.19 #2

Please describe the problem as detailed as it's possible.
-w argument must be used to be able to work with grep as example below

Original issue reported on code.google.com by ondrej.b...@gmail.com on 23 Sep 2014 at 8:18

GoogleCodeExporter commented 9 years ago
busybox option FEATURE_PS_WIDE for "ps" applet already turned on. In case of 
you find some problem in busybox, please fill it in busybox bugzilla.

Original comment by lly.dev on 24 Sep 2014 at 5:57