라즈베리파이 2 B 모델에 랜선과 microSD 카드만 있는 상태에서 측정한 소비전력입니다.

HDMI, USB 연결하지 않은 상태입니다.


[라즈베리파이] 기본장치 소비전력 측정

아이들에서 1.5W


[라즈베리파이] 기본장치 소비전력 측정

코어 4개 부하 걸은 상태에서 2.0W

초소형 컴퓨터 답게 소비전력 하나는 마음에 드는군요~


아이들 상태에서 2.5 하드디스크 외장하드를 USB 에 물렸더니 순간 4.9W 까지 올라가네요~

그리고 shutdown 명령어로 파워가 꺼진 상태에서는 0.5W 가 먹는데 이건 요즘 PC 보다 조금더 먹거나 비슷한 것 같습니다.


서버 운영시 소비전력은 적지만 수명이 짧은 SD 카드만으로 운영하다가 고장나면 다른 SD 카드로 바꿔주느냐,

아니면 소비전력은 좀 더 먹지만 USB 외장하드로 운영을 하느냐 고민이 좀 되는군요~



블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,

CPU 온도를 체크 하려고 스트레스 프로그램을 설치하여서 확인해 보았습니다.

# yum install stress

# stress -c 4
stress: info: [1930] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd

CentOS CPU 부하 프로그램

[root@ivps ~]# stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s
stress: info: [1960] dispatching hogs: 8 cpu, 4 io, 2 vm, 0 hdd
stress: info: [1960] successful run completed in 10s

 

블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,

라즈베리파이와 안드로이드 폰에서 리눅스 명령어로 CPU 온도가 궁금해서 찾아봤습니다.

lm_sensors 유틸을 설치하고 sensors 명령어를 실행하면 됩니다.

# yum install lm_sensors

sensors-detect
# sensors-detect revision 3.4.0-6 (2016-06-01)
# DMI data unavailable, please consider installing dmidecode 2.7
# or later for better results.
# Kernel: 4.14.111-v7.1.el7 armv7l
**********
Your processor's architecture is not yet supported. Beware that sensors-detect might not work properly!
**********

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
  계속 yes 를 입력합니다.

# sensors
...
pm8921_tz-virtual-0 

Adapter: Virtual device
temp1:        +35.5 C  (crit = +145.0 C)

pm8821_tz-virtual-0
Adapter: Virtual device
temp1:        +37.0 C  (crit = +145.0 C)

pm8821 이 CPU 온도로 보여집니다.

위 값은 안드로이드 폰에 설치된 CentOS 에서 가져온 온도입니다.

라즈베리파이에서는 위 유틸로 측정이 안되는군요~

# cat /sys/devices/virtual/thermal/thermal_zone0/temp
37932 ( 아이들 상태 )

44388 ( CPU 부하 상태 )

위 값에서 1000 을 나누면 온도 값인 듯 합니다.

 

블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,

먼저 php 5.4 를 설치하고 아래 repo 를 추가해고 yum update 를 해주시면 됩니다.

cat > /etc/yum.repos.d/epel.repo << EOF
[epel]
name=Epel rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
enabled=1
gpgcheck=0
EOF

cat > /etc/yum.repos.d/php72-testing.repo << EOF
[php72-testing]
name=Remi php72 rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/community-php72-testing/
enabled=1
gpgcheck=0
EOF

cat > /etc/yum.repos.d/remi.repo << EOF
[remi]
name=Remi's RPM repository for Enterprise Linux 7 - $basearch
mirrorlist=http://cdn.remirepo.net/enterprise/7/remi/mirror
enabled=1
gpgcheck=1
gpgkey=https://rpms.remirepo.net/RPM-GPG-KEY-remi
EOF

 

  출처 : https://blog.centos.org/2018/01/php-7-2-for-centos-7-armhfp/

repo 를 먼저 추가해 주고 설치해도 됩니다.

 

블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,

가성비 폰으로 좋다는 샤프 아쿠오스 S3 의 CPU-Z 에서 확인한 하드웨어 사양입니다.

듀얼유심이기는한데 테스트 해보니 아쉽게도 듀얼심을 지원하지 않네요~

 

칩셋 : 퀄컴 스냅드래곤 630 A53 옥타코어 2.2GHz + 1.8GHz

GPU : 아드레노 508

샤프 아쿠오스 S3 FS8032 CPU-Z

디스플레이 : LCD 6인치

해상도 : 1080 x 2160

RAM : 3724MB ( 4GB )

ROM : 48.22GB ( 64GB )

샤프 아쿠오스 S3 FS8032 CPU-Z

외부 microSD 카드는 128GB 까지 지원하고 exFAT 미지원, FAT32 로 포맷해야 하네요~

그리고 일체형 배터리 용량은 3200mAh 입니다.

무게는 165g 인데 조금 무겁게 느껴지네요~

 

'IT제품' 카테고리의 다른 글

USB 충전 전압 및 전류 표시 케이블  (0) 2019.05.22
구형 넷북 SSD 교체  (0) 2019.05.12
Dell Inspiron USB-HDD Booting  (1) 2019.04.04
BIOSTAR S100 120GB CrystalDiskInfo  (0) 2018.12.10
Intel SSD 330 Series 60G 벤치  (0) 2018.11.13
블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,

라즈베리파이용으로 배포된 이미지를 SD 카드에 구웠더니 16GB 용량인데도 root 파티션이 너무 작게 잡혀있네요~

4G 용량 이하로 이미지가 만들어졌는가 봅니다.

남아있는 공간을 할당하여 사이즈를 확장하는 방법입니다.

늘였다가 줄이기는 안됩니다. ( 먹통이 됩니다. )

[root@localhost ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       1.4G  1.3G  112M  92% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   12M  452M   3% /run
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1  667M   43M  625M   7% /boot
tmpfs            93M     0   93M   0% /run/user/0

[root@localhost ~]# fdisk /dev/mmcblk0
Welcome to fdisk (util-linux 2.23.2).

Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p

Disk /dev/mmcblk0: 15.8 GB, 15819866112 bytes, 30898176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000cc7a5

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048     1370111      684032    c  W95 FAT32 (LBA)
/dev/mmcblk0p2         1370112     2369535      499712   82  Linux swap / Solaris
/dev/mmcblk0p3         2369536     5298175     1464320   83  Linux  ( 이 부분을 지웠다가 다시 늘여줍니다. )
   ( 시작블럭이 같고 뒷쪽에 남아있는 영역을 사용하는 것은 기존 파일이 있더라도 가능한가 봅니다. )

Command (m for help): d
Partition number (1-3, default 3): 3
Partition 3 is deleted

Command (m for help): p

Disk /dev/mmcblk0: 15.8 GB, 15819866112 bytes, 30898176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000cc7a5

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048     1370111      684032    c  W95 FAT32 (LBA)
/dev/mmcblk0p2         1370112     2369535      499712   82  Linux swap / Solaris

Command (m for help): n
Partition type:
   p   primary (2 primary, 0 extended, 2 free)
   e   extended
Select (default p): p
Partition number (3,4, default 3):
First sector (2369536-30898175, default 2369536):
Using default value 2369536
Last sector, +sectors or +size{K,M,G} (2369536-30898175, default 30898175):
Using default value 30898175
Partition 3 of type Linux and of size 13.6 GiB is set

Command (m for help): p

Disk /dev/mmcblk0: 15.8 GB, 15819866112 bytes, 30898176 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000cc7a5

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1   *        2048     1370111      684032    c  W95 FAT32 (LBA)
/dev/mmcblk0p2         1370112     2369535      499712   82  Linux swap / Solaris
/dev/mmcblk0p3         2369536    30898175    14264320   83  Linux  ( 엄청 늘어났습니다. )

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks. ( 재부팅하라고 하네요~ )

[root@localhost ~]# reboot
login as: root
root@192.168.1.3's password:
Last login: Wed May  8 13:57:11 2019 from 192.168.1.83
[root@localhost ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       1.4G  1.3G  113M  92% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   12M  452M   3% /run
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1  667M   43M  625M   7% /boot
tmpfs            93M     0   93M   0% /run/user/0


[root@localhost ~]# resize2fs /dev/mmcblk0p3 ( 리사이즈 명령어를 실행합니다. )
resize2fs 1.42.9 (28-Dec-2013)
Filesystem at /dev/mmcblk0p3 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 2
The filesystem on /dev/mmcblk0p3 is now 3566080 blocks long.

[root@localhost ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        14G  1.3G   13G  10% /
devtmpfs        460M     0  460M   0% /dev
tmpfs           464M     0  464M   0% /dev/shm
tmpfs           464M   12M  452M   3% /run
tmpfs           464M     0  464M   0% /sys/fs/cgroup
/dev/mmcblk0p1  667M   43M  625M   7% /boot
tmpfs            93M     0   93M   0% /run/user/0

늘어난 용량을 확인할 수가 있습니다.

이렇게 늘인 공간을 다시 줄이기는 안되는군요~

 

블로그 이미지

영은파더♥

가상서버호스팅 VPS 리눅스 서버관리 윈도우 IT

,