ALT Linux Community general discussions
 help / color / mirror / Atom feed
* Re: [mdk-re] nice
@ 2001-02-21 17:28 Roman S
  2001-02-21 21:26 ` Yury Zotov
  2001-02-22  3:20 ` Dmitry V. Levin
  0 siblings, 2 replies; 4+ messages in thread
From: Roman S @ 2001-02-21 17:28 UTC (permalink / raw)
  To: mandrake-russian

Цитирую Yury Zotov <yz-news@mail.ru>:

> Подскажите, пожалуйста, можно ли сделать так, чтобы 
некоторые программы
> запускались с приоритетом по умолчанию отличным от 
0, скажем 20?

Т.е. хочется уменьшить приоритет, дабы они "по дну" 
ползали?
Сделать для этих "некоторых" скрипты-врапперы,
nice -20 <progname> $@

Поднять же приоритет может только суперпользователь, 
можно провернуть фокус с sudo (см. инструкцию в части 
nopasswd).
Например в моей системе cron at и anacron, соотв. все 
задачи которые пилят под ними "придавлены", а esd -
 "приподнят".

Можно так же установить базовый приоритет 
пользователю...

Но главная заповедь многозадачной системы - не 
повышать приоритет тому, что должно работать быстрее, 
а понизить тому, что мешает. Это лучше скажется на 
итоговой работе системы.
Повышать приоритет лучше только тем задачам, которые 
перманентно находятся в ожидании, активируясь изредка.

Rgds!
Roman Savelyev



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

end of thread, other threads:[~2001-02-22  3:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-21 17:28 [mdk-re] nice Roman S
2001-02-21 21:26 ` Yury Zotov
2001-02-21 21:45   ` Roman S
2001-02-22  3:20 ` Dmitry V. Levin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git