Deutsch English Français Italiano |
<v8ppg0$h6kb$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Rene Kita <mail@rkta.de> Newsgroups: comp.unix.shell Subject: Re: Basic ps Tips Date: Mon, 5 Aug 2024 05:55:12 -0000 (UTC) Organization: A noiseless patient Spider Lines: 23 Sender: Rene Kita <kt@ob.rkta.de> Message-ID: <v8ppg0$h6kb$1@dont-email.me> References: <v81fmh$32fuh$5@dont-email.me> <v8bja7$16ghh$1@dont-email.me> <v8h8ne$2eq4k$1@dont-email.me> <v8kl22$3ajo6$1@dont-email.me> <v8l5rk$3e995$1@dont-email.me> <v8ljlg$3gs0o$1@dont-email.me> <v8lpmb$3i4us$1@jmertens.eternal-september.org> <slrnvauo2l.1ruo.naddy@lorvorc.mips.inka.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Mon, 05 Aug 2024 07:55:13 +0200 (CEST) Injection-Info: dont-email.me; posting-host="519d53e75290e06f10db6418a2587a1d"; logging-data="563851"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BluVh6G2TppOLPh1lkHT/" User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (OpenBSD/7.5 (amd64)) Cancel-Lock: sha1:LZEzZTLLUhh7AnqtGclKblKyciQ= Bytes: 1870 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.