Hur man bestämmer var allt ditt fria diskutrymme har väck i OS X

vid Ross McKillop Juni 25, 2007

Mac

Diskinventarium X är ett öppet fritt) program för källa (som shows dig var ditt fria diskutrymme har väck. Och du kan förvånas med dess rön - jag chockades.

Efter du har nedladdat och den installerade barkassen för Diskinventarium X (som är mycket rättfram), det från din applikationmeny.

  1. Varje av dina för närvarande monterade drev (däribland .dmgen för Diskinventarium X, om det är den stilla aktivet), ska visas.
  2. diskinventarium x
    klicka för att förstora

  3. Välj drevet som du önskar att undersöka och klicka därefter Öppna volym.
  4. diskinventarium x
    klicka för att förstora

  5. Beroende av storleksanpassa av ditt drev sparar numrera av på den, och som rusas av din Mac (till någon grad) som den kan ta några, noterar för Diskinventarium X för att avsluta dess undersökning.
  6. diskinventarium x

  7. När det har gjort, ska du får ett färdigt lista allra sparar (och mappar) på drevet dig som utvald baksida kliver in 2. För att sortera sparar storleksanpassar, väljer by Storleksanpassa kolonn (se nedanför screenshot).

    I mitt fall sparar MP3 var ansvariga för att ta upp det mest utrymmet på mitt hårda drev. Jag förväntade denna. Vad jag inte förvänta, var det Logga sparar tog upp understödja - mest belopp av utrymme. Som du kan se att (igen, från den nedanföra screenshoten) redogör de för 16.9 gigabytes av utrymme.

  8. diskinventarium x
    klicka för att förstora

  9. Om du är nyfiken om en specifik typ av sparar (som jag var) - markera den, genom att klicka på den en gång, rätt-klickar (ctrl-klicka för singel knäppas musfolks) och väljer därefter Visa sparar i val listar.
  10. diskinventarium x
    klicka för att förstora

  11. Ett nytt fönster förser med rutor ska syns, och det ska alla av skärm sparar den nedgång in i kategorien som dig som föregående är utvald (i mitt fall, logga sparar). Igen kan du sortera by storleksanpassar, genom att klicka Storleksanpassa kolonn. Är här var jag märkte att en gåsmarsch, VirtueDesktops.log, var 16.9 gigabytes storleksanpassar in.
  12. diskinventarium x
    klicka för att förstora

  13. Om du rätt-klickar på några av sparar och, välj Avslöj i upphittare, ska öppet för upphittare visar fönstret och spara ifrågasätter in.
  14. diskinventarium x
    klicka för att förstora

  15. You can also delete files from within Disk Inventory X by right-clicking them and choosing Move to Trash.
  16. disk inventory x
    click to enlarge

Heya StumbleUpon visitor, I hope your day is going well and your boss thinks you're hard at work. If you liked this page, please feel fre to give it a thumbs up, I'd be hugely appreciative.
Related Posts:
  • How to determine your free disk space in Linux
  • How to determine your IP or MAC address in Windows
  • How to display your free hard disk space in the OS X Menu bar
  • How to determine where all of your free disk space has gone in Windows
  • How to determine where all your hard drive space has gone in Windows
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! Just enter your email address below:

    You can always opt out of this email subscription at any time.


    Bookmark and Share

    { 8 comments… read them below or add one }

    1 Marc 06.26.07 at 6:08 am

    I’ve been using Disk Inventory X for a long time now and have absolutely loved it. It gives a very intuitive feel to where you disk space is used.

    2 Jed Daniels 06.26.07 at 9:38 am

    I’ve also been using Disk Inventory X for a long time, but for me it doesn’t work *that* well because I also use FileVault protection. FileVault encrypts all the data in my Users directory (for those that have it turned on), and Disk Inventory X simple can’t see inside of it. Instead I get a big block of “spare disk image” that takes up most of the space.

    I was going to post about how you can use “du -h -d 1″ from a terminal window to get the information you need, but I checked on the Disk Inventory X website forums and I found that you can simply select just your home folder, instead of the whole drive, to get the details on what is inside of that encrypted space.

    For those of you that may ask “why use FileVault?”, the answer is simple: security. On any laptop that you use for work or have any private or sensitive information on (financial stuff, email, etc.), you really should encrypt at least the juicy bits. FileVault does it automaticaly and does a pretty decent job. I know it had some issues in 10.3 and earlier, but on 10.4 it has been rock solid.

    Great article Ross, keep up the good work. Did you find what about VirtueDesktops was filling up that file? I’ve been using 0.54beta2 for a while and haven’t noticed anything odd (I just saw that there is an 0.54beta4 update, which I will apply today).

    –jed
    http://www.itsnotthenetwork.com

    3 Ross McKillop 06.26.07 at 10:45 am

    Jed -

    I wasn’t about to open that bad-boy up in any text editor, but I did a tail on it and got stuff like:

    2007-06-26 11:31:21.948 VirtueDesktops[128] PNDesktop.m:497 -[PNDesktop addWindows:]; Ended
    2007-06-26 11:31:21.948 VirtueDesktops[128] PNDesktop.m:659 -[PNDesktop updateDesktop]; Add new windows
    2007-06-26 11:31:21.948 VirtueDesktops[128] PNDesktop.m:663 -[PNDesktop updateDesktop]; Ending

    So it really looked like it was logging nearly everything that occurred on a given window.

    On my never-ending list of things to do is research why on earth this is happening, if it can be disabled (I did a scan of the Prefs and it doesn’t even mention logging, let alone disabling it) or started w/ logging disabled. Since it’s kinda a low priority for me (and VD has never used much CPU) I just setup a cron to kill VirtuDesktops, delete the log file, and restart VD every 12 hrs.

    I did try 0.54b4 for a few days but it was actually more buggy than b3 (for me) so I reverted back to b3. The du method you mentioned above is EXACTLY what I told a buddy of mine to do when he asked about why his new MBP had much less free space than he thought it should have. My suggestion was actually:

    cd / ; sudo du -h -d 1 > ~/Desktop/drive.txt and then import to a spreadsheet and sort by the size column. But then I found Disk Inventory X and that is really a lot easier :P

    I’m curious - do you have a /Users/you/Library/Logs/VirtueDesktops.log file? And if so, how big is it?

    Cheers,

    Ross

    4 Jed Daniels 06.26.07 at 9:08 pm

    Ross,

    Interesting about the logs. Sounds like you have a debug build of VirtueDesktops. I looked for a log file and didn’t find one at all, much less one that was chewing up drive space. Do you have an MBP, MB, or PowerBook? I know people that have had some instability with non-intel macs and VirtueDesktops. It looks like there are at least a few other people with the same problem on the Virtue Forums at cocoaforge. I’m guessing you might want to see if there is an alternate build that has debugging turned off of whichever version is stable for you.

    I suspect killing VD regularly is just fine, but you might consider just doing a “cat /dev/null > /Users/you/Library/Logs/VirtueDesktops.log” if there are any ill effects.

    On opening the large file in a text editor, I suspect that the latest versions of Vim can probably cope just fine, but I’m going to test it in a little while and report back with the results if you are interested.

    –jed
    http://www.itsnotthenetwork.com

    5 t.albertini 12.02.08 at 7:07 am

    Merci beaucoup je cherche un tel logiciel depuis plusieurs années (sur pc) mais la ca m’a bien dépanné car notre OS X Server saturait, et impossible de trouver d’ou ca venait, avec disk inventory X ca a été direct !

    6 t.albertini 12.02.08 at 7:20 am

    Thanks a lot, i’ve been looking for such a program during several years (on pc) but it helped me troubleshooting our OS X server today. Disk was saturated and no way to find where the problem came from, with disk inventory X, it’s been fast and easy !

    7 David 12.14.08 at 4:02 pm

    Oh my gosh. I just cleaned about thirty GBs off my hard drive. So far I haven’t run into any problems of the “Whoops, I guess that was kind of essential” variety yet. Thanks for the post.

    8 Patrick 01.04.09 at 10:45 pm

    Thanks for the tip. And here I was using du and the crippled shareware OmniDiskSweeper. Those logs will get you every time. :-)

    Leave a Comment

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>