(cat /dev/urandom | tr -dc A-Za-z0-9 | head -c 50:产生50位随机码)
(cat /dev/urandom | od -x | head -10:查看系统中伪随机设备产生的16进制数据流)
(cat /etc/os-release:所有系统支持的版本查看方法)
(cat /proc/mounts | grep "^/dev":查看磁盘文件系统类型)
(cat /sys/class/net/eno16777736/mtu:查看MUT值)
(cat /etc/centos-release:查看系统版本)
(cat /etc/fedora-release:查看系统版本)
(cat /etc/redhat-release:版本查看)
(cat /proc/version - Linux 的版本号 相当于 uname -r)
(cat /var/log/messages | grep network:查看日志信息)
(cat /proc/cpuinfo |grep "model name":查看cpu型号及核数)
(cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c :查看cpu核心数及型号)
(cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l:查看物理CPU个数)
(cat /proc/cpuinfo| grep "cpu cores"| uniq:查看每个物理CPU中core的个数(即核数))
(cat /proc/cpuinfo| grep "processor"| wc -l:查看逻辑CPU的个数)
(cat /proc/meminfo:内存查看)
(cat /proc/stat | grep ^cpu:查看每一个cpu数据,第一行是总数)
(cat -n -b)
(cat /proc/interrupts:查看cpu中断值)
(cat /proc/cpuinfo)
(cat /proc/meminfo : 如何看额定值)
(cat /proc/sys/kernel/pid_max:系统支持多少进程)
(cat /proc/meminfo | grep -E "SReclaimable|Cached":查看页缓存的大小)
(cat /proc/slabinfo | grep -E '^#|dentry|inode' :查看所有目录项和各种文件系统索引节点的缓存情况,包含以#开头和dentry、inode关键字)
(cat /sys/block/sda/queue/scheduler:查看磁盘IO调度算法)