Mudanças entre as edições de "Como descobrir a versão do SO LINUX instalado"
(Criou página com '=1ª opção= lsb_release -a ;resultado: <code> LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3....') |
|||
Linha 43: | Linha 43: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | =4ª opção= | + | ==4ª opção== |
cat /etc/issue.net; uname -ar | cat /etc/issue.net; uname -ar | ||
− | ; | + | ;Resultado: |
<code> | <code> | ||
Ubuntu 14.04.2 LTS | Ubuntu 14.04.2 LTS | ||
Linux sj-redes2-m13 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux | Linux sj-redes2-m13 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux | ||
+ | </syntaxhighlight> | ||
+ | |||
+ | =Para descobrir as características do(s) processador(es)= | ||
+ | cat /proc/cpuinfo | ||
+ | |||
+ | ;Resultado: | ||
+ | <code> | ||
+ | |||
+ | processor : 0 | ||
+ | vendor_id : AuthenticAMD | ||
+ | cpu family : 16 | ||
+ | model : 4 | ||
+ | model name : AMD Phenom(tm) II X4 B97 Processor | ||
+ | stepping : 3 | ||
+ | microcode : 0x10000b6 | ||
+ | cpu MHz : 800.000 | ||
+ | cache size : 512 KB | ||
+ | physical id : 0 | ||
+ | siblings : 4 | ||
+ | core id : 0 | ||
+ | cpu cores : 4 | ||
+ | apicid : 0 | ||
+ | initial apicid : 0 | ||
+ | fpu : yes | ||
+ | fpu_exception : yes | ||
+ | cpuid level : 5 | ||
+ | wp : yes | ||
+ | flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save | ||
+ | bogomips : 6383.71 | ||
+ | TLB size : 1024 4K pages | ||
+ | clflush size : 64 | ||
+ | cache_alignment : 64 | ||
+ | address sizes : 48 bits physical, 48 bits virtual | ||
+ | power management: ts ttp tm stc 100mhzsteps hwpstate | ||
+ | |||
+ | processor : 1 | ||
+ | ... | ||
</syntaxhighlight> | </syntaxhighlight> |
Edição das 09h39min de 14 de maio de 2015
1ª opção
lsb_release -a
- resultado
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
</syntaxhighlight>
2ª opção
cat /etc/[A-Za-z]*[_-][rv]e[lr]*
- resultado
jessie/sid
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
NAME="Ubuntu"
VERSION="14.04.2 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.2 LTS"
VERSION_ID="14.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
</syntaxhighlight>
3ª opção
cat /etc/lsb-release
- resultado
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
</syntaxhighlight>
4ª opção
cat /etc/issue.net; uname -ar
- Resultado
Ubuntu 14.04.2 LTS
Linux sj-redes2-m13 3.13.0-52-generic #85-Ubuntu SMP Wed Apr 29 16:44:17 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
</syntaxhighlight>
Para descobrir as características do(s) processador(es)
cat /proc/cpuinfo
- Resultado
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : AMD Phenom(tm) II X4 B97 Processor
stepping : 3
microcode : 0x10000b6
cpu MHz : 800.000
cache size : 512 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good nopl nonstop_tsc extd_apicid pni monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt hw_pstate npt lbrv svm_lock nrip_save
bogomips : 6383.71
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate
processor : 1
...
</syntaxhighlight>