rodrigorootrj
(usa Debian)
Enviado em 21/05/2012 - 08:49h
Galera no comando cat /proc/cpuinfo como eu faço para identificar se o CPU é 32 ou 64 bits ??
Outra duvida e se tem como eu ver se uma interface de rede está em half ou full duplex pelo comando ifconfig
diagnosticos de teste :
:/var/www# ifconfig
eth1 Link encap:Ethernet HWaddr 00:19:5B:69:4D:48
inet addr:10.1.100.215 Bcast:10.1.100.223 Mask:255.255.255.240
inet6 addr: fe80::219:5bff:fe69:4d48/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:437442640 errors:0 dropped:0 overruns:0 frame:0
TX packets:1337110114 errors:788 dropped:0 overruns:0 carrier:1576
collisions:277315625 txqueuelen:1000
RX bytes:3947566112 (3.6 GiB) TX bytes:3290196321 (3.0 GiB)
Interrupt:66 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:22627 errors:0 dropped:0 overruns:0 frame:0
TX packets:22627 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16125834 (15.3 MiB) TX bytes:16125834 (15.3 MiB)
:/var/www#
ifconfig
:/var/www# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) D CPU 3.20GHz
stepping : 5
cpu MHz : 3200.074
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips : 6405.27
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 6
model name : Intel(R) Pentium(R) D CPU 3.20GHz
stepping : 5
cpu MHz : 3200.074
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 6
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl est cid cx16 xtpr lahf_lm
bogomips : 6399.80