Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
elearning:workbooks:redhat:rh124:l109 [2024/09/26 11:52] – created adminelearning:workbooks:redhat:rh124:l109 [2024/09/27 13:05] (Version actuelle) admin
Ligne 46: Ligne 46:
  
 <code> <code>
-[root@centos8 ~]# cd /proc; ls -d [0-9]* +[root@redhat9 ~]# cd /proc; ls -d [0-9]* 
-    1113  1158  1464  1590  1601  163   166  171  20  24  28  303  31   34  38  41  45   461  465  469  473  478  481  487  497  507  52   528  531  599  649  69   765  793  800  827  840  853  875  902 +     10446  10597  17    22   28  34   406  423  465  504  535  540  5671  5705  5724  5737  5765  5950  6     6200  6384  6444  6462  6571  6668  708  7429  76    77    79    8946  9400 
-10    1125  12    1465  1594  162   1634  167  18   21  25  29  305  310  35  39  42  457  462  466  47   475  479  482  489  498  508  521  529  532     655     766  795  801  828  841  854  880  905 +10     10590  12     18    23   29  35   415  43   47   51   536  541  5675  5707  5725  5742  5787  5952  6049  6206  6410  6451  6473  6599  6674  709  743   7618  78    7900  90    9490 
-11    1126  13    15    16    1627  164   168  19   22  26    306  311  36    43  459  463  467  470  476  48   484  49   5    51   526  53   533  60   662  741  779  799  823  834  847  866  884  910 +10062  10591  13         24     36   42   434  48   511  537  542  5698  5708  5728  5743  58    5956  61    629   6432  6452  6477  6611  69    710  7430  7619  7896  8     9357  95 
-1111  1135  14    1585  1600  1628  165   17      23  27  30  309  32   37  40  44  46   464  468  472  477  480  485  496  50   518  527  530  534  632  666  751  791  8    825  837  850  874  9+10066  10592  14     20    242  30  38   420  44   49   52   538  543  57    5710  5734  5744  5851  5963  614   6318  6433  6453  6479  6617  705   711  7431  7620  7897  80    9365  9543 
 +10223  10595  15     2014  245  32  4    421  45   5    53   539  55   5700  5714  5735  5757  5863  5968  6195  6377  6436  6454  6482  6626  706   712  7432  7621  7898  81    9369  96 
 +10383  10596  16     21    27   33  403  422  46   50   534  54   56   5704  5717  5736  5763  59    5975  62    6381  6439  6455  6486  6640  707   742  7433  7622  7899  853   9392  9896
 </code> </code>
  
Ligne 56: Ligne 58:
  
 <code> <code>
-[root@centos8 proc]# cd 1 ; ls -l+[root@redhat9 proc]# cd 1 ; ls -l
 total 0 total 0
-dr-xr-xr-x. 2 root root 0 Jun  3 09:01 attr +-r--r--r--.  1 root root 0 Sep 25 15:29 arch_status 
--rw-r--r--. 1 root root 0 Jun  3 09:02 autogroup +dr-xr-xr-x.  2 root root 0 Sep 25 12:44 attr 
--r--------. 1 root root 0 Jun  3 09:02 auxv +-rw-r--r--.  1 root root 0 Sep 25 15:29 autogroup 
--r--r--r--. 1 root root 0 Jun  3 09:01 cgroup +-r--------.  1 root root 0 Sep 25 15:29 auxv 
---w-------. 1 root root 0 Jun  3 09:02 clear_refs +-r--r--r--.  1 root root 0 Sep 25 12:44 cgroup 
--r--r--r--. 1 root root 0 Jun  3 09:01 cmdline +--w-------.  1 root root 0 Sep 25 15:29 clear_refs 
--rw-r--r--. 1 root root 0 Jun  3 09:01 comm +-r--r--r--.  1 root root 0 Sep 25 12:44 cmdline 
--rw-r--r--. 1 root root 0 Jun  3 09:02 coredump_filter +-rw-r--r--.  1 root root 0 Sep 25 12:44 comm 
--r--r--r--. 1 root root 0 Jun  3 09:02 cpu_resctrl_groups +-rw-r--r--.  1 root root 0 Sep 25 15:29 coredump_filter 
--r--r--r--. 1 root root 0 Jun  3 09:02 cpuset +-r--r--r--.  1 root root 0 Sep 25 15:29 cpu_resctrl_groups 
-lrwxrwxrwx. 1 root root 0 Jun  3 09:02 cwd -> / +-r--r--r--.  1 root root 0 Sep 25 15:29 cpuset 
--r--------. 1 root root 0 Jun  3 09:01 environ +lrwxrwxrwx.  1 root root 0 Sep 25 14:56 cwd -> / 
-lrwxrwxrwx. 1 root root 0 Jun  3 09:01 exe -> /usr/lib/systemd/systemd +-r--------.  1 root root 0 Sep 25 12:44 environ 
-dr-x------. 2 root root 0 Jun  3 09:01 fd +lrwxrwxrwx.  1 root root 0 Sep 25 12:44 exe -> /usr/lib/systemd/systemd 
-dr-x------. 2 root root 0 Jun  3 09:01 fdinfo +dr-x------.  2 root root 0 Sep 25 12:44 fd 
--rw-r--r--. 1 root root 0 Jun  3 09:01 gid_map +dr-xr-xr-x 2 root root 0 Sep 25 14:56 fdinfo 
--r--------. 1 root root 0 Jun  3 09:02 io +-rw-r--r--.  1 root root 0 Sep 25 12:44 gid_map 
--r--r--r--. 1 root root 0 Jun  3 09:02 limits +-r--------.  1 root root 0 Sep 25 15:29 io 
--rw-r--r--. 1 root root 0 Jun  3 09:01 loginuid +-r--------.  1 root root 0 Sep 25 15:29 ksm_merging_pages 
-dr-x------. 2 root root 0 Jun  3 09:02 map_files +-r--r--r--.  1 root root 0 Sep 25 15:29 limits 
--r--r--r--. 1 root root 0 Jun  3 09:01 maps +-rw-r--r--.  1 root root 0 Sep 25 12:44 loginuid 
--rw-------. 1 root root 0 Jun  3 09:02 mem +dr-x------.  2 root root 0 Sep 25 15:29 map_files 
--r--r--r--. 1 root root 0 Jun  3 09:01 mountinfo +-r--r--r--.  1 root root 0 Sep 25 12:44 maps 
--r--r--r--. 1 root root 0 Jun  3 09:01 mounts +-rw-------.  1 root root 0 Sep 25 15:29 mem 
--r--------. 1 root root 0 Jun  3 09:02 mountstats +-r--r--r--.  1 root root 0 Sep 25 12:44 mountinfo 
-dr-xr-xr-x. root root 0 Jun  3 09:01 net +-r--r--r--.  1 root root 0 Sep 25 12:44 mounts 
-dr-x--x--x. 2 root root 0 Jun  3 09:02 ns +-r--------.  1 root root 0 Sep 25 15:29 mountstats 
--r--r--r--. 1 root root 0 Jun  3 09:02 numa_maps +dr-xr-xr-x. 53 root root 0 Sep 25 12:44 net 
--rw-r--r--. 1 root root 0 Jun  3 09:02 oom_adj +dr-x--x--x.  2 root root 0 Sep 25 12:44 ns 
--r--r--r--. 1 root root 0 Jun  3 09:02 oom_score +-r--r--r--.  1 root root 0 Sep 25 15:29 numa_maps 
--rw-r--r--. 1 root root 0 Jun  3 09:02 oom_score_adj +-rw-r--r--.  1 root root 0 Sep 25 15:29 oom_adj 
--r--------. 1 root root 0 Jun  3 09:02 pagemap +-r--r--r--.  1 root root 0 Sep 25 15:29 oom_score 
--r--------. 1 root root 0 Jun  3 09:02 patch_state +-rw-r--r--.  1 root root 0 Sep 25 15:29 oom_score_adj 
--r--------. 1 root root 0 Jun  3 09:02 personality +-r--------.  1 root root 0 Sep 25 15:29 pagemap 
--rw-r--r--. 1 root root 0 Jun  3 09:02 projid_map +-r--------.  1 root root 0 Sep 25 15:29 patch_state 
-lrwxrwxrwx. 1 root root 0 Jun  3 09:01 root -> / +-r--------.  1 root root 0 Sep 25 15:29 personality 
--rw-r--r--. 1 root root 0 Jun  3 09:01 sched +-rw-r--r--.  1 root root 0 Sep 25 15:29 projid_map 
--r--r--r--. 1 root root 0 Jun  3 09:02 schedstat +lrwxrwxrwx.  1 root root 0 Sep 25 12:44 root -> / 
--r--r--r--. 1 root root 0 Jun  3 09:01 sessionid +-rw-r--r--.  1 root root 0 Sep 25 15:29 sched 
--rw-r--r--. 1 root root 0 Jun  3 09:01 setgroups +-r--r--r--.  1 root root 0 Sep 25 15:29 schedstat 
--r--r--r--. 1 root root 0 Jun  3 09:02 smaps +-r--r--r--.  1 root root 0 Sep 25 12:44 sessionid 
--r--r--r--. 1 root root 0 Jun  3 09:02 smaps_rollup +-rw-r--r--.  1 root root 0 Sep 25 12:44 setgroups 
--r--------. 1 root root 0 Jun  3 09:02 stack +-r--r--r--.  1 root root 0 Sep 25 15:29 smaps 
--r--r--r--. 1 root root 0 Jun  3 09:01 stat +-r--r--r--.  1 root root 0 Sep 25 15:29 smaps_rollup 
--r--r--r--. 1 root root 0 Jun  3 09:02 statm +-r--------.  1 root root 0 Sep 25 15:29 stack 
--r--r--r--. 1 root root 0 Jun  3 09:01 status +-r--r--r--.  1 root root 0 Sep 25 14:56 stat 
--r--------. 1 root root 0 Jun  3 09:02 syscall +-r--r--r--.  1 root root 0 Sep 25 15:29 statm 
-dr-xr-xr-x. 3 root root 0 Jun  3 09:01 task +-r--r--r--.  1 root root 0 Sep 25 12:44 status 
--r--r--r--. 1 root root 0 Jun  3 09:02 timers +-r--------.  1 root root 0 Sep 25 15:29 syscall 
--rw-rw-rw-. 1 root root 0 Jun  3 09:02 timerslack_ns +dr-xr-xr-x.  3 root root 0 Sep 25 12:44 task 
--rw-r--r--. 1 root root 0 Jun  3 09:01 uid_map +-rw-r--r--.  1 root root 0 Sep 25 15:29 timens_offsets 
--r--r--r--. 1 root root 0 Jun  3 09:02 wchan+-r--r--r--.  1 root root 0 Sep 25 15:29 timers 
 +-rw-rw-rw-.  1 root root 0 Sep 25 15:29 timerslack_ns 
 +-rw-r--r--.  1 root root 0 Sep 25 12:44 uid_map 
 +-r--r--r--.  1 root root 0 Sep 25 15:29 wchan
 </code> </code>
  
Ligne 128: Ligne 133:
   * //user mode// - le processus s'exécute en mode utilisateur,   * //user mode// - le processus s'exécute en mode utilisateur,
   * //kernel mode//- le processus s'exécute en mode noyau,    * //kernel mode//- le processus s'exécute en mode noyau, 
 +  * //new// - le processus est nouveau,
   * //waiting// – le processus est en attente pour une ressource autre que le processeur,   * //waiting// – le processus est en attente pour une ressource autre que le processeur,
   * //sleeping// - le processus est endormi,   * //sleeping// - le processus est endormi,
-  * //runnable// – le processus dispose de toutes le ressources nécessaire à son exécution sauf le processeur, 
   * //swap// - le processus est endormi dans la mémoire virtuelle,   * //swap// - le processus est endormi dans la mémoire virtuelle,
-  * //new// le processus est nouveau,+  * //runnable// – le processus dispose de toutes le ressources nécessaire à son exécution sauf le processeur,
   * //elected// – le processus a le contrôle du processeur,   * //elected// – le processus a le contrôle du processeur,
   * //zombie// – le processus a terminé son exécution et est prêt à mourir.   * //zombie// – le processus a terminé son exécution et est prêt à mourir.
Ligne 143: Ligne 148:
  
 <code> <code>
-[root@centos8 1]# cd ~ +[root@redhat9 1]# cd ~ 
-[root@centos8 ~]# ps+ 
 +[root@redhat9 ~]# ps
     PID TTY          TIME CMD     PID TTY          TIME CMD
-   1627 pts/0    00:00:00 su +  10062 pts/0    00:00:00 su 
-   1634 pts/0    00:00:00 bash +  10066 pts/0    00:00:00 bash 
-   1690 pts/0    00:00:00 ps+  10602 pts/0    00:00:00 ps
 </code> </code>
  
Ligne 154: Ligne 160:
  
 <code> <code>
-[root@centos8 ~]# ps -l+[root@redhat9 ~]# ps -l
 F S   UID     PID    PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD F S   UID     PID    PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
-4 S        1627    1601   80   0 - 48967 -      pts/0    00:00:00 su +4 S       10062    9400   80   0 - 58719 do_wai pts/0    00:00:00 su 
-4 S        1634    1627   80   0 -  6911 -      pts/0    00:00:00 bash +4 S       10066   10062   80   0 - 56056 do_wai pts/0    00:00:00 bash 
-R        1698    1634   80   0 - 11360 -      pts/0    00:00:00 ps+R       10604   10066   80   0 - 56370 -      pts/0    00:00:00 ps
 </code> </code>
  
Ligne 181: Ligne 187:
  
 <code> <code>
-[root@centos8 ~]# ps lx | more+[root@redhat9 ~]# ps lx | more
 F   UID     PID    PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND F   UID     PID    PPID PRI  NI    VSZ   RSS WCHAN  STAT TTY        TIME COMMAND
-4                  20   245540 14252 do_epo Ss   ?          0:01 /usr/lib/systemd/systemd --switched-root --system --deserialize 17 +4                  20   190992 17880 ep_pol Ss   ?          0:13 /usr/lib/systemd/systemd rhgb --switched-root --system --deserialize 31 
-1                  20        0     -      S    ?          0:00 [kthreadd] +1                  20        0     kthrea S    ?          0:00 [kthreadd] 
-1                   0 -20      0     -      I<   ?          0:00 [rcu_gp] +1                   0 -20      0     rescue I<   ?          0:00 [rcu_gp] 
-1                   0 -20      0     -      I<   ?          0:00 [rcu_par_gp] +1                   0 -20      0     rescue I<   ?          0:00 [rcu_par_gp] 
-1                  20   0      0     -         ?          0:00 [kworker/0:0-events+1                   -20          rescue I<   ?          0:00 [slub_flushwq
-1                   0 -20      0     0 -      I<   ?          0:00 [kworker/0:0H-kblockd+1                   0 -20      0     0 rescue I<   ?          0:00 [netns] 
-1                 2  20        0     -      I    ?          0:00 [kworker/0:1-ata_sff+1                   0 -20      0     0 worker I<   ?          0:00 [kworker/0:0H-events_highpri
-1           8       2  20        0     -      I    ?          0:00 [kworker/u8:0-events_unbound+1          10       2   0 -20      0     0 rescue I<   ?          0:00 [mm_percpu_wq] 
-1           9       2   -20          -      I<   ?          0:00 [mm_percpu_wq+1          12       2  20        0     rcu_ta I    ?          0:00 [rcu_tasks_kthre
-1          10       2  20        0     -      S    ?          0:00 [ksoftirqd/0] +1          13       2  20        0     rcu_ta I    ?          0:00 [rcu_tasks_rude_
-1          11       2  20        0     -      I    ?          0:00 [rcu_sched+1          14       2  20   0      0     rcu_ta    ?          0:00 [rcu_tasks_trace
-1          12       2 -100  -      0     -      S    ?          0:00 [migration/0] +1          15       2  20        0     smpboo S    ?          0:00 [ksoftirqd/0] 
-    0      13       2 -100  -      0             ?          0:00 [watchdog/0] +1          16       2  20        0     rcu_gp I    ?          0:01 [rcu_preempt
-1          14       2  20        0     0 -      S    ?          0:00 [cpuhp/0] +1          17       2 -100  -      0     smpboo S    ?          0:00 [migration/0] 
-1          15       2  20        0             ?          0:00 [cpuhp/1] +    0      18       2 -51   -      0     smpboo S    ?          0:00 [idle_inject/0] 
-    0      16       2 -100  -      0     0 -      S    ?          0:00 [watchdog/1] +1          20        20        0     0 smpboo S    ?          0:00 [cpuhp/0] 
-1          17       2 -100  -      0     -      S    ?          0:00 [migration/1] +1          21       2  20        0     smpboo S    ?          0:00 [cpuhp/1] 
-1          18       2  20        0     0 -      S    ?          0:00 [ksoftirqd/1] +1          22       2 -51   -      0     0 smpboo S    ?          0:00 [idle_inject/1] 
-1          19       2  20        0     0 -      I    ?          0:00 [kworker/1:0-memcg_kmem_cache+1          23       2 -100  -      0     0 smpboo S    ?          0:00 [migration/1
-1          20         0 -20      0     0 -      I<   ?          0:00 [kworker/1:0H+1          24       2  20        0     smpboo S    ?          0:00 [ksoftirqd/1] 
-1          21       2  20        0     0 -      S    ?          0:00 [cpuhp/2] +1          27        20        0     0 smpboo S    ?          0:00 [cpuhp/2] 
-    0      22       2 -100  -      0     0 -      S    ?          0:00 [watchdog/2]+    0      28       2 -51        0     0 smpboo S    ?          0:00 [idle_inject/2
 +    0      29       2 -100  -      0     0 smpboo S    ?          0:00 [migration/2] 
 +1          30        20        0     0 smpboo S    ?          0:00 [ksoftirqd/2] 
 +1          32         0 -20      0     0 worker I<   ?          0:00 [kworker/2:0H-events_highpri] 
 +1          33        20        0     0 smpboo S    ?          0:00 [cpuhp/3] 
 +    0      34       2 -51        0     0 smpboo S    ?          0:00 [idle_inject/3
 +1          35       2 -100  -      0     smpboo S    ?          0:00 [migration/3] 
 +    0      36        20        0     0 smpboo S    ?          0:00 [ksoftirqd/3
 +1          38         0 -20      0     0 worker I<   ?          0:00 [kworker/3:0H-events_highpri] 
 +5          42       2  20        0     0 devtmp S    ?          0:00 [kdevtmpfs] 
 +1          43         0 -20      0     0 rescue I<   ?          0:00 [inet_frag_wq] 
 +1          44        20        0     0 kaudit S    ?          0:00 [kauditd] 
 +    0      45        20        0     0 watchd S    ?          0:00 [khungtaskd
 +1          46       2  20        0     0 oom_re S    ?          0:00 [oom_reaper] 
 +1          47         0 -20      0     0 rescue I<   ?          0:00 [writeback] 
 +1          48        20        0     0 kcompa S    ?          0:02 [kcompactd0] 
 +1          49        25        0     0 ksm_sc SN   ?          0:00 [ksmd] 
 +    0      50        39  19      0     0 khugep SN   ?          0:00 [khugepaged] 
 +1          51         0 -20      0     0 rescue I<   ?          0:00 [cryptd
 +1          52         0 -20          0 rescue I<   ?          0:00 [kintegrityd] 
 +1          53       2   0 -20      0     0 rescue I<   ?          0:00 [kblockd] 
 +1          54         0 -20      0     0 rescue I<   ?          0:00 [blkcg_punt_bio] 
 +    0      55         0 -20      0     0 rescue I<   ?          0:00 [tpm_dev_wq
 +1          56       2   0 -20          0 rescue I<   ?          0:00 [md] 
 +1          57         0 -20          0 rescue I<   ?          0:00 [md_bitmap] 
 +1          58         0 -20      0     0 rescue I<   ?          0:00 [edac-poller] 
 +1          59       2 -51        0     0 kthrea S    ?          0:00 [watchdogd] 
 +1          61         0 -20      0     0 worker I<   ?          0:00 [kworker/0:1H-kblockd] 
 +1          62        20        0     0 kswapd S    ?          0:00 [kswapd0
 +    0      69       2   0 -20      0     0 rescue I<   ?          0:00 [kthrotld] 
 +1          76         -20          0 rescue I<   ?          0:00 [acpi_thermal_pm] 
 +1          77         0 -20      0     0 rescue I<   ?          0:00 [kmpath_rdacd] 
 +1          78         0 -20      0     0 rescue I<   ?          0:00 [kaluad]
 --More-- --More--
 +[q]
 </code> </code>
  
Ligne 218: Ligne 257:
  
 <code> <code>
-[root@centos8 ~]# ps aux | more+[root@redhat9 ~]# ps aux | more
 USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND USER         PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
-root            0. 0.3 245540 14252 ?        Ss   09:01   0:01 /usr/lib/systemd/systemd --switched-root --system --deserialize 17 +root            0. 0.2 190992 17880 ?        Ss   Sep25   0:13 /usr/lib/systemd/systemd rhgb --switched-root --system --deserialize 31 
-root            0.0  0.0      0     0 ?        S    09:01   0:00 [kthreadd] +root            0.0  0.0      0     0 ?        S    Sep25   0:00 [kthreadd] 
-root            0.0  0.0      0     0 ?        I<   09:01   0:00 [rcu_gp] +root            0.0  0.0      0     0 ?        I<   Sep25   0:00 [rcu_gp] 
-root            0.0  0.0      0     0 ?        I<   09:01   0:00 [rcu_par_gp] +root            0.0  0.0      0     0 ?        I<   Sep25   0:00 [rcu_par_gp] 
-root            0.0  0.0      0     0 ?        I    09:01   0:00 [kworker/0:0-events+root            0.0  0.0      0     0 ?        I<   Sep25   0:00 [slub_flushwq
-root            0.0  0.0      0     0 ?        I<   09:01   0:00 [kworker/0:0H-kblockd+root            0.0  0.0      0     0 ?        I<   Sep25   0:00 [netns] 
-root           7  0. 0.0      0     0 ?        I    09:01   0:00 [kworker/0:1-ata_sff+root            0.0  0.0      0     0 ?        I<   Sep25   0:00 [kworker/0:0H-events_highpri
-root           8  0.0  0.0      0     0 ?        I    09:01   0:00 [kworker/u8:0-events_unbound+root          10  0. 0.0      0     0 ?        I<   Sep25   0:00 [mm_percpu_wq] 
-root           9  0.0  0.0      0     0 ?        I  09:01   0:00 [mm_percpu_wq+root          12  0.0  0.0      0     0 ?        I    Sep25   0:00 [rcu_tasks_kthre] 
-root          10  0.0  0.0      0     0 ?        S    09:01   0:00 [ksoftirqd/0] +root          13  0.0  0.0      0     0 ?        I    Sep25   0:00 [rcu_tasks_rude_
-root          11  0.0  0.0      0     0 ?           09:01   0:00 [rcu_sched+root          14  0.0  0.0      0     0 ?        I    Sep25   0:00 [rcu_tasks_trace] 
-root          12  0.0  0.0      0     0 ?        S    09:01   0:00 [migration/0+root          15  0.0  0.0      0     0 ?        S    Sep25   0:00 [ksoftirqd/0] 
-root          13  0.0  0.0      0     0 ?        S    09:01   0:00 [watchdog/0] +root          16  0.0  0.0      0     0 ?        I    Sep25   0:01 [rcu_preempt] 
-root          14  0.0  0.0      0     0 ?        S    09:01   0:00 [cpuhp/0] +root          17  0.0  0.0      0     0 ?        S    Sep25   0:00 [migration/0
-root          15  0.0  0.0      0     0 ?        S    09:01   0:00 [cpuhp/1+root          18  0.0  0.0      0     0 ?        S    Sep25   0:00 [idle_inject/0] 
-root          16  0.0  0.0      0     0 ?        S    09:01   0:00 [watchdog/1+root          20  0.0  0.0      0     0 ?           Sep25   0:00 [cpuhp/0] 
-root          17  0.0  0.0      0     0 ?        S    09:01   0:00 [migration/1+root          21  0.0  0.0      0     0 ?        S    Sep25   0:00 [cpuhp/1
-root          18  0.0  0.0      0     0 ?        S    09:01   0:00 [ksoftirqd/1+root          22  0.0  0.0      0     0 ?        S    Sep25   0:00 [idle_inject/1] 
-root          19  0.0  0.0      0     0 ?        I    09:01   0:00 [kworker/1:0-memcg_kmem_cache+root          23  0.0  0.0      0     0 ?        S    Sep25   0:00 [migration/1
-root          20  0.0  0.0      0     0 ?        I<   09:01   0:00 [kworker/1:0H+root          24  0.0  0.0      0     0 ?        S    Sep25   0:00 [ksoftirqd/1] 
-root          21  0.0  0.0      0     0 ?        S    09:01   0:00 [cpuhp/2+root          27  0.0  0.0      0     0 ?        S    Sep25   0:00 [cpuhp/2] 
-root          22  0.0  0.0      0     0 ?        S    09:01   0:00 [watchdog/2]+root          28  0.0  0.0      0     0 ?        S    Sep25   0:00 [idle_inject/2
 +root          29  0.0  0.0      0     0 ?        S    Sep25   0:00 [migration/2] 
 +root          30  0.0  0.0      0     0 ?        S    Sep25   0:00 [ksoftirqd/2] 
 +root          32  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kworker/2:0H-events_highpri
 +root          33  0.0  0.0      0     0 ?        S    Sep25   0:00 [cpuhp/3
 +root          34  0.0  0.0      0     0 ?        S    Sep25   0:00 [idle_inject/3
 +root          35  0.0  0.0      0     0 ?        S    Sep25   0:00 [migration/3
 +root          36  0.0  0.0      0     0 ?        S    Sep25   0:00 [ksoftirqd/3
 +root          38  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kworker/3:0H-events_highpri
 +root          42  0.0  0.0      0     0 ?        S    Sep25   0:00 [kdevtmpfs] 
 +root          43  0.0  0.0      0     0 ?        I<   Sep25   0:00 [inet_frag_wq] 
 +root          44  0.0  0.0      0     0 ?        S    Sep25   0:00 [kauditd] 
 +root          45  0.0  0.0      0     0 ?        S    Sep25   0:00 [khungtaskd
 +root          46  0.0  0.0      0     0 ?        S    Sep25   0:00 [oom_reaper] 
 +root          47  0.0  0.0      0     0 ?        I<   Sep25   0:00 [writeback
 +root          48  0.0  0.0      0     0 ?        S    Sep25   0:02 [kcompactd0] 
 +root          49  0.0  0.0      0     0 ?        SN   Sep25   0:00 [ksmd] 
 +root          50  0.0  0.0      0     0 ?        SN   Sep25   0:00 [khugepaged] 
 +root          51  0.0  0.0      0     0 ?        I<   Sep25   0:00 [cryptd] 
 +root          52  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kintegrityd] 
 +root          53  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kblockd] 
 +root          54  0.0  0.0      0     0 ?        I<   Sep25   0:00 [blkcg_punt_bio] 
 +root          55  0.0  0.0      0     0 ?        I<   Sep25   0:00 [tpm_dev_wq] 
 +root          56  0.0  0.0      0     0 ?        I<   Sep25   0:00 [md] 
 +root          57  0.0  0.0      0     0 ?        I<   Sep25   0:00 [md_bitmap] 
 +root          58  0.0  0.0      0     0 ?        I<   Sep25   0:00 [edac-poller] 
 +root          59  0.0  0.0      0     0 ?        S    Sep25   0:00 [watchdogd] 
 +root          61  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kworker/0:1H-kblockd] 
 +root          62  0.0  0.0      0     0 ?        S    Sep25   0:00 [kswapd0] 
 +root          69  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kthrotld] 
 +root          76  0.0  0.0      0     0 ?        I<   Sep25   0:00 [acpi_thermal_pm] 
 +root          77  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kmpath_rdacd] 
 +root          78  0.0  0.0      0     0 ?        I<   Sep25   0:00 [kaluad]
 --More-- --More--
 +[q]
 </code> </code>
  
Ligne 254: Ligne 326:
  
 <code> <code>
-[root@centos8 ~]# ps --help all+[root@redhat9 ~]# ps --help all
  
 Usage: Usage:
Ligne 344: Ligne 416:
  
 <code> <code>
-[root@centos8 ~]# pgrep -u root sshd +[root@redhat9 ~]# pgrep -u root sshd 
-905 +5734 
-1585+9357
 </code> </code>
  
Ligne 352: Ligne 424:
  
 <code> <code>
-[root@centos8 ~]# pgrep -u root,trainee | more+[root@redhat9 ~]# pgrep -u root,trainee | more
 1 1
 2 2
 3 3
 4 4
 +5
 6 6
-+8
-9+
 10 10
-11 
 12 12
 13 13
Ligne 374: Ligne 445:
 23 23
 24 24
-26 
 27 27
 +28
 +29
 +30
 +32
 +33
 +34
 +35
 +36
 +38
 +42
 +43
 +44
 +45
 +46
 +47
 +48
 +49
 +50
 +51
 +52
 +53
 +54
 +55
 +56
 +57
 +58
 +59
 +61
 +62
 +69
 +76
 +77
 +78
 +79
 --More-- --More--
 +[q]
 </code> </code>
  
Ligne 382: Ligne 487:
  
 <code> <code>
-[root@centos8 ~]# pgrep --help+[root@redhat9 ~]# pgrep --help
  
 Usage: Usage:
Ligne 400: Ligne 505:
  -n, --newest              select most recently started  -n, --newest              select most recently started
  -o, --oldest              select least recently started  -o, --oldest              select least recently started
 + -O, --older <seconds>     select where older than seconds
  -P, --parent <PPID,...>   match only child processes of the given parent  -P, --parent <PPID,...>   match only child processes of the given parent
  -s, --session <SID,...>   match session IDs  -s, --session <SID,...>   match session IDs
Ligne 408: Ligne 514:
  -F, --pidfile <file>      read PIDs from file  -F, --pidfile <file>      read PIDs from file
  -L, --logpidfile          fail if PID file is not locked  -L, --logpidfile          fail if PID file is not locked
 + -r, --runstates <state>   match runstates [D,S,Z,...]
  --ns <PID>                match the processes that belong to the same  --ns <PID>                match the processes that belong to the same
                            namespace as <pid>                            namespace as <pid>
Ligne 417: Ligne 524:
  -V, --version  output version information and exit  -V, --version  output version information and exit
  
-For more details see pgrep(1)+For more details see pgrep(1).
 </code> </code>
  
Ligne 425: Ligne 532:
  
 <code> <code>
-[root@centos8 ~]# pstree +[root@redhat9 ~]# pstree 
-systemd─┬─NetworkManager───2*[{NetworkManager}] +systemd─┬─ModemManager───3*[{ModemManager}] 
-        ├─agetty+        ├─NetworkManager───2*[{NetworkManager}] 
 +        ├─accounts-daemon───3*[{accounts-daemon}] 
 +        ├─at-spi-bus-laun─┬─dbus-daemon 
 +        │                 └─3*[{at-spi-bus-laun}] 
 +        ├─at-spi2-registr───2*[{at-spi2-registr}]
         ├─atd         ├─atd
         ├─auditd─┬─sedispatch         ├─auditd─┬─sedispatch
         │        └─2*[{auditd}]         │        └─2*[{auditd}]
-        ├─chronyd+        ├─avahi-daemon───avahi-daemon 
 +        ├─colord───3*[{colord}]
         ├─crond         ├─crond
-        ├─dbus-daemon───{dbus-daemon} +        ├─cupsd 
-        ├─dnsmasq───dnsmasq+        ├─dbus-broker-lau───dbus-broker
         ├─firewalld───{firewalld}         ├─firewalld───{firewalld}
-        ├─gssproxy───5*[{gssproxy}]+        ├─gdm─┬─gdm-session-wor─┬─gdm-wayland-ses─┬─dbus-run-sessio─┬─dbus-daemon 
 +        │     │                 │                 │                 └─gnome-session-b─┬─gnome-shell─┬─Xwayland 
 +        │     │                 │                 │                                   │             ├─ibus-daemon─┬─ibus-dconf───3*[{ibus-dconf}] 
 +        │     │                 │                 │                                   │             │             ├─ibus-engine-sim───2*[{ibus-engine-sim}] 
 +        │     │                 │                 │                                   │             │             └─2*[{ibus-daemon}] 
 +        │     │                 │                 │                                   │             └─17*[{gnome-shell}] 
 +        │     │                 │                 │                                   ├─gsd-a11y-settin───3*[{gsd-a11y-settin}] 
 +        │     │                 │                 │                                   ├─gsd-color───3*[{gsd-color}] 
 +        │     │                 │                 │                                   ├─gsd-datetime───3*[{gsd-datetime}] 
 +        │     │                 │                 │                                   ├─gsd-housekeepin───3*[{gsd-housekeepin}] 
 +        │     │                 │                 │                                   ├─gsd-keyboard───3*[{gsd-keyboard}] 
 +        │     │                 │                 │                                   ├─gsd-media-keys───3*[{gsd-media-keys}] 
 +        │     │                 │                 │                                   ├─gsd-power───3*[{gsd-power}] 
 +        │     │                 │                 │                                   ├─gsd-print-notif───2*[{gsd-print-notif}] 
 +        │     │                 │                 │                                   ├─gsd-rfkill───2*[{gsd-rfkill}] 
 +        │     │                 │                 │                                   ├─gsd-screensaver───2*[{gsd-screensaver}] 
 +        │     │                 │                 │                                   ├─gsd-sharing───3*[{gsd-sharing}] 
 +        │     │                 │                 │                                   ├─gsd-smartcard───5*[{gsd-smartcard}] 
 +        │     │                 │                 │                                   ├─gsd-sound───3*[{gsd-sound}] 
 +        │     │                 │                 │                                   ├─gsd-wacom───3*[{gsd-wacom}] 
 +        │     │                 │                 │                                   └─3*[{gnome-session-b}] 
 +        │     │                 │                 └─2*[{gdm-wayland-ses}] 
 +        │     │                 └─2*[{gdm-session-wor}] 
 +        │     └─2*[{gdm}] 
 +        ├─2*[gjs───6*[{gjs}]] 
 +        ├─gsd-printer───2*[{gsd-printer}] 
 +        ├─3*[httpd─┬─httpd] 
 +        │          ├─httpd───68*[{httpd}]] 
 +        │          └─2*[httpd───52*[{httpd}]]] 
 +        ├─ibus-portal───2*[{ibus-portal}] 
 +        ├─ibus-x11───2*[{ibus-x11}]
         ├─irqbalance───{irqbalance}         ├─irqbalance───{irqbalance}
-        ├─ksmtuned───sleep 
         ├─lsmd         ├─lsmd
         ├─mcelog         ├─mcelog
         ├─polkitd───7*[{polkitd}]         ├─polkitd───7*[{polkitd}]
-        ├─rngd───4*[{rngd}] +        ├─power-profiles-───2*[{power-profiles-}] 
-        ├─rpcbind+        ├─rhsmcertd───{rhsmcertd}
         ├─rsyslogd───2*[{rsyslogd}]         ├─rsyslogd───2*[{rsyslogd}]
-        ├─smartd+        ├─rtkit-daemon───2*[{rtkit-daemon}]
         ├─sshd───sshd───sshd───bash───su───bash───pstree         ├─sshd───sshd───sshd───bash───su───bash───pstree
-        ├─sssd─┬─sssd_be +        ├─switcheroo-cont───2*[{switcheroo-cont}] 
-        │      └─sssd_nss+        ├─systemd─┬─(sd-pam) 
 +        │         ├─dbus-broker-lau───dbus-broker 
 +        │         ├─pipewire───2*[{pipewire}] 
 +        │         ├─pipewire-pulse───2*[{pipewire-pulse}] 
 +        │         └─wireplumber───4*[{wireplumber}]
         ├─systemd───(sd-pam)         ├─systemd───(sd-pam)
         ├─systemd-journal         ├─systemd-journal
         ├─systemd-logind         ├─systemd-logind
-        ├─systemd-machine 
         ├─systemd-udevd         ├─systemd-udevd
-        └─tuned───3*[{tuned}]+        ├─udisksd───4*[{udisksd}] 
 +        ├─upowerd───2*[{upowerd}] 
 +        ├─wpa_supplicant 
 +        └─xdg-permission-───2*[{xdg-permission-}]
 </code> </code>
  
Ligne 460: Ligne 607:
  
 <code> <code>
-[root@centos8 ~]# pstree --help+[root@redhat9 ~]# pstree --help
 pstree: unrecognized option '--help' pstree: unrecognized option '--help'
-Usage: pstree [-acglpsStuZ] [ -h | -H PID ] [ -n | -N type ]+Usage: pstree [-acglpsStTuZ] [ -h | -H PID ] [ -n | -N type ]
               [ -A | -G | -U ] [ PID | USER ]               [ -A | -G | -U ] [ PID | USER ]
-       pstree -V+   or: pstree -V 
 Display a tree of processes. Display a tree of processes.
  
   -a, --arguments     show command line arguments   -a, --arguments     show command line arguments
   -A, --ascii         use ASCII line drawing characters   -A, --ascii         use ASCII line drawing characters
-  -c, --compact       don't compact identical subtrees +  -c, --compact-not   don't compact identical subtrees 
-  -h, --highlight-all highlight current process and its ancestors +  -C, --color=TYPE    color process by attribute 
-  -H PID, +                      (age)
-  --highlight-pid=PID highlight this process and its ancestors+
   -g, --show-pgids    show process group ids; implies -c   -g, --show-pgids    show process group ids; implies -c
   -G, --vt100         use VT100 line drawing characters   -G, --vt100         use VT100 line drawing characters
 +  -h, --highlight-all highlight current process and its ancestors
 +  -H PID, --highlight-pid=PID
 +                      highlight this process and its ancestors
   -l, --long          don't truncate long lines   -l, --long          don't truncate long lines
   -n, --numeric-sort  sort output by PID   -n, --numeric-sort  sort output by PID
-  -N type, +  -N TYPE, --ns-sort=TYPE 
-  --ns-sort=type      sort by namespace type (cgroup, ipc, mnt, net, pid, +                      sort output by this namespace type 
-                                              user, uts)+                              (cgroup, ipc, mnt, net, pid, time, user, uts)
   -p, --show-pids     show PIDs; implies -c   -p, --show-pids     show PIDs; implies -c
   -s, --show-parents  show parents of the selected process   -s, --show-parents  show parents of the selected process
Ligne 489: Ligne 639:
   -V, --version       display version information   -V, --version       display version information
   -Z, --security-context   -Z, --security-context
-                      show SELinux security contexts+                      show security attributes 
   PID    start at this PID; default is 1 (init)   PID    start at this PID; default is 1 (init)
   USER   show only trees rooted at processes of this user   USER   show only trees rooted at processes of this user
Ligne 499: Ligne 650:
  
 <code> <code>
-[root@centos8 ~]# top+[root@redhat9 ~]# top
  
-top - 09:10:02 up 8 min,  1 user,  load average: 0.05, 0.09, 0.08 +top - 14:41:00 up 2 days,  1:56,  1 user,  load average: 0.01, 0.01, 0.00 
-Tasks: 144 total,   1 running, 143 sleeping,   0 stopped,   0 zombie +Tasks: 199 total,   1 running, 198 sleeping,   0 stopped,   0 zombie 
-%Cpu(s):  0.1 us,  0.sy,  0.0 ni, 99.id,  0.0 wa,  0.hi,  0.si,  0.0 st +%Cpu(s):  0.1 us,  0.sy,  0.0 ni, 99.id,  0.0 wa,  0.hi,  0.si,  0.0 st 
-MiB Mem :   3737.total,   3249.free,    231.4 used,    257.buff/cache +MiB Mem :   7685.total,   4518.free,   1105.4 used,   2375.buff/cache 
-MiB Swap:   2000.0 total,   2000.0 free,      0.0 used.   3280.avail Mem +MiB Swap:   5120.0 total,   5120.0 free,      0.0 used.   6579.avail Mem 
  
-    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                 +    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                     
-      root      20   0  245540  14260   9308 S   0.  0.  0:01.64 systemd                                                                                                                                                                 +  10744 root      20   0  226032   4096   3328 R   0.  0.  0:00.04 top                                                                                                                                         
-    827 polkitd   20   1764748  25376  17348 S   0.  0.  0:00.12 polkitd                                                                                                                                                                 +      1 root      20   0  190992  17880  10644 S   0.  0.  0:13.87 systemd                                                                                                                                     
-    834 dbus      20     64684   5476   4480 S   0.  0.  0:00.20 dbus-daemon                                                                                                                                                             +      2 root      20         0      0      0 S   0.  0.  0:00.05 kthreadd                                                                                                                                    
-   1789 root      20     65420   4464   3764 R   0.  0.  0:00.03 top                                                                                                                                                                     +      3 root       0 -20                 0 I   0.  0.  0:00.00 rcu_gp                                                                                                                                      
-      root      20   0            0      0   0.0   0.0   0:00.00 kthreadd                                                                                                                                                                +      root       -20       0      0      0   0.0   0.0   0:00.00 rcu_par_gp                                                                                                                                  
-      root       0 -20            0      0 I   0.0   0.0   0:00.00 rcu_gp                                                                                                                                                                  +      root       0 -20            0      0 I   0.0   0.0   0:00.00 slub_flushwq                                                                                                                                
-      root       0 -20            0      0 I   0.0   0.0   0:00.00 rcu_par_gp                                                                                                                                                              +      root       0 -20            0      0 I   0.0   0.0   0:00.00 netns                                                                                                                                       
-      root       0 -20            0      0 I   0.0   0.0   0:00.00 kworker/0:0H-kblockd                                                                                                                                                    +      root       0 -20            0      0 I   0.0   0.0   0:00.00 kworker/0:0H-events_highpri                                                                                                                 
-      root      20   0       0      0      0 I   0.0   0.0   0:00.47 kworker/0:1-mm_percpu_wq                                                                                                                                                +     10 root       0 -20            0      0 I   0.0   0.0   0:00.00 mm_percpu_wq                                                                                                                                
-      9 root       -20       0      0      0 I   0.0   0.0   0:00.00 mm_percpu_wq                                                                                                                                                            +     12 root      20   0            0      0 I   0.0   0.0   0:00.00 rcu_tasks_kthre                                                                                                                             
-     10 root      20              0      0   0.0   0.0   0:00.00 ksoftirqd/                                                                                                                                                            +     13 root      20              0      0   0.0   0.0   0:00.00 rcu_tasks_rude_                                                                                                                             
-     11 root      20              0      0 I   0.0   0.0   0:00.09 rcu_sched                                                                                                                                                               +     14 root      20              0      0 I   0.0   0.0   0:00.00 rcu_tasks_trace                                                                                                                             
-     12 root      rt   0            0      0 S   0.0   0.0   0:00.00 migration/0                                                                                                                                                             +     15 root      20   0            0      0 S   0.0   0.0   0:00.05 ksoftirqd/0                                                                                                                                 
-     13 root      rt              0      0 S   0.0   0.0   0:00.00 watchdog/0                                                                                                                                                              +     16 root      20              0      0 I   0.0   0.0   0:01.27 rcu_preempt                                                                                                                                 
-     14 root      20   0            0      0 S   0.0   0.0   0:00.00 cpuhp/0                                                                                                                                                                 +     17 root      rt              0      0 S   0.0   0.0   0:00.31 migration/0                                                                                                                                 
-     15 root      20              0      0 S   0.0   0.0   0:00.00 cpuhp/1                                                                                                                                                                 +     18 root     -51   0            0      0 S   0.0   0.0   0:00.00 idle_inject/0                                                                                                                               
-     16 root      rt   0            0      0 S   0.0   0.0   0:00.00 watchdog/1                                                                                                                                                              +     20 root      20              0      0 S   0.0   0.0   0:00.00 cpuhp/0                                                                                                                                     
-     17 root      rt   0            0      0 S   0.0   0.0   0:00.00 migration/1                                                                                                                                                             +     21 root      20   0            0      0 S   0.0   0.0   0:00.00 cpuhp/1                                                                                                                                     
-     18 root      20   0            0      0 S   0.0   0.0   0:00.00 ksoftirqd/1                                                                                                                                                             +     22 root     -51   0            0      0 S   0.0   0.0   0:00.00 idle_inject/1                                                                                                                               
-     20 root       -20       0      0      0   0.0   0.0   0:00.00 kworker/1:0H                                                                                                                                                            +     23 root      rt   0            0      0 S   0.0   0.0   0:00.44 migration/1                                                                                                                                 
-     21 root      20              0      0 S   0.0   0.0   0:00.00 cpuhp/                                                                                                                                                                +     24 root      20   0            0      0   0.0   0.0   0:00.02 ksoftirqd/1                                                                                                                                 
-     22 root      rt   0            0      0 S   0.0   0.0   0:00.00 watchdog/2                                                                                                                                                              +     27 root      20              0      0 S   0.0   0.0   0:00.00 cpuhp/                                                                                                                                    
-     23 root      rt              0      0 S   0.0   0.0   0:00.00 migration/                                                                                                                                                            +     28 root     -51   0            0      0 S   0.0   0.0   0:00.00 idle_inject/2                                                                                                                               
-     24 root      20              0      0 S   0.0   0.0   0:00.00 ksoftirqd/                                                                                                                                                            +     29 root      rt              0      0 S   0.0   0.0   0:00.46 migration/                                                                                                                                
-     26 root       0 -20            0      0 I   0.0   0.0   0:00.00 kworker/2:0H-kblockd                                                                                                                                                    +     30 root      20              0      0 S   0.0   0.0   0:00.01 ksoftirqd/                                                                                                                                
-     27 root      20              0      0 S   0.0   0.0   0:00.00 cpuhp/                                                                                                                                                                +     32 root       0 -20            0      0 I   0.0   0.0   0:00.00 kworker/2:0H-events_highpri                                                                                                                 
-     28 root      rt   0            0      0 S   0.0   0.0   0:00.00 watchdog/3                                                                                                                                                              +     33 root      20              0      0 S   0.0   0.0   0:00.00 cpuhp/                                                                                                                                    
-     29 root      rt              0      0 S   0.0   0.0   0:00.00 migration/                                                                                                                                                            +     34 root     -51   0            0      0 S   0.0   0.0   0:00.00 idle_inject/3                                                                                                                               
-     30 root      20              0      0 S   0.0   0.0   0:00.00 ksoftirqd/                                                                                                                                                            +     35 root      rt              0      0 S   0.0   0.0   0:00.47 migration/                                                                                                                                
-     32 root       0 -20            0      0 I   0.0   0.0   0:00.00 kworker/3:0H-kblockd                                                                                                                                                    +     36 root      20              0      0 S   0.0   0.0   0:00.02 ksoftirqd/                                                                                                                                
-     35 root      20              0      0 S   0.0   0.0   0:00.00 kdevtmpfs                                                                                                                                                               +     38 root       0 -20            0      0 I   0.0   0.0   0:00.00 kworker/3:0H-events_highpri                                                                                                                 
-     36 root       0 -20            0      0 I   0.0   0.0   0:00.00 netns                                                                                                                                                                   +     42 root      20              0      0 S   0.0   0.0   0:00.00 kdevtmpfs                                                                                                                                   
-     37 root      20              0      0 S   0.0   0.0   0:00.00 kauditd                                                                                                                                                                 +     43 root       0 -20            0      0 I   0.0   0.0   0:00.00 inet_frag_wq                                                                                                                                
-     38 root      20              0      0 S   0.0   0.0   0:00.00 khungtaskd                                                                                                                                                              +     44 root      20              0      0 S   0.0   0.0   0:00.01 kauditd                                                                                                                                     
-     39 root      20              0      0 S   0.0   0.0   0:00.00 oom_reaper                                                                                                                                                              +     45 root      20              0      0 S   0.0   0.0   0:00.13 khungtaskd                                                                                                                                  
-     40 root       0 -20            0      0 I   0.0   0.0   0:00.00 writeback                                                                                                                                                               +     46 root      20              0      0 S   0.0   0.0   0:00.00 oom_reaper                                                                                                                                  
-     41 root      20              0      0 S   0.0   0.0   0:00.00 kcompactd0                                                                                                                                                              +     47 root       0 -20            0      0 I   0.0   0.0   0:00.00 writeback                                                                                                                                   
-     42 root      25              0      0 S   0.0   0.0   0:00.00 ksmd                                                                                                                                                                    +     48 root      20              0      0 S   0.0   0.0   0:02.29 kcompactd0                                                                                                                                  
-     43 root      39  19            0      0 S   0.0   0.0   0:00.00 khugepaged                                                                                                                                                              +     49 root      25              0      0 S   0.0   0.0   0:00.00 ksmd                                                                                                                                        
-     44 root       0 -20            0      0 I   0.0   0.0   0:00.00 crypto                                                                                                                                                                  +     50 root      39  19            0      0 S   0.0   0.0   0:00.93 khugepaged                                                                                                                                  
-     45 root       0 -20            0      0 I   0.0   0.0   0:00.00 kintegrityd                                                                                                                                                             +     51 root       0 -20            0      0 I   0.0   0.0   0:00.00 cryptd                                                                                                                                      
-     46 root       0 -20            0      0 I   0.0   0.0   0:00.00 kblockd                                                                                                                                                                 +     52 root       0 -20            0      0 I   0.0   0.0   0:00.00 kintegrityd                                                                                                                                 
-     47 root       0 -20            0      0 I   0.0   0.0   0:00.00 blkcg_punt_bio                                                                                                                                                          +     53 root       0 -20            0      0 I   0.0   0.0   0:00.00 kblockd                                                                                                                                     
-     48 root       0 -20            0      0 I   0.0   0.0   0:00.00 tpm_dev_wq                                                                                                                                                              +     54 root       0 -20            0      0 I   0.0   0.0   0:00.00 blkcg_punt_bio                                                                                                                              
-     49 root       0 -20            0      0 I   0.0   0.0   0:00.00 md                                                                                                                                                                      +     55 root       0 -20            0      0 I   0.0   0.0   0:00.00 tpm_dev_wq                                                                                                                                  
-     50 root       0 -20            0      0 I   0.0   0.0   0:00.00 edac-poller                                                                                                                                                             +     56 root       0 -20            0      0 I   0.0   0.0   0:00.00 md                                                                                                                                          
-     51 root      rt              0      0 S   0.0   0.0   0:00.00 watchdogd                                                                                                                                                               +     57 root       0 -20            0      0 I   0.0   0.0   0:00.00 md_bitmap                                                                                                                                   
-     53 root       0 -20            0      0 I   0.0   0.0   0:00.00 pm_wq                                                                                                                                                                   +     58 root       0 -20            0      0 I   0.0   0.0   0:00.00 edac-poller                                                                                                                                 
-     69 root      20   0            0      0 S   0.0   0.0   0:00.00 kswapd0                                                                                                                                                                 +     59 root     -51   0            0      0 S   0.0   0.0   0:00.00 wat                                   
-    162 root       0 -20            0      0 I   0.0   0.0   0:00.00 kthrotld                                                                                                                                                                +
-    163 root       0 -20            0      0 I   0.0   0.0   0:00.00 acpi_thermal_pm                                     +
 ...                                                                          ...                                                                         
 </code> </code>
Ligne 565: Ligne 714:
  
 <code> <code>
-Help for Interactive Commands - procps-ng 3.3.15+Help for Interactive Commands - procps-ng 3.3.17
 Window 1:Def: Cumulative mode Off.  System: Delay 3.0 secs; Secure mode Off. Window 1:Def: Cumulative mode Off.  System: Delay 3.0 secs; Secure mode Off.
  
   Z,B,E,  Global: 'Z' colors; 'B' bold; 'E'/'e' summary/task memory scale   Z,B,E,  Global: 'Z' colors; 'B' bold; 'E'/'e' summary/task memory scale
-  l,t,m     Toggle Summary: 'l' load avg; 't' task/cpu stats; 'm' memory info +  l,t,m,I   Toggle: 'l' load avg; 't' task/cpu; 'm' memory; 'I' Irix mode 
-  0,1,2,3,Toggle: '0' zeros; '1/2/3' cpus or numa node views; 'IIrix mode+  0,1,2,3,Toggle: '0' zeros; '1/2/3' cpu/numa views; '4cpus two abreast
   f,F,X     Fields: 'f'/'F' add/remove/order/sort; 'X' increase fixed-width   f,F,X     Fields: 'f'/'F' add/remove/order/sort; 'X' increase fixed-width
  
   L,&,<,> . Locate: 'L'/'&' find/again; Move sort column: '<'/'>' left/right   L,&,<,> . Locate: 'L'/'&' find/again; Move sort column: '<'/'>' left/right
-  R,H,V,J . Toggle: 'R' Sort; 'H' Threads; 'V' Forest view; 'J' Num justify+  R,H,J,C . Toggle: 'R' Sort; 'H' Threads; 'J' Num justify; 'C' Coordinates
   c,i,S,j . Toggle: 'c' Cmd name/line; 'i' Idle; 'S' Time; 'j' Str justify   c,i,S,j . Toggle: 'c' Cmd name/line; 'i' Idle; 'S' Time; 'j' Str justify
   x,y     . Toggle highlights: 'x' sort field; 'y' running tasks   x,y     . Toggle highlights: 'x' sort field; 'y' running tasks
Ligne 580: Ligne 729:
   u,U,o,O . Filter by: 'u'/'U' effective/any user; 'o'/'O' other criteria   u,U,o,O . Filter by: 'u'/'U' effective/any user; 'o'/'O' other criteria
   n,#,^O  . Set: 'n'/'#' max tasks displayed; Show: Ctrl+'O' other filter(s)   n,#,^O  . Set: 'n'/'#' max tasks displayed; Show: Ctrl+'O' other filter(s)
-  C,...   . Toggle scroll coordinates msg forup,down,left,right,home,end+  V,v     . Toggle: 'V' forest view; 'v' hide/show forest view children
  
   k,r       Manipulate tasks: 'k' kill; 'r' renice   k,r       Manipulate tasks: 'k' kill; 'r' renice
   d or s    Set update interval   d or s    Set update interval
-  W,Y       Write configuration file 'W'; Inspect other output 'Y'+  W,Y,!     Write config file 'W'; Inspect other output 'Y'; Combine Cpus '!'
   q         Quit   q         Quit
           ( commands shown with '.' require a visible task display window )            ( commands shown with '.' require a visible task display window ) 
Ligne 598: Ligne 747:
  
 <code> <code>
-[root@centos8 ~]# top +top - 14:42:15 up 2 days,  1:57,  1 user,  load average: 0.00, 0.00, 0.00 
-... +Tasks: 199 total,   1 running, 198 sleeping,   0 stopped,   0 zombie 
-top - 09:11:24 up 10 min,  1 user,  load average: 0.01, 0.07, 0.07 +%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.id,  0.0 wa,  0.hi,  0.0 si,  0.0 st 
-Tasks: 144 total,   1 running, 143 sleeping,   0 stopped,   0 zombie +MiB Mem :   7685.total,   4518.free,   1105.used,   2375.buff/cache 
-%Cpu(s):  0.0 us,  0.1 sy,  0.0 ni, 99.id,  0.0 wa,  0.hi,  0.0 si,  0.0 st +MiB Swap:   5120.0 total,   5120.0 free,      0.0 used.   6579.avail Mem 
-MiB Mem :   3737.total,   3248.free,    231.used,    257.buff/cache +
-MiB Swap:   2000.0 total,   2000.0 free,      0.0 used.   3279.avail Mem +
 Change delay from 3.0 to 1 Change delay from 3.0 to 1
 ... ...
Ligne 612: Ligne 759:
  
 <code> <code>
-[root@centos8 ~]# top +[root@redhat9 ~]# top 
-... +top - 14:43:12 up 2 days,  1:58,  1 user,  load average: 0.00, 0.00, 0.00 
-top - 09:12:07 up 10 min,  1 user,  load average: 0.00, 0.05, 0.06 +Tasks: 199 total,   1 running, 198 sleeping,   0 stopped,   0 zombie 
-Tasks: 146 total,   1 running, 145 sleeping,   0 stopped,   0 zombie +%Cpu(s):  0.us,  0.sy,  0.ni,100.id,  0.wa,  0.hi,  0.si,  0.0 st 
-%Cpu(s):  0.us,  0.sy,  0.ni, 97.id,  0.wa,  0.hi,  0.si,  0.0 st +MiB Mem :   7685.total,   4518.free,   1105.used,   2375.buff/cache 
-MiB Mem :   3737.total,   3192.free,    233.used,    311.buff/cache +MiB Swap:   5120.0 total,   5120.0 free,      0.0 used.   6579.avail Mem 
-MiB Swap:   2000.0 total,   2000.0 free,      0.0 used.   3277.avail Mem +
  
-    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                 +    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                     
-    874 root      20   0  290088  40696  17960 S   0.0   1.  0:00.54 firewalld                                                                                                                                                               +   6049 gdm       20   0 4453852 242772 120572 S   0.0   3.1   0:23.39 gnome-shell                                                                                                                                 
-    875 root      20   0  224868  40472  38904 S   0.0   1.  0:00.08 sssd_nss                                                                                                                                                                +   6617 gdm       20   0  578604  54332  46592 S   0.0   0.  0:00.05 ibus-x11                                                                                                                                    
-    902 root      20   0  426324  33684  16668 S   0.0   0.  0:00.25 tuned                                                                                                                                                                   +   6206 gdm       20   0  166808  45312  38144 S   0.0   0.  0:00.05 Xwayland                                                                                                                                    
-    827 polkitd   20   1764748  25376  17348 S   0.0   0.  0:00.12 polkitd                                                                                                                                                                 +   5707 root      20   0  350204  44404  18884 S   0.0   0.  0:00.38 firewalld                                                                                                                                   
-    884 root      20   0  391768  18828  16220 S   0.  0.  0:00.11 NetworkManager                                                                                                                                                          +   6444 gdm       20    678348  33608  21888 S   0.0   0.4   0:00.44 gsd-color                                                                                                                                   
-    866 root      20   0  221424  15016  12284 S   0.0   0.4   0:00.09 sssd_be                                                                                                                                                                 +   5675 polkitd   20   2713852  31804  19792 S   0.0   0.  0:00.54 polkitd                                                                                                                                     
-    840 root      20   0  214800  14292  12260 S   0.0   0.4   0:00.03 sssd                                                                                                                                                                    +   6462 gdm       20   0  661452  29948  22276 S   0.  0.  0:00.13 gsd-media-keys                                                                                                                              
-      1 root      20   0  245540  14260   9308 S   0.  0.4   0:01.66 systemd                                                                                                                                                                 +   6674 gdm       20   2866068  28596  21120 S   0.0   0.4   0:00.06 gjs                                                                                                                                         
-   1627 root      20   0  195868  11896  10336 S   0.0   0.3   0:00.02 su                                                                                                                                                                      +   6486 gdm       20   0  665628  28568  20996 S   0.0   0.4   0:00.12 gsd-power                                                                                                                                   
-    666 root      20   0  110416  11336   8292 S   0.0   0.3   0:00.30 systemd-udevd                                                                                                                                                           +   6432 gdm       20   2931604  27964  20864 S   0.  0.4   0:00.06 gjs                                                                                                                                         
-   1585 root      20   0  163700  10636   9340 S   0.0   0.3   0:00.01 sshd                                                                                                                                                                    +   6439 gdm       20   0  590924  27396  19716 S   0.0   0.3   0:00.12 gsd-wacom                                                                                                                                   
-   1590 trainee   20   0   94128   9872   8240 S   0.0   0.3   0:00.05 systemd                                                                                                                                                                 +   6451 gdm       20   0  590224  26680  19584 S   0.0   0.3   0:00.10 gsd-keyboard                                                                                                                                
-    880 root      20     96712   9780   7568 S   0.0   0.3   0:00.25 systemd-logind                                                                                                                                                          +   6571 gdm       20   0  598424  24032  17280 S   0.0   0.3   0:00.02 gsd-printer                                                                                                                                 
-    632 root      20     94036   9064   8016 S   0.0   0.2   0:00.28 systemd-journal                                                                                                                                                         +    853 root      20   0  475084  23056  18120 S   0.0   0.3   0:04.02 NetworkManager                                                                                                                              
-    837 root      20     83656   7004   6108 S   0.0   0.2   0:00.19 systemd-machine                                                                                                                                                         +   5975 gdm       20   0  734740  22260  15744 S   0.0   0.3   0:00.10 gnome-session-b                                                                                                                             
-    905 root      20     92288   6996   6100 S   0.0   0.2   0:00.01 sshd                                                                                                                                                                    +   7620 apache    20   2423380  21372   5632 S   0.0   0.3   0:14.02 httpd                                                                                                                                       
-    847 rngd      20   0  381308   6500   5656 S   0.0   0.2   0:15.38 rngd                                                                                                                                                                    +   7431 apache    20   0 2423380  21316   5632 S   0.0   0.3   0:14.10 httpd                                                                                                                                       
-    828 root      20     50640   5900   4600 S   0.0   0.2   0:00.03 smartd                                                                                                                                                                  +   6455 gdm       20    594384  20668  16128 S   0.0   0.3   0:00.04 gsd-datetime                                                                                                                                
-   1600 trainee   20   0  163700   5584   4284 S   0.0   0.  0:00.04 sshd                                                                                                                                                                    +   7898 apache    20   0 2357844  19356   5632 S   0.0   0.2   0:13.86 httpd                                                                                                                                       
-   1601 trainee   20     28312   5564   3664 S   0.0   0.  0:00.02 bash                                                                                                                                                                    +      1 root      20    190992  17880  10644 S   0.0   0.2   0:13.89 systemd                                                                                                                                     
-    834 dbus      20     64684   5476   4480 S   0.  0.  0:00.22 dbus-daemon                                                                                                                                                             +   7621 apache    20   0 2226708  17344   5760 S   0.0   0.2   0:12.83 httpd                                                                                                                                       
-   1634 root      20     27644   5428   3408 S   0.0   0.  0:00.06 bash                                                                                                                                                                    +   7899 apache    20   2226708  17292   5760 S   0.0   0.2   0:11.94 httpd                                                                                                                                       
-    791 rpc       20     67140   5396   4672 S   0.0   0.  0:00.01 rpcbind                                                                                                                                                                 +   7432 apache    20   0 2226708  17240   5632 S   0.0   0.2   0:12.81 httpd                                                                                                                                       
-   1594 trainee   20   0  175840   5228     40 S   0.0   0.1   0:00.00 (sd-pam)                                                                                                                                                                +   7622 apache    20   2161172  17236   5760 S   0.0   0.2   0:12.70 httpd                                                                                                                                       
-   1113 root      20   0  209436   5036   3516 S   0.0   0.1   0:00.09 rsyslogd                                                                                                                                                                +   7433 apache    20   0 2226708  17196   5632 S   0.0   0.2   0:12.77 httpd                                                                                                                                       
-    823 root      20   0  124908   4644   4080 S   0.0   0.1   0:00.03 irqbalance                                                                                                                                                              +   7900 apache    20   2226708  17096   5632 S   0.0   0.2   0:12.27 httpd                                                                                                                                       
-   1803 root      20     65420   4508   3808 R   0.0   0.1   0:00.03 top        +   6381 gdm        9 -11  545148  16128  12800 S   0.0   0.2   0:00.05 wireplumber                                                                                                                                 
 +   5742 root      20    395124  15672  11636 S   0.0   0.2   0:00.13 udisksd                                                                                                                                     
 +   6452 gdm       20    467300  14876  11136 S   0.0   0.2   0:00.02 gsd-print-notif                                                                                                                             
 +   6640 colord    20   0  530424  14164   9980 S   0.0   0.2   0:00.06 colord                                                                                                                                      
 +   5851 gdm       20     22976  13936  10752 S   0.0   0.  0:00.11 systemd                                                                                                                                     
 +   9365 trainee   20     22984  13812  10624 S   0.0   0.2   0:00.09 systemd                                                                                                                                     
 +   6454 gdm       20    603444  13636  10112 S   0.0   0.  0:04.03 gsd-smartcard                                                                                                                               
 +   6477 gdm       20    530684  13456   8320 S   0.0   0.2   0:00.01 gsd-sound                                                                                                                                   
 +   6599 gdm       20    600368  13304   6656 S   0.  0.  0:00.07 ibus-daemon                                                                                                                                 
 +    629 root      20     36112  13120   9216 S   0.0   0.2   0:00.48 systemd-udevd                                                                                                                               
 +   5787 root      20    387252  13092   9472 S   0.0   0.  0:00.02 gdm-session-wor                                                                                                                             
 +   6436 gdm       20    678244  12720   9216 S   0.0   0.2   0:00.01 gsd-sharing                                                                                                                                 
 +   5704 root      20    391468  12632  10712 S   0.0   0.  0:00.05 ModemManager                                                                                                                                
 +   6482 gdm       20    524704  12100   7168 S   0.0   0.2   0:01.08 gsd-housekeepin                                                                                                                             
 +   7429 root      20   0   20368  11608   9176 S   0.0   0.1   0:04.09 httpd                                                                                                                                       
 +   7618 root      20     20368  11540   9108 S   0.0   0.1   0:04.28 httpd                                                                                                                                       
 +   6377 gdm        9 -11  326096  11520   8192 S   0.0   0.1   0:00.02 pipewire                                                                                                                                    
 +   5671 root      20     21044  11480   9088 S   0.0   0.1   0:02.60 systemd-logind                                                                                                                              
 +   7896 root      20     20368  11464   9032 S   0.0   0.1   0:04.17 httpd                                                                                                                                       
 +   9357 root      20     19432  11264   9600 S   0.0   0.1   0:00.02 sshd                                                                                                                                        
 +   5736 root      20   0  247824  11136   9088 S   0.0   0.1   0:00.04 cupsd                                                                                                                                       
 +    614 root      20     27084  10880   9728 S   0.0   0.1   0:00.88 systemd-journal                                                                                                                             
 +   5765 root      20    453120  10828   7808 S   0.0   0.1   0:00.02 gdm         
 ...                                                         ...                                                        
 </code> </code>
Ligne 654: Ligne 822:
  
 <code> <code>
-[root@centos8 ~]# top +[root@redhat9 ~]# top 
-... +top - 14:44:10 up 2 days,  1:59,  1 user,  load average: 0.00, 0.00, 0.00 
-top - 09:13:01 up 11 min,  1 user,  load average: 0.00, 0.04, 0.06 +Tasks: 199 total,   running, 198 sleeping,   0 stopped,   0 zombie 
-Tasks: 145 total,   running, 143 sleeping,   0 stopped,   0 zombie +%Cpu(s):  0.us,  0.sy,  0.0 ni, 99.id,  0.0 wa,  0.hi,  0.0 si,  0.0 st 
-%Cpu(s):  0.us,  0.sy,  0.0 ni, 99.id,  0.0 wa,  0.hi,  0.0 si,  0.0 st +MiB Mem :   7685.total,   4518.free,   1105.used,   2375.buff/cache 
-MiB Mem :   3737.total,   3192.free,    233.used,    311.buff/cache +MiB Swap:   5120.0 total,   5120.0 free,      0.0 used.   6579.avail Mem 
-MiB Swap:   2000.0 total,   2000.0 free,      0.0 used.   3276.avail Mem +
  
-    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                                                 +    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                                                     
-    827 polkitd   20   1764748  25376  17348 S   0.  0.7   0:00.13 polkitd                                                                                                                                                                 +   6049 gdm       20   4458012 242772 120572 S   1.0   3.1   0:23.41 gnome-shell                                                                                                                                 
-      1 root      20   0  245540  14260   9308 S   0.1   0.4   0:01.67 systemd                                                                                                                                                                 +  10744 root      20   0  226032   4096   3328 R   1.0   0.1   0:00.59 top                                                                                                                                            
-    823 root      20   0  124908   4644   4080 S   0.  0.1   0:00.04 irqbalance                                                                                                                                                              +
-   1803 root      20     65420   4508   3808 R   0.2   0.1   0:00.08 top        +
 </code> </code>
  
Ligne 674: Ligne 839:
  
 <code> <code>
-[root@centos8 ~]# top --help+[root@redhat9 ~]# top --help
 top: inappropriate '-help' top: inappropriate '-help'
 Usage: Usage:
-  top -hv | -bcEHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]+  top -hv | -bcEeHiOSs1 -d secs -n max -u|U user -p pid(s) -o field -w [cols]
 </code> </code>
  
Ligne 697: Ligne 862:
  
 <code> <code>
-[root@centos8 ~]# sleep 9999 & +[root@redhat9 ~]# sleep 9999 & 
-[1] 1865 +[1] 10749 
-[root@centos8 ~]# jobs -l + 
-[1]+  1865 Running                 sleep 9999 &+[root@redhat9 ~]# jobs -l 
 +[1]+ 10749 Running                 sleep 9999 &
 </code> </code>
  
Ligne 712: Ligne 878:
  
 <code> <code>
-[root@centos8 ~]# sleep 1234+[root@redhat9 ~]# sleep 1234
 ^Z ^Z
 [2]+  Stopped                 sleep 1234 [2]+  Stopped                 sleep 1234
Ligne 720: Ligne 886:
  
 <code> <code>
-[root@centos8 ~]# bg %2+[root@redhat9 ~]# bg %2
 [2]+ sleep 1234 & [2]+ sleep 1234 &
-[root@centos8 ~]# jobs -l + 
-[1]-  1865 Running                 sleep 9999 & +[root@redhat9 ~]# jobs -l 
-[2]+  1874 Running                 sleep 1234 &+[1]- 10749 Running                 sleep 9999 & 
 +[2]+ 10750 Running                 sleep 1234 &
 </code> </code>
  
Ligne 734: Ligne 901:
  
 <code> <code>
-[root@centos8 ~]# kill -stop %2 +[root@redhat9 ~]# kill -stop %2
-[root@centos8 ~]# jobs -l +
-[1]-  1865 Running                 sleep 9999 & +
-[2]+  1874 Stopped (signal)        sleep 1234 +
-</code>+
  
-Pour reprendre le processus en arrière plan, sans le ramener en avant plan, on utilise la commande kill avec l'option **-cont** : +[2]+  Stopped                 sleep 1234
- +
-<code> +
-[root@centos8 ~]# kill -cont %2 +
-[root@centos8 ~]# jobs -l +
-[1]-  1865 Running                 sleep 9999 & +
-[2]+  1874 Running                 sleep 1234 &+
 </code> </code>
  
Ligne 752: Ligne 909:
  
 <code> <code>
-[root@centos8 ~]# kill -stop %2 +[root@redhat9 ~]# fg %2
- +
-[2]+  Stopped                 sleep 1234 +
-[root@centos8 ~]# jobs -l +
-[1]-  1865 Running                 sleep 9999 & +
-[2]+  1874 Stopped (signal)        sleep 1234 +
-[root@centos8 ~]# fg %2+
 sleep 1234 sleep 1234
 ^C ^C
-[root@centos8 ~]#  
 </code> </code>
  
Ligne 771: Ligne 921:
  
 <code> <code>
-[root@centos8 ~]# help jobs+[root@redhat9 ~]# help jobs
 jobs: jobs [-lnprs] [jobspec ...] or jobs -x command [args] jobs: jobs [-lnprs] [jobspec ...] or jobs -x command [args]
     Display status of jobs.     Display status of jobs.
Ligne 779: Ligne 929:
          
     Options:     Options:
-      -l lists process IDs in addition to the normal information +      -l        lists process IDs in addition to the normal information 
-      -n lists only processes that have changed status since the last +      -n        lists only processes that have changed status since the last 
-     notification +                notification 
-      -p lists process IDs only +      -p        lists process IDs only 
-      -r restrict output to running jobs +      -r        restrict output to running jobs 
-      -s restrict output to stopped jobs+      -s        restrict output to stopped jobs
          
     If -x is supplied, COMMAND is run after all job specifications that     If -x is supplied, COMMAND is run after all job specifications that
Ligne 792: Ligne 942:
     Exit Status:     Exit Status:
     Returns success unless an invalid option is given or an error occurs.     Returns success unless an invalid option is given or an error occurs.
-    If -x is used, returns the exit status of COMMAND+    If -x is used, returns the exit status of COMMAND.
 </code> </code>
  
Ligne 800: Ligne 950:
  
 <code> <code>
-[root@centos8 ~]# jobs -l +[root@redhat9 ~]# jobs -l 
-[1]+  1865 Running                 sleep 9999 & +[1]+ 10749 Running                 sleep 9999 & 
-[root@centos8 ~]# wait %1+ 
 +[root@redhat9 ~]# wait %1
 ^C ^C
-[root@centos8 ~]# jobs -l + 
-[1]+  1865 Running                 sleep 9999 &+[root@redhat9 ~]# jobs -l 
 +[1]+ 10749 Running                 sleep 9999 &
 </code> </code>
  
Ligne 817: Ligne 969:
  
 <code> <code>
-[root@centos8 ~]# nice -n -20 sleep 1234+[root@redhat9 ~]# nice -n -20 sleep 1234
 ^Z ^Z
 [2]+  Stopped                 nice -n -20 sleep 1234 [2]+  Stopped                 nice -n -20 sleep 1234
-[root@centos8 ~]# ps lx | grep sleep + 
-0        1865    1634  20     7284   816 hrtime S    pts/0      0:00 sleep 9999 +[root@redhat9 ~]# ps lx | grep sleep 
-    0    1998     853  20     7284   832 hrtime S    ?          0:00 sleep 60 +0       10749   10066  20   220952  1792 hrtime S    pts/0      0:00 sleep 9999 
-4        1999    1634   0 -20   7284   728 -      T<   pts/     0:00 sleep 1234 +    0   10775   10066   0 -20 220952  1792 do_sig T<   pts/     0:00 sleep 1234 
-0        2001    1634  20   0  12112  1072 -      S+   pts/     0:00 grep --color=auto sleep +0       10777   10066  20   221664  2304 pipe_r S+   pts/     0:00 grep --color=auto sleep 
-[root@centos8 ~]# nice -n 19 sleep 5678+ 
 +[root@redhat9 ~]# nice -n 19 sleep 5678
 ^Z ^Z
 [3]+  Stopped                 nice -n 19 sleep 5678 [3]+  Stopped                 nice -n 19 sleep 5678
-[root@centos8 ~]# ps lx | grep sleep + 
-0        1865    1634  20     7284   816 hrtime S    pts/0      0:00 sleep 9999 +[root@redhat9 ~]# ps lx | grep sleep 
-4        1999    1634   0 -20   7284   728 -      T<   pts/     0:00 sleep 1234 +0       10749   10066  20   220952  1792 hrtime S    pts/0      0:00 sleep 9999 
-0        2008    1634  39  19   7284   800 -      TN   pts/     0:00 sleep 5678 +4       10775   10066   0 -20 220952  1792 do_sig T<   pts/     0:00 sleep 1234 
-0        2016     853  20     7284   784 hrtime S    ?          0:00 sleep 60 +0       10778   10066  39  19 220952  1792 do_sig TN   pts/     0:00 sleep 5678 
-0        2018    1634  20   0  12112  1076 -      S+   pts/     0:00 grep --color=auto sleep+0       10780   10066  20   221664  2304 pipe_r S+   pts/     0:00 grep --color=auto sleep
 </code> </code>
  
Ligne 845: Ligne 998:
  
 <code> <code>
-[root@centos8 ~]# nice --help+[root@redhat9 ~]# nice --help
 Usage: nice [OPTION] [COMMAND [ARG]...] Usage: nice [OPTION] [COMMAND [ARG]...]
 Run COMMAND with an adjusted niceness, which affects process scheduling. Run COMMAND with an adjusted niceness, which affects process scheduling.
Ligne 861: Ligne 1014:
  
 GNU coreutils online help: <https://www.gnu.org/software/coreutils/> GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
-Full documentation at: <https://www.gnu.org/software/coreutils/nice>+Full documentation <https://www.gnu.org/software/coreutils/nice>
 or available locally via: info '(coreutils) nice invocation' or available locally via: info '(coreutils) nice invocation'
 </code> </code>
Ligne 870: Ligne 1023:
  
 <code> <code>
-[root@centos8 ~]# jobs -l +[root@redhat9 ~]# jobs -l 
-[1]   1865 Running                 sleep 9999 & +[1]  10749 Running                 sleep 9999 & 
-[2]-  1999 Stopped                 nice -n -20 sleep 1234 +[2]- 10775 Stopped                 nice -n -20 sleep 1234 
-[3]+  2008 Stopped                 nice -n 19 sleep 5678 +[3]+ 10778 Stopped                 nice -n 19 sleep 5678 
-[root@centos8 ~]# bg %2+ 
 +[root@redhat9 ~]# bg %2
 [2]- nice -n -20 sleep 1234 & [2]- nice -n -20 sleep 1234 &
-[root@centos8 ~]# bg %3+ 
 +[root@redhat9 ~]# bg %3
 [3]+ nice -n 19 sleep 5678 & [3]+ nice -n 19 sleep 5678 &
-[root@centos8 ~]# jobs -l + 
-[1]   1865 Running                 sleep 9999 & +[root@redhat9 ~]# jobs -l 
-[2]-  1999 Running                 nice -n -20 sleep 1234 & +[1]  10749 Running                 sleep 9999 & 
-[3]+  2008 Running                 nice -n 19 sleep 5678 & +[2]- 10775 Running                 nice -n -20 sleep 1234 & 
-[root@centos8 ~]# renice +5 1999 +[3]+ 10778 Running                 nice -n 19 sleep 5678 & 
-1999 (process ID) old priority -20, new priority 5 + 
-[root@centos8 ~]# renice -5 2008 +[root@redhat9 ~]# renice +5 10775 
-2008 (process ID) old priority 19, new priority -5 +10775 (process ID) old priority -20, new priority 5 
-[root@centos8 ~]# ps lx | grep sleep + 
-0        1865    1634  20     7284   816 hrtime S    pts/0      0:00 sleep 9999 +[root@redhat9 ~]# renice -5 10778 
-4        1999    1634  25     7284   728 -      SN   pts/     0:00 sleep 1234 +10778 (process ID) old priority 19, new priority -5 
-0        2008    1634  15  -5   7284   800 -      S<   pts/     0:00 sleep 5678 + 
-0        2061     853  20     7284   708 hrtime S    ?          0:00 sleep 60 +[root@redhat9 ~]# ps lx | grep sleep 
-0        2064    1634  20   0  12112  1088 -      S+   pts/     0:00 grep --color=auto sleep+0       10749   10066  20   220952  1792 hrtime S    pts/0      0:00 sleep 9999 
 +4       10775   10066  25   220952  1792 do_sys SN   pts/     0:00 sleep 1234 
 +0       10778   10066  15  -5 220952  1792 do_sys S<   pts/     0:00 sleep 5678 
 +0       10790   10066  20   221796  2304 pipe_r S+   pts/     0:00 grep --color=auto sleep
 </code> </code>
  
Ligne 901: Ligne 1059:
  
 <code> <code>
-[root@centos8 ~]# renice --help+[root@redhat9 ~]# renice --help
  
 Usage: Usage:
Ligne 911: Ligne 1069:
  
 Options: Options:
- -n, --priority <num>   specify the nice increment value + -n, --priority <num>   specify the nice value 
- -p, --pid <id>         interpret argument as process ID (default) + -p, --pid              interpret arguments as process ID (default) 
- -g, --pgrp <id>        interpret argument as process group ID + -g, --pgrp             interpret arguments as process group ID 
- -u, --user <name>|<id> interpret argument as username or user ID+ -u, --user             interpret arguments as username or user ID
  
  -h, --help             display this help  -h, --help             display this help
Ligne 933: Ligne 1091:
  
 <code> <code>
-[root@centos8 ~]# nohup --help+[root@redhat9 ~]# nohup --help
 Usage: nohup COMMAND [ARG]... Usage: nohup COMMAND [ARG]...
   or:  nohup OPTION   or:  nohup OPTION
Ligne 952: Ligne 1110:
  
 GNU coreutils online help: <https://www.gnu.org/software/coreutils/> GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
-Full documentation at: <https://www.gnu.org/software/coreutils/nohup>+Full documentation <https://www.gnu.org/software/coreutils/nohup>
 or available locally via: info '(coreutils) nohup invocation' or available locally via: info '(coreutils) nohup invocation'
 </code> </code>
Ligne 961: Ligne 1119:
  
 <code> <code>
-[root@centos8 ~]# kill -l +[root@redhat9 ~]# kill -l 
- 1) SIGHUP  2) SIGINT  3) SIGQUIT  4) SIGILL  5) SIGTRAP + 1) SIGHUP       2) SIGINT       3) SIGQUIT      4) SIGILL       5) SIGTRAP 
- 6) SIGABRT  7) SIGBUS  8) SIGFPE  9) SIGKILL 10) SIGUSR1 + 6) SIGABRT      7) SIGBUS       8) SIGFPE       9) SIGKILL     10) SIGUSR1 
-11) SIGSEGV 12) SIGUSR2 13) SIGPIPE 14) SIGALRM 15) SIGTERM +11) SIGSEGV     12) SIGUSR2     13) SIGPIPE     14) SIGALRM     15) SIGTERM 
-16) SIGSTKFLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTSTP +16) SIGSTKFLT   17) SIGCHLD     18) SIGCONT     19) SIGSTOP     20) SIGTSTP 
-21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCPU 25) SIGXFSZ +21) SIGTTIN     22) SIGTTOU     23) SIGURG      24) SIGXCPU     25) SIGXFSZ 
-26) SIGVTALRM 27) SIGPROF 28) SIGWINCH 29) SIGIO 30) SIGPWR +26) SIGVTALRM   27) SIGPROF     28) SIGWINCH    29) SIGIO       30) SIGPWR 
-31) SIGSYS 34) SIGRTMIN 35) SIGRTMIN+1 36) SIGRTMIN+2 37) SIGRTMIN+3 +31) SIGSYS      34) SIGRTMIN    35) SIGRTMIN+1  36) SIGRTMIN+2  37) SIGRTMIN+3 
-38) SIGRTMIN+4 39) SIGRTMIN+5 40) SIGRTMIN+6 41) SIGRTMIN+7 42) SIGRTMIN+8 +38) SIGRTMIN+4  39) SIGRTMIN+5  40) SIGRTMIN+6  41) SIGRTMIN+7  42) SIGRTMIN+8 
-43) SIGRTMIN+9 44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13 +43) SIGRTMIN+9  44) SIGRTMIN+10 45) SIGRTMIN+11 46) SIGRTMIN+12 47) SIGRTMIN+13 
-48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12 +48) SIGRTMIN+14 49) SIGRTMIN+15 50) SIGRTMAX-14 51) SIGRTMAX-13 52) SIGRTMAX-12 
-53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9 56) SIGRTMAX-8 57) SIGRTMAX-7 +53) SIGRTMAX-11 54) SIGRTMAX-10 55) SIGRTMAX-9  56) SIGRTMAX-8  57) SIGRTMAX-7 
-58) SIGRTMAX-6 59) SIGRTMAX-5 60) SIGRTMAX-4 61) SIGRTMAX-3 62) SIGRTMAX-2 +58) SIGRTMAX-6  59) SIGRTMAX-5  60) SIGRTMAX-4  61) SIGRTMAX-3  62) SIGRTMAX-2 
-63) SIGRTMAX-1 64) SIGRTMAX +63) SIGRTMAX-1  64) SIGRTMAX
 </code> </code>
  
Ligne 993: Ligne 1151:
  
 <code> <code>
-[root@centos8 ~]# help kill+[root@redhat9 ~]# help kill
 kill: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec] kill: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
     Send a signal to a job.     Send a signal to a job.
Ligne 1002: Ligne 1160:
          
     Options:     Options:
-      -s sig SIG is a signal name +      -s sig    SIG is a signal name 
-      -n sig SIG is a signal number +      -n sig    SIG is a signal number 
-      -l list the signal names; if arguments follow `-l' they are +      -l        list the signal names; if arguments follow `-l' they are 
-     assumed to be signal numbers for which names should be listed +                assumed to be signal numbers for which names should be listed 
-      -L synonym for -l+      -L        synonym for -l
          
     Kill is a shell builtin for two reasons: it allows job IDs to be used     Kill is a shell builtin for two reasons: it allows job IDs to be used
Ligne 1021: Ligne 1179:
  
 <code> <code>
-[root@centos8 ~]# pkill -HUP rsyslogd+[root@redhat9 ~]# pkill -HUP rsyslogd
 </code> </code>
  
Ligne 1027: Ligne 1185:
  
 <code> <code>
-[root@centos8 ~]# pkill --help+[root@redhat9 ~]# pkill --help
  
 Usage: Usage:
Ligne 1034: Ligne 1192:
 Options: Options:
  -<sig>, --signal <sig>    signal to send (either number or name)  -<sig>, --signal <sig>    signal to send (either number or name)
 + -q, --queue <value>       integer value to be sent with the signal
  -e, --echo                display what is killed  -e, --echo                display what is killed
  -c, --count               count of matching processes  -c, --count               count of matching processes
Ligne 1042: Ligne 1201:
  -n, --newest              select most recently started  -n, --newest              select most recently started
  -o, --oldest              select least recently started  -o, --oldest              select least recently started
 + -O, --older <seconds>     select where older than seconds
  -P, --parent <PPID,...>   match only child processes of the given parent  -P, --parent <PPID,...>   match only child processes of the given parent
  -s, --session <SID,...>   match session IDs  -s, --session <SID,...>   match session IDs
Ligne 1050: Ligne 1210:
  -F, --pidfile <file>      read PIDs from file  -F, --pidfile <file>      read PIDs from file
  -L, --logpidfile          fail if PID file is not locked  -L, --logpidfile          fail if PID file is not locked
 + -r, --runstates <state>   match runstates [D,S,Z,...]
  --ns <PID>                match the processes that belong to the same  --ns <PID>                match the processes that belong to the same
                            namespace as <pid>                            namespace as <pid>
Menu