SuSE GmbH

SuSE Support Database

Title: ps displays a warning

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

ps displays a warning

Applies to

SuSE Linux: Versions since 5.2

Symptom:

You start a shell script that ran without problems for quite some time or you execute e.g.
  ps -auxw
in a shell. After the installation of S.u.S.E. Linux 5.2 you get the message
  warning: `-' deprecated; use `ps auxw', not `ps -auxw'

Cause:

The newest version of ps doesn't accept options with a hyphen anymore.

Solution:

Remove the hyphen in front of the options in the call to ps in the script. This message is just a warning, so you can even simply ignore it !

----------

See also:

----------

Keywords: PS -AUX, DEPRECATED

----------

Categories: Applications

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-maddin_ps52, Copyright SuSE GmbH, Nuremberg, Germany - Version: 01. Apr 1998
SuSE GmbH - Last generated: 07. Oct 1999 17:04:05 by maddin with sdb_gen 1.00.0