Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.查看Flash容量大小(存储空间,可以理解为电脑的硬盘)
- root@OpenWrt:/# dmesg |grep spi |grep Kbytes
- [ 0.530000] m25p80 spi0.0: w25q128 (16384 Kbytes)
- 16384/1024=16M 即是16M的Flash
- 2.查看RAM容量大小(可以理解为电脑的内存条)
- root@OpenWrt:/# cat /proc/meminfo |grep MemTotal
- MemTotal: 126204 kB
- 查看RAM大小 (单位kB)
- root@OpenWrt:/# free -h |grep Mem | awk -F ’ ’ ‘{print $2}’
- 126204
- 已使用的RAM大小(单位kB)
- root@OpenWrt:/# free -h |grep Mem | awk -F ’ ’ ‘{print $3}’
- 39444
- 空闲可用的RAM大小(单位kB)
- root@OpenWrt:/# free -h |grep Mem | awk -F ’ ’ ‘{print $4}’
- 86884
- 3.CPU内存主频型号信
- 查看CPU主频
- root@OpenWrt:/# dmesg |grep Clocks |awk -F ’ ’ ‘{print $4}’
- CPU:560.000MHz,
- 查看系统类型
- root@OpenWrt:/# cat /proc/cpuinfo |grep ‘system type’
- system type : Atheros AR9344 rev 2
- 查看CPU型号
- root@OpenWrt:/# cat /proc/cpuinfo |grep ‘cpu model’
- cpu model : MIPS 74Kc V4.12
- 查看设备型号
- root@OpenWrt:/# cat /proc/cpuinfo |grep ‘machine’
- machine : TP-LINK TL-WDR3600/4300/4310
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement