美文网首页
shell查看系统性能常用命令

shell查看系统性能常用命令

作者: 比巴卜超软泡泡糖 | 来源:发表于2021-09-10 10:05 被阅读0次

查看当前CPU负载

# uptime 
 17:35:01 up 16:02,  3 users,  load average: 0.00, 0.02, 0.05

查看内存使用

# free -m 
         total        used        free      shared  buff/cache   available
Mem:      1984         154        1508           8         321        1632
Swap:     2047           0        2047

更多帮助
# free --help

查看磁盘使用

# df -TH

查看系统版本和内核

[root@linux-server ~]# cat /etc/redhat-release  #查看版本
CentOS Linux release 7.4.1708 (Core)
[root@linux-server ~]# uname -a #看查正在运行的内核版本
Linux linux-server 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@linux-server ~]# uname -r  #查看内核版本
3.10.0-693.el7.x86_64

相关文章

  • shell查看系统性能常用命令

    查看当前CPU负载 查看内存使用 查看磁盘使用 查看系统版本和内核

  • Linux常用命令(更新ing)

    系统常用命令 目录、文件操作 性能 top #使用top命令查看资源占用情况 pidstat ...

  • Mac-查看/修改系统支持的shell & 指令

    查看系统支持的shell风格 查看当前系统默认的shell 查看当前使用的shell 将系统默认shell切换为z...

  • 查看Shell

    可用shell查看cat /etc/shells 系统默认shell查看echo $SHELL

  • SHELL

    查看系统用的shell echo $SHELL 查看系统拥有的shell cat /etc/shells 使用sh...

  • Ubuntu 18.04 LTS下安装zsh和oh-my-zsh

    1.安装zsh 查看系统当前使用的shell echo $SHELL 查看系统安装了哪些shell cat /et...

  • Shell编程、part1

    1.shell简介2. shell分类3. 查看shell4. 第一个shell脚本5. shell编程常用命令5...

  • android 简记

    adb常用命令 查看设备信息:adb shell dumpsys display | findstr Displa...

  • mysql 查看性能

    mysql查看性能常用命令 1、查看mysql版本号:select version(); 2、查看mysql存储引...

  • zsh

    查看当前环境shell 查看系统自带哪些shell 安装zsh 将zsh设置为默认shell 可以通过echo $...

网友评论

      本文标题:shell查看系统性能常用命令

      本文链接:https://www.haomeiwen.com/subject/mxzvwltx.html