跳转到主要内容
你行网

Main navigation

  • 首页
  • Drupal
  • 编程与开发
  • 数据库
  • 操作系统与应用
  • 服务器与运维
  • 社区
User account menu
  • 登录

面包屑

  1. 首页

linux 命令查看内存和cpu信息

由 hrs, 7 七月, 2022

linux 命令查看内存和cpu信息

1、查看CPU信息命令

cat /proc/cpuinfo

2、使用top命令查看CPU的使用情况

top

top.png
3、free命令查看内存

free

total used free shared buffers cached

Mem: 32830804 32507748 323056 0 1190024 27605852

free.png

4、df(disk free):显示磁盘分区上可以使用的磁盘空间

-a #查看全部文件系统,单位默认KB
-h #使用-h选项以KB、MB、GB的单位来显示,可读性高~~~(最常用)

df.png
5、 du (disk usage): 显示每个文件和目录的磁盘使用空间,也就是文件的大小。
命令参数:

-k 、 -m #显示目录中文件的大小,-k 单位KB,-m 单位MB
-h #以K M G为单位显示,提高可读性(最常用的一个)

du.png

 

  • 登录或注册以发表评论

文章标签

  • Linux

评论

文章标签

CSS
Excel
ubuntu
php
vim
五笔
Linux
VPN
command
HTML
drupal 8
drupal 7
centos
composer
Mysql
drush
模块(module)
Drupal
JavaSrcipt
apache
drupal 9
英语
nerdtree
SEO
network
果树种植
surround
drupal10
主题(theme)
ssh
phpmyadmin
yum
二进制
权限
声音
ssl
selinux
HTML5
WireGuard
password
Dreamweaver
DDEV
flameshot
翻译
颜色
uploadprogress
firewalld
kernel
邮件验证
视图(views)
快捷键
gzip
xdebug
错误
电脑基础
ckeditor
C语言
简介
源地址
mbstring
certbot
php扩展
git
csharp
httpd
apt
电子秤
压缩解压
breadcrumb
表单
短信验证
AI
firmware
摄影
diff
superfish
重定向
drupal 11
网站备份
docker
版本号
tagclouds
java
RSS
adsense
端口
电脑技巧
simple_adsense
KVM
算法
youtube
JavaScript
cookie
badblocks
网站运营
计算机基础
RFID
zip
标签优化
VUE
dns
gimp
form
mod_expires 模块
赚钱
ip
http验证
curl
重定向,301
netstat
字段
maven
input
nginx
哈希值
npm
wps
更多

相关文章

  • journalctl 的使用和简介
  • 在Linux系统中如何查看显卡驱动
  • Linux查看网卡驱动的方法
  • linux 表示当前目前符号
  • linux 添加用户命令
  • linux 更改当前用户密码
  • linux 查看系统的使用状态
  • echo $PATH 输出当前PATH环境变量
  • 在linux 命令行中加入-vvv 的意思
  • linux uname 命令的用法
RSS源

友情链接 网站地图 版权信息 联系我们 网址导航 社区

Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号