How to check cpu and memory information in centos system

王林
Release: 2020-03-20 17:30:29
Original
6937 people have browsed it

How to check cpu and memory information in centos system

1、查看CPU

more /proc/cpuinfo | grep "model name"
grep "model name" /proc/cpuinfo
Copy after login

(推荐教程:centos使用教程

How to check cpu and memory information in centos system

2、查看内存

grep MemTotal /proc/meminfo
grep MemTotal /proc/meminfo | cut -f2 -d:
free -m |grep "Mem" | awk '{print $2}'
Copy after login

相关视频教程推荐:linux视频教程

The above is the detailed content of How to check cpu and memory information in centos system. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template