maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Memory problem. What are these files? (https://talk.maemo.org/showthread.php?t=91564)

Kaacz 2013-10-10 12:01

Re: Memory problem. What are these files?
 
"df" Number on left side with directory is not about size. Size is counted by "du -s /home/user/.cache/telepathy"

or for all dirs in .cache
Code:

~ $ cd .cache
~/.cache $ for dir in `find \. -maxdepth 1 -type d -print` ; do du -s ${dir} ; done
du: can't open './tracker': Permission denied
102664  .
10584  ./qneptunea
1148    ./4squick
32      ./wocky
1288    ./quasarmx
24      ./video-suite
608    ./facebook
340    ./music-suite
53220  ./data
du: can't open './tracker': Permission denied
20      ./libkok
60      ./contactsd
3364    ./media-art
12      ./nmsrestapi
112    ./wazapp
84      ./Notekeeper
27668  ./telepathy
4092    ./com.meecast.omweather
~/.cache $


tigas 2014-08-22 12:20

Re: Memory problem. What are these files?
 
You can lack block space (KB) or inodes (file handles). To check inodes, only "df -i" works.

/home/MyDocs will always show "0" because it's FAT32, but if the other partitions reach 0 inodes available all kinds of strange problems will happen - RSS feeds will get corrupted, mails will not reach you, contacts will be deleted, the camera won't start, etc.

"df" works on a partition level.

"du" works on directory level. "du -s" checks all subfolders of the selected folder.


All times are GMT. The time now is 16:18.

vBulletin® Version 3.8.8