Bonjour,
je ne comprends pas l'utilisation du tiret avec la commande `ps`.
Si je lis le MAN, il semble optionnel, pourtant `ps l` et `ps -l` ne donnent pas la meme chose...
ps l | moreps -l | more
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 4 0 2709 1 19 0 1944 452 - Ss+ tty1 0:00 /sbin/mingett y tty1 4 0 2710 1 18 0 2284 448 - Ss+ tty2 0:00 /sbin/mingett y tty2 4 0 2715 1 18 0 2232 452 - Ss+ tty3 0:00 /sbin/mingett y tty3 4 0 2716 1 18 0 1496 452 - Ss+ tty4 0:00 /sbin/mingett y tty4 4 0 2734 1 19 0 2504 452 - Ss+ tty5 0:00 /sbin/mingett y tty5 4 0 2736 1 18 0 1716 448 - Ss+ tty6 0:00 /sbin/mingett y tty6 4 0 3579 3577 16 0 4544 1432 - Ss+ pts/1 0:00 bash 4 0 6338 6336 16 0 5684 1416 wait Ss pts/3 0:00 -bash 4 0 6405 6338 17 0 2760 624 - R+ pts/3 0:00 ps l 4 0 6406 6338 17 0 5364 476 pipe_w S+ pts/3 0:00 morequi m'explique svp ??
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 4 S 0 6338 6336 0 75 0 - 1421 wait pts/3 00:00:00 bash 4 R 0 6407 6338 0 76 0 - 928 - pts/3 00:00:00 ps 4 S 0 6408 6338 0 77 0 - 926 pipe_w pts/3 00:00:00 more
Partager