it's a raspberry pi

Editorials

 Setups & configurations

anchor life saver

 We got some boring movies

🎥 Cinematique

 Regarding unity3d

🙂 In-game char icons
Externals

 All about pirate games

⚓ Pirates ahoy!

 This is German language

💻 Linux - ubuntusers.de
Windward bathtub
Tasharen Windward Game

 Social news aggregation

🌍 Windward #reddit
Windward intensive

 Official Windward wiki

🛠 Wiki @gamepedia
Front desk clerk

No ads, no trackers,
no web beacons

rum barrel
Something else

 Get the weather widget

🌤 Weather code snippet

 Hotchpotch of weblinks

📖 Yellow pages
Archives
Tag cloud

Raspberry Pi | System information


Apache Setup Raspberry Pi mini computer to dedicated game server. LAMP. Apache Raspberry Pi mini computer. Dedicated game server.
That is simply just another http web server powered by Apache Software
and the Raspberry Pi Foundation with Raspbian Debian OS Stretch Lite on it.


Running the Raspberry Pi headless.
Headless is a term used to describe a machine that does not have a display.


user@raspberry:~ $ sudo su


Display hardware information


root@raspberry:~# cat /proc/cpuinfo


          processor       : 0
          model name      : ARMv7 Processor rev 5 (v7l)
          BogoMIPS        : 38.40
          Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva ...
          CPU implementer : 0x41
          CPU architecture: 7
          CPU variant     : 0x0
          CPU part        : 0xc07
          CPU revision    : 5
          ...
          ...
          Hardware        : BCM2835
          Revision        : a01041
          Serial          : 00000000c6575ace
          

root@raspberry:~# vcgencmd measure_clock arm


          frequency(45)=700000000 (700Mhz)
          

Explore the current CPU frequency along with the minimum and maximum frequencies.


          cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
          cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
          cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
          

root@raspberry:~# vcgencmd measure_temp


To measure processor temperature each two seconds, use the command


root@raspberry:~# watch /opt/vc/bin/vcgencmd measure_temp


          temp=34.7'C
          

root@raspberry:~# vcgencmd measure_volts core


          volt=1.2000V
          

root@raspberry:~# ifconfig


          eth0  Link encap:Ethernet  Hardware Address b8:27:eb:57:5a:ce
                inet Address:192.168.178.27  Bcast:192.168.178.255  Mask:255.255.255.0
                inet6-Address: fe80::7f20:5c1c:da0f:51fc/64 ...
                
          lo    Link encap:Local Loop
                inet Address:127.0.0.1  Mask:255.0.0.0
                inet6-Address: ::1/128 ...
          

root@raspberry:~# cat /proc/partitions


          1        0       4096 ram0
          1        1       4096 ram1
          1        2       4096 ram2
          ...
          ...
          179      0       15637504 mmcblk0
          179      1       64512 mmcblk0p1
          179      2       15568896 mmcblk0p2
          

root@raspberry:~# fdisk -l


          ...
          ...
          Device         Boot  Start      End  Sectors  Size Id Type
          /dev/mmcblk0p1        8192   137215   129024   63M  c W95 FAT32 (LBA)
          /dev/mmcblk0p2      137216 31275007 31137792 14.9G 83 Linux
          

root@raspberry:~# cat /proc/meminfo


          MemTotal:        1000312 kB
          MemFree:          397200 kB
          MemAvailable:     836788 kB
          Buffers:           39124 kB
          Cached:           444048 kB
          SwapCached:            0 kB
          Active:           231652 kB
          Inactive:         334700 kB
          ...
          ...
          

root@raspberry:~# cat /proc/lsusb


          Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 ...
          ... Fast Ethernet Adapter
          Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
          Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
          

Display software information


root@raspberry:~# cat /proc/version


          Linux version 4.9.46-v7+ (dc4@dc4-XPS13-9333) (gcc version 6.4.0 (crosstool- ...
          ... NG crosstool-ng-1.23.0-174-g9ee0e06f) ) #1032 SMP Wed Aug 30 12:09:14 BST 2017
          

root@raspberry:~# uname -a


          Linux Pi2B 4.9.46-v7+ #1032 SMP Wed Aug 30 12:09:14 BST 2017 armv7l GNU/Linux
          

root@raspberry:~# apt-cache policy


          100 /var/lib/dpkg/status
          release a=now
          500 http://archive.raspberrypi.org/debian/ jessie/ui armhf Packages
          release o=Raspberry Pi Foundation,a=stable,n=jessie,l=Raspberry Pi
          Foundation,c=ui
          origin archive.raspberrypi.org
          500 http://archive.raspberrypi.org/debian/ jessie/main armhf Packages
          release o=Raspberry Pi Foundation,a=stable,n=jessie,l=Raspberry Pi
          Foundation,c=main
          origin archive.raspberrypi.org
          ...
          ...
          

Have a list of all software packages & versions that are installed on your Raspberry Pi.
In terminal the output is pagewise. Press Enter for scrolling.


root@raspberry:~# dpkg --list | pg


23-Oct 2017


inxi terminal command | tool to check hardware information


Find what hardware has the OS detected and how well.

Outputs are from a headless Raspberry Pi.


root@raspberry:~# apt install inxi


          ...
          0 upgraded, 41 newly installed, 0 to remove and 0 not upgraded.
          Need to get 3,139 kB of Archive.
          After this operation, 8,773 kB of additional disk space will be used.
          Do you want to continue? [Y/n]
          

root@raspberry:~# inxi -F


          System:    Host: Hafenzoll Kernel: 4.14.48-v7+ armv7l (32 bit) Console: tty 1 ...
          Machine:   No /sys/class/dmi, using dmidecode: no machine data available
          CPU:       Quad core ARMv7 rev 5 (v7l) (-MCP-) (ARM)
          Clock Speeds: 1: 900 MHz 2: 900 MHz 3: 900 MHz 4: 900 MHz
          Graphics:  Card: Failed to Detect Video Card!
          Display Server: N/A driver: N/A tty size: 174x49 Advanced Data: N/A for root ...
          Audio:     Card bcm2835 ALSA driver: bcm2835_alsa Sound: ALSA v: k4.14.48-v7+
          Network:   Card: Standard Microsystems SMSC9512/9514 Fast Ethernet Adapter
          IF: N/A state: N/A speed: N/A duplex: N/A mac: N/A
          Partition: ID-1: / size: 15G used: 4.8G (35%) fs: ext4 dev: /dev/root
          ID-2: /boot size: 63M used: 23M (36%) fs: vfat dev: /dev/mmcblk0p1
          Sensors:   None detected - is lm-sensors installed and configured?
          Info:      Processes: 106 Uptime: 7:55 Memory: 134.4/976.8MB Init: systemd ...
          

root@raspberry:~# inxi -h


          inxi supports the following options. You can combine them, or list them one 
          by one.
          ...
          

17-Jun 2018

Hafenzoll 2019