Linux环境下查看服务器硬件信息
查看CPU型号cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c
16 Intel (R) Xeon(R) CPU X5560 @ 2.80GHz
查看物理CPU个数cat /proc/cpuinfo | grep physical | uniq -c
1 physical id : 1
1 physical id : 0
查看CPU运行模式 32位或者64位如果是32位的话并不代表不能运行在64位下getconf LONG_BIT
64
查看是否CPU支持64位系统如果值大于0则支持64位运算 lm指long modecat /proc/cpuinfo | grep flags | grep ' lm ' | wc -l
16
查看内存信息cat /proc/meminfo
MemTotal: 74175052 kB
MemFree: 4242856 kB
Buffers: 675664 kB
Cached: 65423884 kB
SwapCached: 16 kB
Active: 46231212 kB
Inactive: 20719936 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 74175052 kB
LowFree: 4242856 kB
SwapTotal: 75778596 kB
SwapFree: 75778384 kB
Dirty: 60 kB
Writeback: 0 kB
AnonPages: 851416 kB
Mapped: 12422988 kB
Slab: 1495940 kB
PageTables: 1372180 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 112866120 kB
Committed_AS: 21125340 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 299916 kB
VmallocChunk: 34359438111 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 2048 kB
查看当前系统内核信息uname -a
Linux HOSTNAME 2.6. 18-164. el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64GNU/Linux
查看当前操作系统内核信息cat /etc/issue | grep Linux
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
查看服务器型号dmidecode | grep "Product Name"
Product Name: PowerEdge R710
Product Name: 0VWN1R
查看网卡信息dmesg | grep -i eth
Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v1.9.3 (March 17, 2009)eth0: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem d6000000, IRQ106, node addr a4badb28c33deth1: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem d8000000, IRQ114, node addr a4badb28c33feth2: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem da000000, IRQ122, node addr a4badb28c341eth3: Broadcom NetXtreme II BCM5709 1000Base-T (C0) PCI Express found at mem dc000000, IRQ130, node addr a4badb28c343cnic: Added CNIC device: eth0cnic: Added CNIC device: eth1cnic: Added CNIC device: eth2cnic: Added CNIC device: eth3bnx2: eth0: using MSIX
ADDRCONF(NETDEV_UP) : eth0: link is not readybnx2i : iSCSI not supported, dev=eth0bnx2i : iSCSI not supported, dev=eth0bnx2: eth0 NIC Copper Link is Up, 1000 Mbps full duplex
ADDRCONF(NETDEV_CHANGE) : eth0: l ink becomes readyeth0: no IPv6 routers presentprocess `sysctl' is using deprecated sysctl (syscall)net. ipv6.neigh.eth0.base_reachable_time; Usenet. ipv6.neigh. eth0.base_reachable_time_msinstead.
腾讯云双十一活动已于今天正式开启了,多重优惠享不停,首购服务器低至0.4折,比如1C2G5M轻量应用服务器仅48元/年起,2C4G8M也仅70元/年起;个人及企业用户还可以一键领取3500-7000元满减券,用于支付新购、续费、升级等各项账单;企业用户还可以以首年1年的价格注册.COM域名。活动页面:https://cloud.tencent.com/act/double11我们分享的信息仍然以秒...
UCloud优刻得商家这几年应该已经被我们不少的个人站长用户认知,且确实在当下阿里云、腾讯云服务商不断的只促销服务于新用户活动,给我们很多老用户折扣的空间不多。于是,我们可以通过拓展选择其他同类服务商享受新人的福利,这里其中之一就选择UCloud商家。UCloud服务商2020年创业板上市的,实际上很早就有认识到,那时候价格高的离谱,谁让他们只服务有钱的企业用户呢。这里希望融入到我们大众消费者,你...
最近很多网站都遭受到了伪墙/假墙攻击,导致网站流量大跌,间歇性打不开网站。这是一种新型的攻击方式,攻击者利用GWF规则漏洞,使用国内服务器绑定host的方式来触发GWF的自动过滤机制,造成GWF暂时性屏蔽你的网站和服务器IP(大概15分钟左右),使你的网站在国内无法打开,如果攻击请求不断,那么你的网站就会是一个一直无法正常访问的状态。常规解决办法:1,快速备案后使用国内服务器,2,使用国内免备案服...