인터넷 검색하다가 찾은 사이트인데, 알아두면 언젠가 쓸만할 것 같아서 기록을 남겨둡니다.

http://www.makeuseof.com/tag/15-useful-commands-every-raspberry-pi-user-should-know/


* 버전 정보 보기

pi@RaspberryPi3:~ $ cat /proc/version
Linux version 4.9.31-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1005 SMP Thu Jun 8 13:02:15 BST 2017

pi@RaspberryPi3:~ $ uname -a
Linux RaspberryPi3 4.9.31-v7+ #1005 SMP Thu Jun 8 13:02:15 BST 2017 armv7l GNU/Linux


* CPU 정보 보기

pi@RaspberryPi3:~ $ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : BCM2835
Revision        : a02082
Serial          : 000000009ff5eecb


* 메모리 정보 보기 (현재 Kodi 동작 중)

pi@RaspberryPi3:~ $ cat /proc/meminfo
MemTotal:         750636 kB
MemFree:          291612 kB
MemAvailable:     600900 kB
Buffers:          152888 kB
Cached:           200668 kB
SwapCached:            0 kB
Active:           165568 kB
Inactive:         256416 kB
Active(anon):      69072 kB
Inactive(anon):     4948 kB
Active(file):      96496 kB
Inactive(file):   251468 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:        102396 kB
SwapFree:         102396 kB
Dirty:                44 kB
Writeback:             0 kB
AnonPages:         68384 kB
Mapped:            74800 kB
Shmem:              5588 kB
Slab:              24476 kB
SReclaimable:      12760 kB
SUnreclaim:        11716 kB
KernelStack:        1512 kB
PageTables:         1960 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      477712 kB
Committed_AS:     512672 kB
VmallocTotal:    1310720 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
CmaTotal:           8192 kB
CmaFree:            6796 kB


* CPU 온도 체크

pi@RaspberryPi3:~ $ vcgencmd measure_temp
temp=53.7'C


* ARM/GPU 메모리 크기

pi@RaspberryPi3:~ $ vcgencmd get_mem arm
arm=752M
pi@RaspberryPi3:~ $ vcgencmd get_mem gpu
gpu=256M


Posted by kkokkal
: