Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

root@raspberrypi-rdk-hybrid:~# fdisk -l
Disk /dev/mmcblk0: 14 GB, 15552479232 bytes, 30375936 sectors
474624 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk0p1 *  64,0,1      841,0,32          8192     107679      99488 48.5M  c Win95 FAT32 (LBA)
/dev/mmcblk0p2    896,0,1     1023,3,32       114688   10711039   10596352 5174M 83 Linux
root@raspberrypi-rdk-hybrid:~# 


Memory Usage

root@raspberrypi-rdk-hybrid:~# df -h
Filesystem
Filesystem                   Size          Used       
 Size
Available   Use%     
 Used Available Use%
Mounted on
/dev/
root
root                    865.5M    552.
0M
0M     252.
0M  69%
0M        69%        /
devtmpfs
devtmpfs                   339.6M        
0    339.6M   0%
0            339.6M        0%           /dev
tmpfs
tmpfs                          468.1M      8.
0K
0K       
 468.1M   0%
468.1M         0%          /dev/shm
tmpfs
tmpfs                       
194
 194.3M      8.
8M
8M       
 185.6M   5%
185.6M         5%         /run
tmpfs
tmpfs                          468.1M        
0    468.1M   0%
0            468.1M        0%         /sys/fs/cgroup
tmpfs
tmpfs                          468.1M      6.
6M
6M       
 461.5M   1%
461.5M       1%          /tmp
tmpfs
tmpfs                          468.1M      6.
6M
6M       
 461.5M   1%
461.5M       1%          /etc/snmp/snmpd.conf
tmpfs
tmpfs                          468.
1M
1M     
 236
236.0K    467.
9M   0%
9M        0%        /var/volatile
/dev/
root
root                 
865
 865.
5M
5M     
 552
552.0M    252.
0M  69%
0M       69%      /var/lib
/dev/
mmcblk0p1  
mmcblk0p1     
   
48.
5M
5M        27.4M     21.
0M  57%
0M          57%      /boot
tmpfs
tmpfs                           
 93
93.6M              
0
    93.
6M   0%
6M          0%        /run/user/0
root@raspberrypi-rdk-hybrid
root@raspberrypi-rdk-hybrid:~#  free -lh
                       
total
total         used        free     
 free
   
 shared  buff
shared    buff/cache   available
Mem:           936M        571M        217M        
26M
26M           147M        311M
Low:          
936M
936M         
 718M
718M        217M
High:            0B     
 0B
         0B          0B
Swap:            0B     
 0B
       
 0B
0B          0B
root@raspberrypi-rdk-hybrid:~#

Boot memory Information

ComponentSize
Kernel code9216K
RW data737K
RO data2928K
init1024K
BSS853K
vmalloc1097K
cma  total262K
KernelStack2536 kB
Shmem14596 kB
tmpfs95876k
devtmpfs347800k

...

   Size of tmpfs partition can be changed by using fstab. Below are the list of tmpfs partitions

tmpfs                   468.1M      4.0K     468.1M   0%   /dev/shm
tmpfs                   194.3M      8.8M     185.5M   5%   /run
tmpfs                   468.1M         0         468.1M   0%   /sys/fs/cgroup
tmpfs                   468.1M      2.2M     466.0M   0%    /tmp
tmpfs                   468.1M      2.2M      466.0M   0%   /etc/snmp/snmpd.conf
tmpfs                   468.1M    320.0K    467.8M   0%    /var/volatile