最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

check system info in linux

工作和技术 crifan 1975浏览 0评论

OS :

[crifan@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.18-8.el5xen #1 SMP Fri Jan 26 14:42:21 EST 2007 i686 i686 i386 GNU/Linux

[crifan@localhost ~]$ uname -r
2.6.18-8.el5xen

[crifan@localhost ~]$ more /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)

[crifan@localhost ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5 (Tikanga)

[crifan@localhost ~]$ more /proc/version
Linux version 2.6.18-8.el5xen ([email protected]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Fri Jan 26 14:42:21 EST 2007

[crifan@localhost ~]$ cat /proc/version
Linux version 2.6.18-8.el5xen ([email protected]) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)) #1 SMP Fri Jan 26 14:42:21 EST 2007

[crifan@localhost ~]$ more /etc/issue
Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel r on an m

[crifan@localhost ~]$ cat /etc/issue
Red Hat Enterprise Linux Server release 5 (Tikanga)
Kernel r on an m

CPU:

[crifan@localhost ~]$ grep "model name" /proc/cpuinfo
model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz
model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz

[crifan@localhost ~]$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz
stepping        : 9
cpu MHz         : 3192.100
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 7985.20

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 3.20GHz
stepping        : 9
cpu MHz         : 3192.100
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid xtpr
bogomips        : 7985.20

Mem:

[crifan@localhost ~]$ grep MemTotal /proc/meminfo
MemTotal:       465744 kB

[crifan@localhost ~]$ cat /proc/meminfo
MemTotal:       465744 kB
MemFree:          6388 kB
Buffers:         32592 kB
Cached:         258596 kB
SwapCached:          0 kB
Active:         139576 kB
Inactive:       201020 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       465744 kB
LowFree:          6388 kB
SwapTotal:      522072 kB
SwapFree:       522072 kB
Dirty:              16 kB
Writeback:           0 kB
AnonPages:       49404 kB
Mapped:          21344 kB
Slab:            40728 kB
PageTables:       4024 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    754944 kB
Committed_AS:   206020 kB
VmallocTotal:   376824 kB
VmallocUsed:      5048 kB
VmallocChunk:   371316 kB

Disk:

du (disk usage) and df (disk free)

转载请注明:在路上 » check system info in linux

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
79 queries in 0.165 seconds, using 22.13MB memory