首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux服务器状态、性能相干命令

2013-12-28 
linux服务器状态、性能相关命令#查看每个物理CPU的核数#逻辑CPU的个数(逻辑CPU 物理CPU个数*核数)-------

linux服务器状态、性能相关命令

#查看每个物理CPU的核数

#逻辑CPU的个数(逻辑CPU = 物理CPU个数*核数)

---------查看Linux服务器内存情况--------------

#查看内存使用情况

[root@host ~]# fdisk -lDisk /dev/sda: 10.7 GB, 10737418240 bytes255 heads, 63 sectors/track, 1305 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytes   Device Boot      Start         End      Blocks   Id  System/dev/sda1   *           1          13      104391   83  Linux/dev/sda2              14          78      522112+  82  Linux swap / Solaris/dev/sda3              79        1305     9855877+  83  Linux

#检查文件系统的磁盘空间占用情况

[root@host /]# du -cks * | sort -rn |head -n 1010953077    total4442100    var4289198    mnt1790236    usr152848    etc132080    lib65604    swapfile34184    sbin20804    lib649840    tftpboot

#将指定的输入文件复制到指定的输出文件中

#利用dd命令可以制作交换文件

[root@host /]# lspci | grep Ether02:01.0 Ethernet controller: Intel Corporation 82545EM Gigabit Ethernet Controller (Copper) (rev 01)

?

热点排行