how can i calculate the total disc space available + free space + used space in the DVD/CD inserted in f-drive.. and display the result on the label...
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 this to…
I don't know if this feature exists, but I'd like a way to control Visual Studio 2010's scratch disk behavior (other than completely turning off intellisense).
Right now it creates a massive .sdf file in the project folder (50MB+), and then it goes and creates an IPCH folder with 60MB+ of precompiled headers.
All that's well and good while VS…
I've just added an SSD as a ReadyBoost cache drive, and have two minor cosmetic issues with it:
the drive still shows up in the drive list
I get a warning balloon every five minutes that the drive is full and that I should empty the Recycle Bin.
The former is ignorable (and I guess I can solve it with a group policy); the latter is somewhat…
Not to long ago i was using only 35% of my HD. Just recently it shot up to 54% and my diskspace is 16gb so thats more then 3gigs that have been taken.
From what i remember i failed to build mysql, i install gitolite which required me to build git from source which had a tons of dependencies (i think it was for building docs, i think i saw…
Hi all,
I might be interested in getting a VPS hosting plan for some small personal sites and .NET projects. Was thinking of Softsys Bronze Plan, as my current shared host plan is with them too. The stuff I want to host has grown beyond the capabilities of a Shared hosting plan, and I also want more control over the IIS/ASP.NET…
Is there anything that you can't live without and will make my life SO much easier? Here are some that I use ('diskspace' & 'folders' are particularly handy).
# some more ls aliases
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias woo='fortune'
alias lsd="ls -alF | grep /$"
# This is GOLD for finding out what…
Hi all,
I have some server which my team use for hosting internal applications for development purpose. I thinking of setting up some periodic checks but do now know how to go about it. Can advise on the following?
Preferably windows bat file or linux script
How to write a script that will check the content of a webpage to…
Is there anything that you can't live without and will make my life SO much easier? Here are some that I use ('diskspace' & 'folders' are particularly handy).
# some more ls aliases
alias ll='ls -alh'
alias la='ls -A'
alias l='ls -CFlh'
alias woo='fortune'
alias lsd="ls -alF | grep /$"
# This is GOLD for finding out what…
I need a collection of libraries for game development. I don't know if it's called game engine. It should include everything i need to develope a game, so i could consentrate on the game development, without wasting my time choosing, and instaling libraries for everything.
I don't need game engines that requires more than…
Sorry for the long title, but it seems most descriptive for my question.
Basically, I'm having a difficult time finding exception information in the official python documentation. For example, in one program I'm currently writing, I'm using the shutil libary's move function:
from shutil import move
move('somefile.txt',…
Hi all,
Is there a command line tool for Windows XP to display system resources, like available memory usage, cpu, diskspace etc... Small and requires a non-install.
Best Regards,
Anders
Hi all,
Is there a command line tool for Windows XP to display system resources, like available memory usage, cpu, diskspace etc... Small and requires a non-install.
Best Regards,
Anders
I've got a sizeable Solr server which is chewing a pile of disk. Whilst it is indexing a large amount of data, I'm wondering if there's any operation that will reduce the size of the index, by say dropping deleted-but-still-allocated data in a similar manner to a VACUUM FULL in PostgreSQL, or are the solr indexes kept…
I am building a custom Debian package and during the installation, I would like the package to check for available diskspace and only proceed if there is enough space. I would like this to happen during re-install as well.
I tried adding bash code to do the check in preinst and prerm file(for re-installations) with…
I'm looking for a way to pull data from my Rackspace Cloud SITES account. The data I want to pull is bandwidth, diskspace, and compute cycles (all available from control panel). I'd like to set up my own warning system, to be notified if I'm close to my limits on any given month.
Does anyone know of a way/API to do…
I dont know what is going on but my disk space seems to be going down and i am not downloading anything. What app can i use on windows to keep track of diskspace? I used windirstat which tells you how much data a folder is holding but i still cant figure out the problem.
I did notice a folder holding 1.7gb for…
I was courious about Ubuntu so I decided I would give it a chance, therefore I installed it on a parition on my harddrive.
Now a couple of months later I haven't used windows once so i decided to go with ubuntu only. I deleted my windows partition with GParted and thought that it was all good. BUT the now…
I deployed hudson.war in the sun application server 9.1. I like to check how can i change the home directory of hudson to point to another directory becasue if using a .hudson directory is not ok as i have very little diskspace left in main disk drive.
I want to backup data from a Windows (Vista) computer to a Synology NAS (210j). The NAS supports FTP, SMB, NFS and also allows a rsync daemon to be set up.
I want to backup different folders to the NAS, but I'd prefer to use the hardlink method to save diskspace (like this script does). With this method,…
I'm installing Ubuntu server on a disk with 12GB available. During the setup, I choose the default LVM-based partition layout.
However for some reason, Ubuntu decides that it only wants to use 4GB of this disk. How do I reclaim the remaining space of the hard disk? "lvextent" doesn't work btw...
output…
I have a Microsoft Virutal PC hard drive (.vhd format) that's maxed out it's 16 gig hard drive space. What would be the best way to increase this diskspace?
Booting into the machine (windows xp professional) and using the disk management snap in, I can see that the virtual drive has approximately 40…
Hi,
what is better to have - more LUNs or more Storages.
Actually i have 1 storage ESXi per 1 LUN so there are about 15 LUNs and 15 storages.
Now there is a kind of problem because the LUNs have different space allocated so if i remove 2 LUNs f.e. 1 2 3 4 [x] 6 [x] 8 9 (like that) i can't make 1…
How can I grab the first subfolder in a directory and delete it?
I found a script to monitor the free diskspace.
It sends an alert email if space runs low, but I want to also delete some unneeded stuff.
I have a backup folder where I save daily and monthly backups. I want to delete the first…
I have installed Windows and Ubuntu side by side. I created a 10GB partition for the Ubuntu installation. During the two months I've been using Ubuntu I have installed some software. Now it's not starting. When I boot up it says that there is no diskspace so it could not be started .
What…