如何在Ubuntu18.04系统化查看系统化情报
如何在Ubuntu18.04体系查看体系资料
在Ubuntu18.04体系中,如何查看体系相关资料?本文将针对此问题进行详尽说明。
1.磁盘资料
df -h
显示磁盘剩余空间
du -h
显示当前目录里下材料大小占用
2.Cpu资料
查看cpu型号
cat /procuinfo | grep name | cut -f2 -d: | uniq -c
查看CPU资料概况
lscpu
3.缓存资料
单独查看缓存使用情况
free -m
查看缓存及CPU使用情况
top
4.体系资料
查看体系内核版本
uname -a
查看体系版本
lsb_release -a