几个系统检测命令

Windows:使用systeminfo命令

Linux:uname -a (查看操作系统信息、主机名、cpu种类、当期时间等)如:Linux localhost.localdomain 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux

cat /proc/cpuinfo 查看cpu的具体信息
grep "CPU" /proc/cpuinfo
cat /proc/meminfo  查看内存信息
fdisk -l  查看磁盘分区信息
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

查看操作系统内核:
lsb_release -a
LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID: CentOS
Description: CentOS release 5.2 (Final)
Release: 5.2
Codename: Final

ifconfig -a 查看网络、ip地址信息

cat /etc/passwd  查看用户

你可能感兴趣的:(linux,OS)