All of lore.kernel.org
 help / color / mirror / Atom feed
* Add to man page: 0 as prio when -i, -b
@ 2015-01-19 16:11 dE
  2015-01-26 11:55 ` Karel Zak
  0 siblings, 1 reply; 2+ messages in thread
From: dE @ 2015-01-19 16:11 UTC (permalink / raw)
  To: util-linux

As we know the batch and idle algorithms don't have priorities. But chrt 
expects '0' as the priority, otherwise the command fails.

# chrt -i cat /etc/fstab

chrt - manipulate real-time attributes of a process

Set policy:
   chrt [options] [<policy>] <priority> [-p <pid> | <command> [<arg>...]]
...
...
...




# chrt -i 0 cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
...
...
...


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Add to man page: 0 as prio when -i, -b
  2015-01-19 16:11 Add to man page: 0 as prio when -i, -b dE
@ 2015-01-26 11:55 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2015-01-26 11:55 UTC (permalink / raw)
  To: dE; +Cc: util-linux

On Mon, Jan 19, 2015 at 09:41:32PM +0530, dE wrote:
> # chrt -i 0 cat /etc/fstab

 Added, thanks.

    Karel


-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-26 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 16:11 Add to man page: 0 as prio when -i, -b dE
2015-01-26 11:55 ` Karel Zak

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.