Stefan Husch writes: > bei OmniOS gibt es /usr/ucb/ps auch noch. ps ist hier das selbe Binary wie > unter /usr/bin/ps.
Ja, das ist schon lange so: # man ps ps(1) User Commands ps(1) NAME ps - report process status SYNOPSIS ps [-aAcdefjHlLPyZ] [-g grplist] [-h lgrplist] [-n namelist] [-o format]... [-p proclist] [-s sidlist] [-t term] [-u uidlist] [-U uidlist] [-G gidlist] [-z zonelist] DESCRIPTION The ps command prints information about active processes. Without options, ps prints information about processes that have the same effective user ID and the same controlling terminal as the invoker. The output contains only the process ID, terminal identifier, cumulative execution time, and the command name. Otherwise, the information that is displayed is controlled by the options. Some options accept lists as arguments. Items in a list can be either separated by commas or else enclosed in quotes and separated by commas or spaces. Values for proclist and grplist must be numeric. The ps command tries to determine whether it is called natively or using the command syntax expected by ps(1B). In the latter case, the ps command behaves exactly as described in ps(1B). ... und weiter unten: The following options are used by the /usr/ucb/ps command (see ps(1B)). They are supported in /usr/bin/ps, allowing the latter to emulate UCB behavior. The UCB options do not use a hyphen. You cannot mix these options with the options described above. r Restricts output to running and runnable processes. S Displays accumulated CPU time used by this process and all of its reaped children. v Displays a version of the output containing virtual memory. This includes fields SIZE, %CPU, %MEM, and RSS, described below. w Uses a wide output format, that is, 132 columns rather than 80. If the option letter is repeated, that is, -ww, this option uses arbi- trarily wide output. This information is used to decide how much of long commands to print. Note: The wide output option can be viewed only by a superuser or the user who owns the process. x Includes processes with no controlling terminal. Wie man sieht, fehlen "a" und "u"... sie gehen aber trotzdem, aber nur in S11.3 und Verwandten, nicht aber in S10! Ob die Felder alle auch wirklich kompatibel zum BSD-Output sind, müßte man prüfen. Viele Grüße -- Volker -- ------------------------------------------------------------------------ Volker A. Brandt Consulting and Support for Oracle Solaris Brandt & Brandt Computer GmbH WWW: http://www.bb-c.de/ Am Wiesenpfad 6, 53340 Meckenheim, GERMANY Email: v...@bb-c.de Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 46 Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt "When logic and proportion have fallen sloppy dead"