Skip to contentSkip to conversation

Add to man page: 0 as prio when -i, -b

DISCUSSION dE 2 participants 2 messages Jan 19, 2015 – Jan 26, 2015 Util-Linux package

lore
Share & tools
lore

dE

author
#0 lore raw

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
...
...
...
maintainer
#1 lore raw
Quoted 1 line · dE
# chrt -i 0 cat /etc/fstab

Added, thanks.

Karel

Signature · 2 lines
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com