[OSX-Users] Re: scroll back buffers?Re: lion -or something - eating gigs?

Andrew Paul Landells apl at ecs.soton.ac.uk
Tue Jan 3 15:47:24 GMT 2012


My tried-and-tested Unix method for finding runaway files is to run 'du -ks * | sort -n' in / as root and see which subdirectory is the largest, then cd into it and re-run the command until I find out where all my disk space has gone. It's not very useful if you've lost it all to millions of little files, but it's good for finding multi-gigabyte files that you weren't aware of or had forgotten about.

Regards,

On 19 Dec 2011, at 17:16, dr. m.c. schraefel wrote:
> this is what i've just seen:
> terminal has detected that the system disk is running low on swap space. Scrollback buffers may automatically be trimmed to conserve memory.
> 
> now to find how to do this...
> 
> mc
> 
> 
> <lowdiskspace.jpg>
> 
> On 19 Dec 2011, at 17:01, dr. m.c. schraefel wrote:
> 
>> anyone know how one might see what aps are using disk space? not processes but disk space? it's down another 200megs as we speak...
>> oh and spotlight is indexing the drive - but does it need 7gigs for this operation?
>> 
>> 
>> 
>> mc
>> On 19 Dec 2011, at 16:55, Chris Andrews wrote:
>> 
>>> I have never seen anything like this on any Mac I have ever used.
>>> 
>>> Chris
>>> On Monday, 19 December 2011 at 16:54, dr. m.c. schraefel wrote:
>>> 
>>>> Ok this is really nasty:
>>>> doing nothing seemingly and i'm getting low disk errors - disk neraly full
>>>> 
>>>> it's gone from 6gigs to 1 to in three minutes down to 992.2 mb
>>>> 
>>>> is anyone else seeing space taken like this over the course of a few hours??
>>>> 
>>>> just to reality check...
>>>> 
>>>> thanks
>>>> 
>>>> mc
>>>> 
>>>> 
>>>> On 18 Dec 2011, at 17:45, dr. m.c. schraefel wrote:
>>>> 
>>>>> On the quest for space hogs, also found that mobile sync (in library/application support/mobile sync) iOS device backups were getting fiercly large. Doing a restore will also replicate a backup - one of mine is nine gigs
>>>>> 
>>>>> indeed, doing a restore burned up the remainder of space on the harddrive giving a "cannot write back up to this computer" or similar. error
>>>>> 
>>>>> - i think a lot of that is from the library of pdf's in goodreader - but i'd love a way to find out what exactly is in the backup files
>>>>> 
>>>>> so that's another culprit.
>>>>> 
>>>>> will look at running fewer aps and tabs when putting hte mac to sleep to see if that makes a dif.
>>>>> 
>>>>> of course a 500+gig drive would be nice too.
>>>>> 
>>>>> mc
>>>>> 
>>>>> 
>>>>> On 18 Dec 2011, at 14:49, Hugh Glaser wrote:
>>>>> 
>>>>>> Interesting - maybe this is it.
>>>>>> 
>>>>>> I have
>>>>>> alias ll ls -lh
>>>>>> 
>>>>>> On 18 Dec 2011, at 14:38, dr. m.c. schraefel wrote:
>>>>>> 
>>>>>>> Hi hugh
>>>>>>> 
>>>>>>> thanks for this
>>>>>>> 
>>>>>>> mine seems similar to yours:
>>>>>>> 
>>>>>>> hockeypuck:~ mc$ ls -al /private/var/vm
>>>>>>> total 16777216
>>>>>>> drwxr-xr-x 11 root wheel 374 16 Dec 16:54 .
>>>>>>> drwxr-xr-x 29 root wheel 986 13 Aug 15:16 ..
>>>>>>> -rw------T 1 root wheel 4294967296 16 Dec 09:35 sleepimage
>>>>>>> -rw------- 1 root wheel 67108864 14 Dec 16:02 swapfile0
>>>>>>> -rw------- 1 root wheel 67108864 18 Dec 14:35 swapfile1
>>>>>>> -rw------- 1 root wheel 134217728 18 Dec 14:35 swapfile2
>>>>>>> -rw------- 1 root wheel 268435456 18 Dec 14:35 swapfile3
>>>>>>> -rw------- 1 root wheel 536870912 18 Dec 14:35 swapfile4
>>>>>>> -rw------- 1 root wheel 1073741824 18 Dec 14:35 swapfile5
>>>>>>> -rw------- 1 root wheel 1073741824 18 Dec 14:35 swapfile6
>>>>>>> -rw------- 1 root wheel 1073741824 18 Dec 14:35 swapfile7
>>>>>>> 
>>>>>>> (do you have a switch to see the units of file space as G/M rather than bits?)
>>>>>>> 
>>>>>>> mc
>>>>>>> 
>>>>>>> On 17 Dec 2011, at 12:34, Hugh Glaser wrote:
>>>>>>> 
>>>>>>>> Rover:/private/var/vm] hg% ll
>>>>>>>> total 14680064
>>>>>>>> -rw------T 1 root wheel 4.0G 16 Dec 13:10 sleepimage
>>>>>>>> -rw------- 1 root wheel 64M 16 Dec 18:00 swapfile0
>>>>>>>> -rw------- 1 root wheel 64M 17 Dec 12:01 swapfile1
>>>>>>>> -rw------- 1 root wheel 128M 17 Dec 12:01 swapfile2
>>>>>>>> -rw------- 1 root wheel 256M 17 Dec 12:01 swapfile3
>>>>>>>> -rw------- 1 root wheel 512M 17 Dec 12:01 swapfile4
>>>>>>>> -rw------- 1 root wheel 1.0G 17 Dec 12:01 swapfile5
>>>>>>>> -rw------- 1 root wheel 1.0G 17 Dec 12:01 swapfile6
>>>>>> 
>>>>>> --
>>>>>> Hugh Glaser,
>>>>>> Web and Internet Science
>>>>>> Electronics and Computer Science,
>>>>>> University of Southampton,
>>>>>> Southampton SO17 1BJ
>>>>>> Work: +44 23 8059 3670, Fax: +44 23 8059 3045
>>>>>> Mobile: +44 75 9533 4155 , Home: +44 23 8061 5652
>>>>>> http://www.ecs.soton.ac.uk/~hg/
>>> 
>> 
> 

-- 
Andrew Paul Landells        Systems Administrator & Programmer
                            Systems & Networks Group (B53/4039)
Email: apl at ecs.soton.ac.uk  School of Electronics & Computer Science
Tel:   023 8059 6879        University of Southampton, UK. SO17 1BJ




-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/osx-users/attachments/20120103/a2346054/attachment-0001.html 


More information about the Osx-users mailing list