Telegram- 👇 😉
-
. WIKIMERIONET
Merion Mertics , ,

CRM

Linux

Priority

4

Linux. , , - , , - . :

  • ;
  • , ;
  • , .

Linux -20 +19. FreeBSD +20. , . .. - 20, -19 . -20 +19 . Linux nice renice.

, ps aux. . . ps.

ps alx.

ps alx

, . , "NI" "PRI". , nice 0, .. , . ps, .

  • ps -eo user,pid,pcpu,nice,comm
  • -e -
  • -o - output . , ()
ps -eo user,pid,pcpu,nice,comm

, , . , , , ID , CPU, .

, , , sleep, , .

sleep 10000 &

ps -eo user,pid,pcpu,nice,comm | grep sleep, pipline sleep. , .

sleep 10000

.

- . , , . , , .

nice sleep 60000

, 10 .

     10

- , , . , . .. ni, 2 , .

. killall sleep.

. . .

nice -n 19 sleep 6000
nice n -20 sleep 6000 &

. .

.

nice -n -20 sleep 6000
nice -n -20 sleep 6000

, , root. - , .

killall sleep, . . nice -n 19 sleep 60000. . :

renice 5 -p 416802 - .  5 -   , 416802 - id .
renice 5 -p 416802 - .  5 -   , 416802 - id .

. . Windows , , Linux 40.

.

renice  -u 

, .