disk Questions

6

Solved

I would like to access information on the logical drives on my computer using C#. How should I accomplish this? Thanks!
Mucus asked 5/1, 2009 at 9:23

2

Solved

I have a big table on my database, but it has a lot of empty fields on every column, and I´d like to know how much does every column use. Is there any way to know how much disk space is each table...
Larena asked 24/2, 2020 at 12:2

5

I am looking for an algorithm / data structure that works well for large block based devices (eg a mechanical hard drive) which is optimised for insert, get, update and delete where searches are al...
Hi asked 17/5, 2009 at 19:30

2

Solved

I am looking for a way to load files from disk within an XCTestCase that does not depend on Bundle. Bundle works well when running the tests from Xcode (or with xcodebuild on the terminal), but bu...
Eveliaevelin asked 25/9, 2017 at 17:24

5

Solved

How do I get programatically per process disk i/o statistics in Mac OS X. In 'Activity Monitor' application or in 'top' command we can only get whole system disk i/o statistics. For reference Simil...
Lutz asked 3/4, 2013 at 11:53

2

Is it possible to write to free clusters on disk or read data from them using Windows APIs? I found Defrag API: https://learn.microsoft.com/en-gb/windows/desktop/FileIO/defragmenting-files FSCTL_G...
Kinsella asked 5/6, 2019 at 0:41

9

Solved

What tools or techniques can I use to remove cached file contents to prevent my performance results from being skewed? I believe I need to either completely clear, or selectively remove cached info...
Bondmaid asked 25/1, 2009 at 21:30

2

Wondering if there has been anyone experimenting with low-level disk I/O, such as reading raw sectors, MBR, etc. I've done some digging around myself, but haven't been able to find anything mention...
Ringent asked 9/1, 2014 at 22:19

7

In a Linux VM (Vmware workstation or similar), how can I simulate a failure on a previously working disc? I have a situation happening in production where a disc fails (probably a controller, cabl...
Diagnostics asked 1/9, 2009 at 9:38

6

Solved

Get-WmiObject -ComputerName $ip -Credential $credential -Class Win32_logicaldisk This gets me disks as I see them in "My computer", eg. C:, D:, E: Now how I get corresponding underlying physical ...
Boughpot asked 27/1, 2011 at 22:15

9

Solved

I'm getting ready to release a tool that is only effective with regular hard drives, not SSD (solid state drive). In fact, it shouldn't be used with SSD's because it will result in a lot of read/wr...
Conscientious asked 25/5, 2009 at 21:59

4

Solved

I am using Python2.6. I am trying to list the disk drives that a system may have. On Windows, it may be something like C:/, D:/, E:/, etc. On Linux, it may be something like /boot, /media/SDCard,...
Polemist asked 29/8, 2010 at 20:35

3

I am successfully creating a Linux VMs with the Azure CLI Command... vm create --resource-group myResourceGroup --name myVMName --image credativ:Debian:9:latest --size Standard_B1s I note that th...

10

Solved

I am trying to figure out the available disk space on the Android phone running my application. Is there a way to do this programmatically? Thanks,
Chopper asked 18/8, 2011 at 22:41

2

Solved

Background: I was trying to setup a ubuntu machine on my desktop computer. The whole process took a whole day, including installing OS and softwares. I didn't thought much about it, though. Then ...
Hatpin asked 29/5, 2015 at 0:50

3

Solved

I've created a persistent disk in Google Compute Engine and attached it to an instance. What I am wondering however, is how can I monitor the free space on the disk? Can't see it either in the Goog...
Dinesh asked 15/12, 2016 at 20:59

1

Solved

I am using keybase (a cloud base data store for your SSH and other keys) and today somehow it did not restart when I started X-Windows. As a result, the command df (and thus statvfs() in my code) ...
Betony asked 10/2, 2018 at 23:45

1

Solved

let memoryCapacity = 200 * 1024 * 1024 let diskCapacity = 1 * 1024 * 1024 let cache = URLCache(memoryCapacity: memoryCapacity, diskCapacity: diskCapacity, diskPath: "myDataPath") URLCache.shared = ...
Permalloy asked 8/9, 2017 at 15:52

2

Solved

What is a sparse file and why do we need it? The only thing that I am able to get is that it is a very large file and it is efficient(in gigabytes). How is it efficient ?
Fertilizer asked 30/3, 2017 at 19:26

5

Solved

I need to do it for more predictable benchmarking.
Myrmecophagous asked 4/3, 2012 at 2:35

2

Solved

I'm reading Silberschatz's OS book. In section 16.8.1 it says: The fundamental problem with the elevator algorithm is that I/O operations cocentrated in a specific region of the disk can resul...
Chlorobenzene asked 3/9, 2011 at 12:9

4

Solved

Windirstat/ Kdirstat/ Disk Inventory X has been nothing short of revolutionary in file managment. Why is there no text-only command line equivalent? I'd need it for SSH administration of my file se...
Vasquez asked 29/3, 2013 at 20:18

3

Solved

If I delete the 3.1G journal file, sudo service mongodb restart will fail. However, this file is taking too much space. How can I solve this problem? How can I remove it? bash$ du -sh /var/lib/mon...
Demolish asked 23/10, 2013 at 4:49

1

Solved

I am currently using AWS Redshift service to store data. The data size is about to hit 100% of disk space. Will adding nodes and changing from Single-node to Multi-nodes increase the disk size? ...
Radioactivity asked 9/1, 2017 at 13:5

1

Solved

I know how a B-Tree works in-memory, it's easy enough to implement. However, I don't know how to find a data layout that works effectively on disk, such that: The number of entries in the B-Tree c...
Smegma asked 22/11, 2016 at 11:32

© 2022 - 2025 — McMap. All rights reserved.