Difference between revisions of "Nice linux"

From Teknologisk videncenter
Jump to: navigation, search
(Created page with " =Articles= *https://www.tecmint.com/set-linux-process-priority-using-nice-and-renice-commands/ [Category:Linux]]")
 
m
Line 1: Line 1:
 +
=nice and priority=
  
 +
<source lang=bash>
 +
[azureuser@Kamstrup-2 ~]$ ps -eo user,pid,ppid,tid,pri,nice,cmd
 +
USER        PID    PPID    TID PRI  NI CMD
 +
root          1      0      1  19  0 /usr/lib/systemd/systemd --switched-root --system --deserialize 30
 +
root          2      0      2  19  0 [kthreadd]
 +
root          3      2      3  39 -20 [rcu_gp]
 +
root          4      2      4  39 -20 [rcu_par_gp]
 +
root          5      2      5  39 -20 [slub_flushwq]
 +
root          6      2      6  39 -20 [netns]
 +
root          8      2      8  39 -20 [kworker/0:0H-events_highpri]
 +
root          10      2      10  39 -20 [mm_percpu_wq]
 +
root          12      2      12  19  0 [rcu_tasks_kthre]
 +
root          13      2      13  19  0 [rcu_tasks_rude_]
 +
 +
....
 +
</source>
 
=Articles=
 
=Articles=
 
*https://www.tecmint.com/set-linux-process-priority-using-nice-and-renice-commands/
 
*https://www.tecmint.com/set-linux-process-priority-using-nice-and-renice-commands/
 
[Category:Linux]]
 
[Category:Linux]]

Revision as of 08:26, 19 March 2024

nice and priority

[azureuser@Kamstrup-2 ~]$ ps -eo user,pid,ppid,tid,pri,nice,cmd
USER         PID    PPID     TID PRI  NI CMD
root           1       0       1  19   0 /usr/lib/systemd/systemd --switched-root --system --deserialize 30
root           2       0       2  19   0 [kthreadd]
root           3       2       3  39 -20 [rcu_gp]
root           4       2       4  39 -20 [rcu_par_gp]
root           5       2       5  39 -20 [slub_flushwq]
root           6       2       6  39 -20 [netns]
root           8       2       8  39 -20 [kworker/0:0H-events_highpri]
root          10       2      10  39 -20 [mm_percpu_wq]
root          12       2      12  19   0 [rcu_tasks_kthre]
root          13       2      13  19   0 [rcu_tasks_rude_]

....

Articles

[Category:Linux]]