Re: [PATCH 2/4] chrt: do not try to interpret the --pid option itself as a PID
Karel Zak <[email protected]> Wed, 2 Jul 2025 10:30:14 +0200
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <swqefe5qg3kdi7mjtlwn472xuwdlidpof7ygs5dpezf3bjwdlx@kk4svfpcukfs> |
On Tue, Jul 01, 2025 at 03:34:40PM +0200, Benno Schulenberg wrote:
> I don't think that is a good idea: the current interface is already
> confusing in that _gets_ info when a single argument follows --pid,
> and that it _sets_ something when there a two arguments. Allowing
> to set something for multiple PIDs at once while it's not possible
> to query multiple PIDs at once... is more confusing.
I agree, the schedutils UI is quite confusing. From time to time, I think
about a new tool that will combine all the tools into one (setsched,
lssched?) with a user-friendly interface.
Karel
--
Karel Zak <[email protected]>
http://karelzak.blogspot.com