How to keep unnecessary processes from starting

NoOp glgxg at sbcglobal.net
Thu Mar 12 20:42:01 UTC 2009


On 03/11/2009 01:10 PM, Rashkae wrote:
> NoOp wrote:
>> On 03/10/2009 08:07 PM, Charles Howse wrote:
>>> On Mar 10, 2009, at 9:31 PM, Charlie Kravetz wrote:
>>>
>>>> What I use when working with developers and filing bugs:
>>>>  $ ps -auxwwf > ps.txt
>>> I learned earlier today that ps doesn't want the dash before the  
>>> options.  It will work, but complains of bad syntax:
>>> $ ps auxwwf > ps.txt
>>>
>> 
>> Yep, that works. I couldn't get it to work with the dash either.
>> 
> 
> It works just as well with the dash.  You get an error message when you
>> ps.txt because all the other stdout output went into ps.txt, wheras
> the error message about the - is stderr and gets visibly displayed on
> the screen.  The error message should still be there when you don't
> re-direct, but gets lost in all the other output.
> 

Ah... you are correct - thanks.

$ ps -auxwwf > ps.txt
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
$ ls ps.txt
ps.txt






More information about the ubuntu-users mailing list