This question already has an answer here:
I found that into the directory
/sys/block I can list the block devices
[root@srv block]# ls loop0 loop3 loop6 ram1 ram12 ram15 ram4 ram7 sda loop1 loop4 loop7 ram10 ram13 ram2 ram5 ram8 loop2 loop5 ram0 ram11 ram14 ram3 ram6 ram9
But is this the real number of the RAM sticks installed on the server?
When I navigate to one ram* folder and list the file size I get this value:
[root@srvram1]# cat size 32768
Can you give me some information about this directory and how to get the size of the RAM stick?