Bug 33292 - pwait not available, despite pkill and pgrep are available
Summary: pwait not available, despite pkill and pgrep are available
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 10:17 CEST by Raoul
Modified: 2024-06-13 23:28 CEST (History)
0 users

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Raoul 2024-06-12 10:17:30 CEST
pgrep, pkill and pwait commands are closely related 

But on my uptodate Mageia 9 for x86_64, only the two first commands are available in a terminal session. How to access pwait ?
Comment 1 sturmvogel 2024-06-12 13:37:22 CEST
It is /usr/bin/pidwait

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Comment 2 Raoul 2024-06-12 14:17:10 CEST
OK. Fine, thank you ! pidwait is available

But let's see the filrst lines of some man pages:

man pgrep :
NOM
       pgrep, pkill, pwait - look up, signal, or wait for processes based on name and other attributes

man pwait :
NOM
       pgrep, pkill, pwait - look up, signal, or wait for processes based on name and other attributes

man pidwait :
NAME
       pgrep, pkill, pidwait - look up, signal, or wait for processes based on name and other attributes

I think something is not logic in the man pages, dont't you ?
pwait should never be mentionned.

Cheers, Raoul
Comment 3 sturmvogel 2024-06-12 18:22:38 CEST
You need to report this upstream. The same man pages are used on other linux distributions which use the package...
Comment 4 Raoul 2024-06-13 23:28:39 CEST
Hello,

I'm afraid that it's above my competence's level in this domain...

Cheers, Raoul

Note You need to log in before you can comment on or make changes to this bug.