Re: Basic ps Tips

Liste des GroupesRevenir à cu shell 
Sujet : Re: Basic ps Tips
De : mail (at) *nospam* rkta.de (Rene Kita)
Groupes : comp.unix.shell
Date : 05. Aug 2024, 06:55:12
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v8ppg0$h6kb$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (OpenBSD/7.5 (amd64))
Christian Weisgerber <naddy@mips.inka.de> wrote:
On 2024-08-03, Joerg Mertens <joerg-mertens@t-online.de> wrote:
 
[OpenBSD ps(1)]
$ ps -C ksh
ps: /dev/mem: Permission denied'
>
The error message also is printed, when you run ps with a valid
flag plus some string, like `ps -a xyz´, so it seems to be independent
of the `-C´-option.  Maybe it has to do with parsing of the old-style
flags vs. the dashed ones.
 
A quick look at the options parsing shows that
 
  ps xxx [yyy [zzz]]
 
is equivalent to
 
  ps -N xxx [-M yyy [-W zzz]]
[...]

Thanks for this explanation. Might be worth to document this in the man
page.

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