在windows下我們查看系統資訊直接右擊電腦屬性就可以查看了.那麼在Linux系統中如何查看呢.下面給大家介紹幾種查看的方式
輸入"uname -a ",可顯示電腦以及作業系統的相關資訊。
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 athlon i386 GNU/Linux
輸入"cat /proc/version",說明正在啟動並執行核心版本。
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com)(gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
輸入"cat /etc/issue", 顯示的是發行版本資訊
Red Hat Linux release 9 (Shrike)
輸入“cat /proc/cpuinfo”, 顯示 cpu 相關資訊,包括型號、主頻、核心資訊等
processor : 0vendor_id : AuthenticAMDcpu family : 15model : 1model name : AMD A4-3300M APU with Radeon(tm) HD Graphicsstepping : 0cpu MHz : 1896.236cache size : 1024 KBfdiv_bug : nohlt_bug : nof00f_bug : nocoma_bug : nofpu : yesfpu_exception : yescpuid level : 6wp : yesflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall mmxext lm 3dnowext 3dnowbogomips : 3774.87
lsb_release -a (適用於所有的linux,包括Redhat、SuSE、Debian等發行版,但是在debian下要安裝lsb)
如果不知道命令的意思.可以通過 "man 命令"可以查看它的使用方式.及詳細資料.