Existing users, log in.  New users, create a free account.  Lost password?


MacFixIt Logo
 
Contact Us | About MacFixIt | Who's Online  

Page 3 of 3 < 1 2 3
Topic Options
#353411 - 11/17/07 12:44 AM Re: two targeted searches for Terminal [Re: MicroMat Tech3]
Hal Itosis Offline
MacWizard

Registered: 08/23/99
Posts: 7032
Loc: 10.5.7 (build 9J61)
Add another page to the "Book Of Irony":
code:

$ ls -lknh ~/Library/Application\ Support/Baseline
total 57744
drwxr-xr-x 2 501 501 68B Nov 11 04:56 Baselines
-rw-r--r-- 1 501 501 56M Nov 11 04:57 CleanerPackageIndex.db

A few days ago, I ran v1.0 to see the scenery. Thought it was pretty okay.

Only tonight did I notice my ~/Library looked a little pregnant. 56 megs!!!
... for a snapshot... or what? Seems unnecessarily large to me.

_________________________

Problems? # Have you <run fsck>? and/or <safe boot>? and/or <reset perms>?

Top
#353412 - 11/17/07 04:09 AM Re: two targeted searches for Terminal [Re: Hal Itosis]
MicroMat Tech3 Offline
MacGuru

Registered: 10/08/99
Posts: 16666
I have not yet tried exploring Baseline’s comparison with an earlier run when folders many levels down are displayed using disclosure trianlges, but I do not see how that could be done without having saved pathname and size data about every file on the volume.
_________________________
MicroMat Inc
Makers of TechTool

Top
#353413 - 12/08/07 03:41 PM Re: two targeted searches for Terminal [Re: Hal Itosis]
alisontm Offline
New User

Registered: 05/18/06
Posts: 8
I feel like I am in way over my head. I have been getting a message that my start up disk is almost full and that I have to delete files. This is what I got on terminal with your suggested quick tests. What do I do with this info. now? Could something here be causing that message?

emac:~ alibaba$ sudo -v; sudo find -xf /.Trashes /Volumes /Library /private /Temp* \
> -type f -size +200000 -print0 | sudo xargs -0 ls -lohdSr

-rw------T 1 root wheel - 128M 8 Dec 18:16 /private/var/vm/swapfile2
-rw-rw-r-- 1 root admin - 198M 18 Nov 2003 /Library/Application Support/iDVD/Tutorial/Movies/Our First Snowman.mov
-rw------T 1 root wheel - 256M 8 Dec 18:53 /private/var/vm/swapfile3
-rw------- 1 alibaba admin - 507M 8 Dec 03:59 /Library/Logs/Console/alibaba/console.log.1

emac:~ alibaba$ sudo -v; sudo find -xf /.Trashes /Volumes /Library /private /Temp* \
> -type f -size +200000 -print0 | sudo xargs -0 ls -lohdSr
-rw------T 1 root wheel - 128M 8 Dec 18:16 /private/var/vm/swapfile2
-rw-rw-r-- 1 root admin - 198M 18 Nov 2003 /Library/Application Support/iDVD/Tutorial/Movies/Our First Snowman.mov
-rw------T 1 root wheel - 256M 8 Dec 18:53 /private/var/vm/swapfile3
-rw------- 1 alibaba admin - 507M 8 Dec 03:59 /Library/Logs/Console/alibaba/console.log.1
emac:~ alibaba$ IFS=$'\n'; for f in /Volumes /.Spotlight* /.Trashes /Library/Logs /private/\
> {var/{log,spool,db,vm,tmp},tmp} /Temp*; do sudo du -hsx $f; done; IFS=$' \t\n'
24K /Volumes
du: /.Spotlight*: No such file or directory
0B /.Trashes
509M /Library/Logs
18M /private/var/log
2.2M /private/var/spool
3.0M /private/var/db
514M /private/var/vm
20M /private/var/tmp
4.0K /private/tmp
0B /Temporary Items
emac:~ alibaba$

Top
#353414 - 12/08/07 07:04 PM Re: two targeted searches for Terminal [Re: alisontm]
dkmarsh Moderator Offline
Moderator

Registered: 09/29/00
Posts: 8623
Loc: SE PA
alisontm,

The Tips & Hints forum isn't for posts requesting troubleshooting assistance; if you let us know what version of OS X you're running, we'll move your post to the appropriate troubleshooting forum.

Thanks.
_________________________

dkmarshmacfixit forums moderator

For Macintosh troubleshooting help in the MacFixIt Forums tradition, please visit Fine Tuned Mac.

Top
#353415 - 12/11/07 05:10 AM Re: two targeted searches for Terminal [Re: dkmarsh]
alisontm Offline
New User

Registered: 05/18/06
Posts: 8
Ooops, sorry about that , just got going with what I was reading and trying out. OS is Panther. Thanks.

Top
#451038 - 09/24/08 06:48 PM Re: two targeted searches for Terminal [Re: MicroMat Tech3]
Hal Itosis Offline
MacWizard

Registered: 08/23/99
Posts: 7032
Loc: 10.5.7 (build 9J61)
Updating my two "quickie one-liners" (above) for Leopard:

#1) Find files over 100 megs inside the usual suspects:

sudo find -xf /.Trashes /Volumes /Library /private \
/.Temp* -type f -size +200000 -exec ls -lOhdSr {} +


#2) Measure sizes of the usual suspects (plus Spotlight's index):

for f in /Volumes /.Spotlight* /.Trashes /Library/Logs /private/{var/\
{log,spool,db,vm,folders,tmp},tmp} /.Temp*; do sudo du -hsx "$f"; done

[once again: they don't search everywhere... just in hidden areas difficult to "see" normally, but statistically prone to bloat.]
Uptdated @ 2:27AM to include Leopard's new -Caches- and -Tmp- directories, deep inside /var/folders (one set for each user).

Along with the fine utilities already mentioned (Baseline, WhatSize, DiskSweeper, etc),
there are also two freewares worthy of consideration: GrandPerspective & JDiskReport.


Edited by Hal Itosis (09/24/08 11:27 PM)
Edit Reason: simplified new -Tmp- and -Caches- to simply /var/folders

Top
#457171 - 12/09/08 10:50 AM Re: Where Did My Disk Space Go? [Re: MicroMat Tech3]
RZangpo21 Offline
New User

Registered: 02/13/07
Posts: 5
I don't think anyone has mentioned eliminating duplicate files. I use Chipmunk for this, but there are other apps that do the same thing.


Edited by RZangpo21 (12/09/08 10:50 AM)

Top
#476411 - 08/03/09 06:58 PM Re: two targeted searches for Terminal [Re: MicroMat Tech3]
MicroMat Tech3 Offline
MacGuru

Registered: 10/08/99
Posts: 16666
_________________________
MicroMat Inc
Makers of TechTool

Top
#476435 - 08/03/09 07:50 PM Re: two targeted searches for Terminal [Re: MicroMat Tech3]
MicroMat Tech3 Offline
MacGuru

Registered: 10/08/99
Posts: 16666
If there is ever a revision of this article, it is most likely to be found somewhere at www.finetunedmac.com .
_________________________
MicroMat Inc
Makers of TechTool

Top
Page 3 of 3 < 1 2 3


Moderator:  dkmarsh, MacManiac 

VersionTracker: Software Updates and Downloads | iPhone Atlas: iPhone Help, News, Tutorials, and Tips