Re: Basic ps Tips

Liste des GroupesRevenir à cu shell 
Sujet : Re: Basic ps Tips
De : naddy (at) *nospam* mips.inka.de (Christian Weisgerber)
Groupes : comp.unix.shell
Date : 04. Aug 2024, 14:55:27
Autres entêtes
Message-ID : <slrnvauuhv.1ua4.naddy@lorvorc.mips.inka.de>
References : 1 2 3 4 5
User-Agent : slrn/1.0.3 (FreeBSD)
On 2024-08-04, Christian Weisgerber <naddy@mips.inka.de> wrote:

Dunno what to make out of it, but apparently one reason to use grep
instead of -C is portability.
>
ps(1)'s arguments are not portable in practice anyway.

I'll just quote the OpenBSD man page:

------------------->
STANDARDS
     The ps utility is compliant with the IEEE Std 1003.1-2008 ("POSIX.1")
     specification, except that the flag [-G] is unsupported and the flags
     [-ptU] support only single arguments, not lists.

     The flags [-defglnu] are marked by IEEE Std 1003.1-2008 ("POSIX.1") as
     being an X/Open System Interfaces option.  Of these, [-dfgn] are not
     supported by this implementation of ps; behaviour for the flags [-elu]
     differs between this implementation and the X/Open System Interfaces
     option of IEEE Std 1003.1-2008 ("POSIX.1").

     The flags [-cfHhjkLMmNOrSTvWwx] are extensions to IEEE Std 1003.1-2008
     ("POSIX.1").

     Only the following keywords are recognised by IEEE Std 1003.1-2008
     ("POSIX.1"): args, comm, etime, group, nice, pcpu, pgid, pid, ppid,
     rgroup, ruser, time, tty, user, and vsz.
<-------------------

--
Christian "naddy" Weisgerber                          naddy@mips.inka.de

Date Sujet#  Auteur
27 Jul 24 * Basic ps Tips22Lawrence D'Oliveiro
30 Jul 24 `* Re: Basic ps Tips21Lawrence D'Oliveiro
2 Aug 24  `* Re: Basic ps Tips20Jerry Peters
2 Aug 24   +- Re: Basic ps Tips1Lawrence D'Oliveiro
3 Aug 24   `* Re: Basic ps Tips18Rene Kita
3 Aug 24    +* Re: Basic ps Tips14Ed Morton
3 Aug 24    i`* Re: Basic ps Tips13Rene Kita
3 Aug 24    i +* Re: Basic ps Tips10Joerg Mertens
4 Aug 24    i i+* Re: Basic ps Tips7Rene Kita
4 Aug 24    i ii`* Re: Basic ps Tips6Joerg Mertens
5 Aug 24    i ii +* Re: Basic ps Tips4Lawrence D'Oliveiro
5 Aug 24    i ii i+* Re: Basic ps Tips2Joerg Mertens
5 Aug 24    i ii ii`- The whole point of the BSDs is to be retro (Was: Basic ps Tips)1Kenny McCormack
5 Aug 24    i ii i`- Re: Basic ps Tips1Christian Weisgerber
5 Aug 24    i ii `- Re: Basic ps Tips1Rene Kita
4 Aug 24    i i`* Re: Basic ps Tips2Christian Weisgerber
5 Aug 24    i i `- Re: Basic ps Tips1Rene Kita
3 Aug 24    i `* Re: Basic ps Tips2Lawrence D'Oliveiro
4 Aug 24    i  `- Re: Basic ps Tips1John D Groenveld
4 Aug 24    `* Re: Basic ps Tips3Christian Weisgerber
4 Aug 24     `* Re: Basic ps Tips2Christian Weisgerber
5 Aug 24      `- Re: Basic ps Tips1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal