1.查看分区和磁盘:
lsblk
2.查看空间使用情况:
df -h
3.分区工具查看分区信息:
fdisk -l
4.查看分区:
cfdisk /dev/sda
5.查看硬盘label(别名):
blkid
6.统计当前目录各文件夹大小:
du -sh ./*
7.查看内存大小:
free -h
6.查看CPU核心数:
cat /proc/cpuinfo| grep "cpu cores"| uniq
lsblk
df -h
fdisk -l
cfdisk /dev/sda
blkid
du -sh ./*
free -h
cat /proc/cpuinfo| grep "cpu cores"| uniq