diskspace

How can in install VS 2008 without using ~6.5GB of space on my C drive?

When I launch the VS 2008 SP1 installer it says that it needs 6,366MB, and my C drive only has 2,452MB free space. Is there a way to install it that doesn't require so much free space? I've tried downloading the ISO image and mounting that, but it still requires 5,864MB free. Am I missing any obvious command line switches? ...

Tracking down where disk space has gone on Linux?

When administering Linux systems I often find myself struggling to track down the culprit after a partition goes full. I normally use du / | sort -nr but on a large filesystem this takes a long time before any results are returned. Also, this is usually successful in highlighting the worst offender but I've often found myself resorti...

Generate disk usage graphs/charts with CLI only tools in Linux

In this question someone asked for ways to display disk usage in Linux. I'd like to take this one step further down the cli-path... how about a shell script that takes the output from something like a reasonable answer to the previous question and generates a graph/chart from it (output in a png file or something)? This may be a bit too ...

How to monitor the computer's cpu, memory, and disk usage in Java?

I would like to monitor the following system information in Java: current cpu usage** (percent) available memory* (free/total) available disk space (free/total) *note that I mean overall memory available to the whole system, not just the JVM I'm looking for a cross-platform solution (Linux, Mac, Windows) that doesn't rely on my own ...

Cross-platform space remaining on volume using python

I need a way to determine the space remaining on a disk volume using python on linux, Windows and OS X. I'm currently parsing the output of the various system calls (df, dir) to accomplish this - is there a better way? ...

Available space left on drive - WinAPI - Windows CE

Hi, I've forgotten the WinAPI call to find out how much space is remaining on a particular drive and pinvoke.net isn't giving me any love. It's compact framework by the way, so I figure coredll.dll. Can anyone with a better memory jog mine? ...

What is the unix command to see how much disk space there is and how much is remaining?

I'm looking for the equivalent of right clicking on the drive in windows and seeing the disk space used and remaining info. ...

partition full, or not?

Hi, my partition /tmp is full... and its empty at the same time. So the partition is full. Check the directory: # du -sh /tmp 28K /tmp What? It is empty... And it is really empty... just two empty directories are located in /tmp Checking partition details: # df -h Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0...

How to cope with "disk full" scenarios?

The vast majority of applications does not handle "disk full" scenarios properly. Example: an installer doesn't see that the disk is full, ignores all errors, and finally happily announces "installation complete!", or an email program is unaware that the message it has just downloaded could not be saved, and tells the server to delete...

How to find out the free disk space for a given path on a linux shell?

1) I am in some directory 2) I want to find out how much free space is left there Is there a simple command that does this? I don't want to look in fstab or whatever, having to map the devices & mount points in my mind in order to determine how much free space I have left. ...

How can I find the free space available on mounted volumes using Perl?

I'm trying to untar a file. Before untarring I would like to know free space available on the mounted volume. The plan is if there is not enough space I will not untar it! So how can I find the free space available on a mounted volume using Perl? By the way, I'm using Perl for tar and untar. Everybody is saying about df and dh but these...

How can I find the free space available on mounted points?

I have raised this question previously but none of the solutions work on the mounted points. Neither du nor df work on the mounted points. Is there a way to find it out? ...

Looking for a "build storage filesystem" that can merge duplicate and similar files for increased storage space

Our shop is constantly running out of disk space, because we have a mandate from the developers and management to keep all of the nightly builds, as it greatly aids debugging. Each build generally has few changes. However, almost every file is different from one build to the next, because the compiler and linker insert date/time stamps...

Reserving Disk Space on iPhone

I want to be able to 'reserve' a set amount of disk space on my iPhone for my particular application. Before I get flamed I should add this is NOT for a public application. I assume the simplest way to do this is to actually create blocks of files up to the space I wish to reserve and then delete and use these blocks as necessary. Is t...

software fails to write to C: with Win2003 limited user "out of disk space"

software fails to write to profile folder stored in C: with Win2003 limited user due "out of disk space" When I look with Admin rights, there is plenty of space on C: drive When I go with limited to user to cmd.exe and say dir c:/ , its 0 bytes free ...

Programatically determining file "size on disk" in advance

I need to know how big a given in-memory buffer will be as an on-disk (usb stick) file before I write it. I know that unless the size falls on the block size boundary, its likely to get rounded up, e.g. a 1 byte file takes up 4096 bytes on-disk. I'm currently doing this using GetDiskFreeSpace() to work out the disk block size, then using...

Find free disk space in python on OS/X

Hey guys, I'm looking for the number of free bytes on my HD, but have trouble doing so on python. I've tried the following: import os stat = os.statvfs(path) print stat.f_bsize * stat.f_bavail But, on OS/X it gives me a 17529020874752 bytes, which is about about 1.6 TB, which would be very nice, but unfortunately not really true. ...

Unlimited diskspace/Bandwidth for hosting ASP.NET vs PHP website?

We are thinking to use Dotnetnuke(ASP.NET) as platform for creating asp.net based social networking site. Surprisingly, Its difficult to find webhost with unlimited diskspace/badnwidth to store/stream lots of photos/videos. On the other hand, PHP based webhosting companies do provide unlimited diskspace/bandwidth. Check it here So, I ...

du in powershell?

How can I get a "du" -ish analysis using powershell? I'd like to periodically check the size of directories on my disk. The following gives me the size of each file in the current directory: foreach ($o in gci) { Write-output $o.Length } But what I really want is the aggregate size of all files in the directory, including subdir...

unknown space occupied by windows xp partition

Hi, My windows xp (C drive) partition is 27 GB. Now it shows free space is only 2.3 GB. But when I calculate all the space using any software or manually (by adding all the folder sizes including hidden files) I get ~13.xx GB full. That means another 13.xx GB should be free. Also while using ubuntu, I see 13.4 GB free in "Disk Usage An...