I need a database to record some metrics on my vehicle. I installed a Raspberry Pi 2 and loaded Arch Arm Linux. After I installed the database software, I was concerned I was dealing w/ a 32-bit OS:
$this->bbcode_second_pass_code('', '[root@rpi1 ~]# uname -a
Linux rpi1 4.1.15-5-ARCH #1 SMP Wed Jan 20 14:05:45 MST 2016 armv7l GNU/Linux
')
$this->bbcode_second_pass_code('', ' grep -w lm /proc/cpuinfo')
When I query the database software from the database directly:
$this->bbcode_second_pass_code('', 'postgres=# SELECT version() AS pg_info;
pg_info
-----------------------------------------------------------------------------------------
PostgreSQL 9.4.5 on armv7l-unknown-linux-gnueabihf, compiled by gcc (GCC) 5.2.0, 32-bit
(1 row)
')
How do I verify I'm running a 64-bit OS w/ Arch Arm Linux? It's not specified in the kernel name like I see on my x86 version.