uname mostra arquitetura duplicada

4

Por que o uname mostra x86_64 três vezes? Este é o Ubuntu 12.04.4.

$ uname -a
Linux seedbox 3.2.0-59-generic #90-Ubuntu SMP Tue Jan 7 22:43:51 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    
por Elliott B 26.02.2014 / 21:49

1 resposta

6

Com o GNU uname , uname -a é a abreviação de uname -snrvmpio :

$ uname -snrvmpio
Linux name 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ for o (s n r v m p i o) {printf -$o:\ ; uname -$o}
-s: Linux
-n: name
-r: 3.11.0-12-generic
-v: #19-Ubuntu SMP Wed Oct 9 16:20:46 UTC 2013
-m: x86_64
-p: x86_64
-i: x86_64
-o: GNU/Linux

Com m , -p , -i sendo:

-m, --machine            print the machine hardware name
-p, --processor          print the processor type or "unknown"
-i, --hardware-platform  print the hardware platform or "unknown"
    
por 26.02.2014 / 21:59