People giving "Interleaved Data Depth" as the answer are not correct. Interleaved Data Depth either is not the correct indicator or is very commonly misreported (If it's reported at all).
An easy way to obtain how many channels you're using is to do something like the following:
sudo dmidecode -t 17 | awk 'BEGIN { FS=":"; OFS="\t" } /Size|Channel/ { line = (line ? line OFS : "") $2 } /^$/ { print line; line="RAM" }' | grep -iv 'no'
sample output (Dual channel):
RAM 32 GB ChannelA-DIMM0RAM 32 GB ChannelB-DIMM0
On this same machine, let's check Interleaved Data Depth:
sudo dmidecode | grep Interleaved
output:
Interleaved Data Depth: 1Interleaved Data Depth: 1
On this same machine was also verified in Windows via CPU-Z. Under memory was reported verbatim: Dual Channel
So Interleaved Data Depth is incorrect but we can easily check our channels (A, B, C, D, etc.).