ITPub博客

首页 > 应用开发 > IT综合 > 查看操作系统基本信息

查看操作系统基本信息

原创 IT综合 作者:chenoracle 时间:2016-12-11 20:04:29 0 删除 编辑

查看操作系统基本信息

 

操作系统

Windows

Linux

AIX

HP_UX

Solaris

服务器型号与配置

systeminfo

dmidecode |  grep "Product Name"

prtconf

machinfo

prtdiag -v

系统版本

计算机

右键属性

winver

cat  /etc/issue 或 lsb_release -a

oslevel -s 或 bootinfo -r

machinfo

uname -a 或 showre 或 cat /etc/release

系统位数

计算机

右键属性

或 systeminfo

uname -r

uname -a

执行 prtconf 命令,查找 "kernel type" 字段

执行 machinfo 命令,查找 "kernel type" 字段

uname -a

逻辑 CPU 个数

msinfo32

 

top 或

cat  /proc/cpuinfo| grep "processor"| wc -l

pmcycles -m

machinfo 或

ioscan  -fnCprocessor 或 vmstat

mpstat

CPU 使用率

任务管理器

top

topas

vmstat

iostat 或

sar -u 3 10

内存大小

任务管理器

systeminfo

free -m 或

top 或 vmstat

topas 或 vmstat

top 或 vmstat

prtconf |  grep Memory

内存使用率

任务管理器

free -m 或

top 或 vmstat

topas 或 vmstat

top 或 vmstat

vmstat

磁盘空间

我的电脑

df -h

df -g

df -k 或 dbf

df -h

IO 负载

任务管理器

iostat 1 10

topas 或 iostat

iostat 或 sar

iostat

网络

ping

ping

ping

ping

ping

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29785807/viewspace-2130244/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
Oracle ACE、OCMU 用户组成员、Oracle 11g OCM、微信公众号"IT小Chen"

注册时间:2014-08-05

  • 博文量
    853
  • 访问量
    2725270