서버 관련 구성 정보 보기

5241 단어 서버메시지
[root@localhost ~]# lsb_release -a
LSB Version::core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID:RedHatEnterpriseServer
Description:Red Hat Enterprise Linux Server release 6.3 (Santiago)
Release:6.3
Codename:Santiago
[root@localhost ~]# uname -r
2.6.32-279.el6.x86_64
[root@localhost ~]# dmidecode | grep "Product Name"
    Product Name: PowerEdge R910
    Product Name: 0P703H
[root@localhost ~]# cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 46
model name  : Intel(R) Xeon(R) CPU           E7520  @ 1.87GHz
stepping    : 6
cpu MHz     : 1862.044
cache size  : 18432 KB
physical id : 0
siblings    : 8
core id     : 0
cpu cores   : 4
apicid      : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 11
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 syscall nx rdtscp lm constant_tsc nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm
bogomips    : 3724.08
clflush size    : 64
cache_alignment : 64
address sizes   : 44 bits physical, 48 bits virtual
power management: [8]
[root@localhost ~]# cat /proc/cpuinfo | grep -E "physical id|cpu cores" |sed 'N;s/
/ /;'| sort| uniq physical id: 0 cpu cores: 4 physical id: 1 cpu cores: 4 physical id: 2 cpu cores: 4 physical id: 3 cpu cores: 4 [root@localhost ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c 32 Intel(R) Xeon(R) CPU E7520 @ 1.87GHz [root@localhost ~]# cat /proc/cpuinfo |grep "physical id"|sort|uniq|wc -l 4 [root@localhost ~]# cat /proc/cpuinfo |grep "cpu cores"|uniq cpu cores : 4 [root@localhost ~]# cat /proc/cpuinfo |grep "processor" |wc -l 32 [root@localhost ~]# dmesg |grep -i raid scsi0 : LSI SAS based MegaRAID driver device-mapper: dm-raid45: initialized v0.2594l md: Autodetecting RAID arrays. [root@localhost ~]# cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 32 Lun: 00 Vendor: DP Model: BACKPLANE Rev: 1.09 Type: Enclosure ANSI SCSI revision: 05 Host: scsi0 Channel: 02 Id: 00 Lun: 00 Vendor: DELL Model: PERC H700 Rev: 2.10 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi0 Channel: 02 Id: 01 Lun: 00 Vendor: DELL Model: PERC H700 Rev: 2.10 Type: Direct-Access ANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: TEAC Model: DVD-ROM DV-28SW Rev: R.2A Type: CD-ROM ANSI SCSI revision: 05 [root@localhost ~]# cat /proc/meminfo MemTotal: 65976232 kB MemFree: 61870268 kB Buffers: 665344 kB Cached: 2751136 kB SwapCached: 0 kB Active: 2207896 kB Inactive: 1640164 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 65976232 kB LowFree: 61870268 kB SwapTotal: 65537128 kB SwapFree: 65537128 kB Dirty: 8 kB Writeback: 0 kB AnonPages: 431432 kB Mapped: 17436 kB Slab: 180344 kB PageTables: 3996 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 98525244 kB Committed_AS: 845796 kB VmallocTotal: 34359738367 kB VmallocUsed: 294984 kB VmallocChunk: 34359443239 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 Hugepagesize: 2048 kB [root@localhost ~]# free -m total used free shared buffers cached Mem: 64429 4010 60419 0 649 2686 -/+ buffers/cache: 673 63756 Swap: 64001 0 64001 [root@localhost ~]# fdisk -l Disk /dev/sda: 599.5 GB, 599550590976 bytes 255 heads, 63 sectors/track, 72891 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 12761 102398310 83 Linux /dev/sda3 12762 25509 102398310 83 Linux /dev/sda4 25510 72891 380595915 5 Extended /dev/sda5 25510 33668 65537136 82 Linux swap / Solaris /dev/sda6 33669 72891 315058716 83 Linux Disk /dev/sdb: 1798.6 GB, 1798651772928 bytes 255 heads, 63 sectors/track, 218673 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 218673 1756490841 83 Linux

좋은 웹페이지 즐겨찾기