zoukankan      html  css  js  c++  java
  • centos 查看硬盘情况

      1. lsblk                                                                                  查看分区磁盘

      2. df -h                                                                                            查看空间使用情况

      3. fdisk -l                                                                                         分区工具查看分区信息

      4. cfdisk /dev/sda                                                                            查看分区

      5. blkid                                                                                            查看硬盘label(别名)
      6. du -sh ./*                                                                                     统计当前目录各文件夹大小
      7. free -h                                                                                         查看内存大小
      8. cat /proc/cpuinfo| grep "cpu cores"| uniq                                    查看cpu核心数
      9. cat /proc/cpuinfo| grep "physical id"|uniq| wc -l                                查看物理cpu个数
      10. cat /proc/cpuinfo| grep "processor"| wc -l                                         查看逻辑cpu的个数
  • 相关阅读:
    WPF 进度条
    WPF CPU使用率线性表
    Android annotation
    git 操作
    git 合并指定目录到master
    远程连接mysql报错,ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)解决方案
    centos7 安装python2.7.14 并与原版本共存
    pycahrm 断点调试
    ImportError: No module named Crypto.Cipher 报错解决方法
    python操作 rabbitMQ
  • 原文地址:https://www.cnblogs.com/zhaoying/p/11739825.html
Copyright © 2011-2022 走看看