Try du -shcx /* to see how much disk space directory is taking, then drill
down from there. If I had to guess, and yes I'd suggest /var/log is a good
bet...


On 31 December 2013 04:01, <james.wang....@gmail.com> wrote:

> So, I just noticed that after I boot Angstrom on BBB, the available memory
> listed for the rootfs drops steadily...
> I'm not running any apps or doing anything, except SSH session and
> periodically doing 'df'.
> I disconnected eth0 and there is no wireless dongle.
>
> Eventually the 'free' value reaches zero.  I do recall that the when I
> updated the eMMC, the reported free was about 50MB.  I installed a bunch of
> node.js libs, but it only got to about 20MB.
> But, I just noticed that the free value was decreased while I basically
> did nothing.  I suppose something could be logging bunch of errors
> somewhere.
>
> Anyone else notice anything like this?
>
> oot@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1644860      3360 100% /
> /dev/root        1738184 1644860      3360 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     288    255004   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1644900      3320 100% /
> /dev/root        1738184 1644900      3320 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     288    255004   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1644900      3320 100% /
> /dev/root        1738184 1644900      3320 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     288    255004   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1644928      3292 100% /
> /dev/root        1738184 1644928      3292 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     288    255004   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1644956      3264 100% /
> /dev/root        1738184 1644956      3264 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1644964      3256 100% /
> /dev/root        1738184 1644964      3256 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1645648      2572 100% /
> /dev/root        1738184 1645648      2572 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
> root@beaglebone:~# ps -A
>   PID TTY          TIME CMD
>     1 ?        00:00:00 systemd
>     2 ?        00:00:00 kthreadd
>     3 ?        00:00:00 ksoftirqd/0
>     4 ?        00:00:00 kworker/0:0
>     5 ?        00:00:00 kworker/0:0H
>     6 ?        00:00:00 kworker/u:0
>     7 ?        00:00:00 kworker/u:0H
>     8 ?        00:00:00 migration/0
>     9 ?        00:00:00 rcu_bh
>    10 ?        00:00:00 rcu_sched
>    11 ?        00:00:00 watchdog/0
>    12 ?        00:00:00 khelper
>    13 ?        00:00:00 kdevtmpfs
>    14 ?        00:00:00 netns
>    15 ?        00:00:00 kworker/0:1
>    16 ?        00:00:00 bdi-default
>    17 ?        00:00:00 kintegrityd
>    18 ?        00:00:00 kblockd
>    19 ?        00:00:00 khubd
>    20 ?        00:00:00 irq/86-44e0b000
>    21 ?        00:00:00 kworker/u:1
>    24 ?        00:00:00 irq/23-tps65217
>    27 ?        00:00:00 irq/46-4819c000
>    36 ?        00:00:00 rpciod
>    38 ?        00:00:00 khungtaskd
>    39 ?        00:00:00 kswapd0
>    40 ?        00:00:00 fsnotify_mark
>    41 ?        00:00:00 nfsiod
>    42 ?        00:00:00 crypto
>    45 ?        00:00:00 pencrypt
>    46 ?        00:00:00 pdecrypt
>    53 ?        00:00:00 OMAP UART0
>    57 ?        00:00:00 kpsmoused
>    58 ?        00:00:00 irq/150-mmc0
>    70 ?        00:00:00 kworker/u:2
>    73 ?        00:00:00 mmcqd/1
>    74 ?        00:00:00 mmcqd/1boot0
>    75 ?        00:00:00 mmcqd/1boot1
>    76 ?        00:00:00 deferwq
>    79 ?        00:00:00 kworker/0:1H
>    80 ?        00:00:00 jbd2/mmcblk0p2-
>    81 ?        00:00:00 ext4-dio-unwrit
>    86 ?        00:00:04 systemd-journal
>    92 ?        00:00:00 systemd-udevd
>    95 ?        00:00:00 kworker/0:2
>   106 ?        00:00:00 krfcommd
>   122 ?        00:00:00 crond
>   123 ?        00:00:00 connmand
>   125 ?        00:00:00 g-ether-load.sh
>   129 ?        00:00:05 node4
>   130 ?        00:00:01 node
>   131 ?        00:00:00 systemd-logind
>   133 ?        00:00:00 dbus-daemon
>   137 tty1     00:00:00 agetty
>   138 ?        00:00:00 gdm-binary
>   177 ?        00:00:00 flush-179:0
>   181 ?        00:00:00 file-storage
>   183 ?        00:00:00 gdm-simple-slav
>   188 ?        00:00:00 wpa_supplicant
>   203 tty2     00:00:01 X
>   207 ttyO0    00:00:00 agetty
>   210 ?        00:00:00 udhcpd
>   263 ?        00:00:00 cfg80211
>   268 ?        00:00:00 console-kit-dae
>   335 ?        00:00:00 polkitd
>   401 ttyGS0   00:00:00 agetty
>   409 ?        00:00:01 dropbear
>   411 ?        00:00:00 gdm-session-wor
>   413 ?        00:00:00 upowerd
>   462 pts/0    00:00:00 sh
>   467 ?        00:00:00 ntpd
>   493 ?        00:00:00 gnome-session
>   500 ?        00:00:00 ssh-agent
>   503 ?        00:00:00 dbus-launch
>   504 ?        00:00:00 dbus-daemon
>   507 ?        00:00:00 gconfd-2
>   516 ?        00:00:00 gnome-keyring-d
>   519 ?        00:00:00 gnome-settings-
>   521 ?        00:00:00 gvfsd
>   527 ?        00:00:00 gvfs-fuse-daemo
>   536 ?        00:00:00 metacity
>   538 ?        00:00:00 gvfs-gdu-volume
>   539 ?        00:00:00 udisks-daemon
>   540 ?        00:00:01 gnome-panel
>   541 ?        00:00:00 udisks-daemon
>   546 ?        00:00:00 gvfs-gphoto2-vo
>   548 ?        00:00:01 nautilus
>   552 ?        00:00:00 wnck-applet
>   553 ?        00:00:00 gnome-power-man
>   554 ?        00:00:00 connman-applet
>   555 ?        00:00:00 gdu-notificatio
>   556 ?        00:00:00 bluetooth-apple
>   566 ?        00:00:00 clock-applet
>   573 ?        00:00:00 notification-ar
>   577 ?        00:00:00 gvfsd-trash
>   581 ?        00:00:00 gsd-datetime-me
>   592 pts/0    00:00:00 ps
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1645688      2532 100% /
> /dev/root        1738184 1645688      2532 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1645684      2536 100% /
> /dev/root        1738184 1645684      2536 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1645696      2524 100% /
> /dev/root        1738184 1645696      2524 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1645720      2500 100% /
> /dev/root        1738184 1645720      2500 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1645732      2488 100% /
> /dev/root        1738184 1645732      2488 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     292    255000   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
>
>
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1650592         0 100% /
> /dev/root        1738184 1650592         0 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     276    255016   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1650596         0 100% /
> /dev/root        1738184 1650596         0 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     276    255016   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1650596         0 100% /
> /dev/root        1738184 1650596         0 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     276    255016   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1650604         0 100% /
> /dev/root        1738184 1650604         0 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     276    255016   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> root@beaglebone:~# df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> rootfs           1738184 1650620         0 100% /
> /dev/root        1738184 1650620         0 100% /
> devtmpfs          255160       0    255160   0% /dev
> tmpfs             255292       4    255288   1% /dev/shm
> tmpfs             255292     280    255012   1% /run
> tmpfs             255292       0    255292   0% /sys/fs/cgroup
> tmpfs             255292       4    255288   1% /tmp
> /dev/mmcblk0p1     71133   55238     15895  78% /media/BEAGLEBONE
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to beagleboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to