[NTLUG:Discuss] huge file/directory size in ..

David Stanaway david at stanaway.net
Sun Apr 1 23:52:13 CDT 2012


Also, do you have a bunch of unlinked open files (Like temp files) tied 
up with some background processes?

lsof | grep $PWD



On 4/1/2012 11:50 PM, David Stanaway wrote:
> Looks like the parent directory has a lot of files/directories in it.
>
> ls -al .. | wc -l
>
> On 4/1/2012 7:43 PM, o k wrote:
>> All.
>>
>> Can any one let me know what is going on here?
>> It says there are 24344 files and the size is huge on .. directory, 
>> but only see 2 files.
>> i know I a wrong sed command and creates a huge sed* files. I think i 
>> deleted them.
>> How do I fix the problem?
>> thanks.
>>
>> [root at megan6 dd]# ls -al
>> total 24344
>> drwxr-xr-x.  2 root root     4096 Apr  1 19:40 .
>> dr-xr-x---. 26 root root 24903680 Apr  1 12:07 ..
>> -rwxrwxrwx.  1 root root      972 Apr  1 09:35 dd.orig
>> -rw-r--r--.  1 root root        0 Apr  1 19:40 dd.txt
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>




More information about the Discuss mailing list