Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Best Classified Script 5.1
Readymade B2B Script 1.3.1
Uber Clone with Safety Measure Addons 2.0
Equity Investing Software 1.3.2
C# QR Code Generator 2020.6.0.0
The .Net PDF Library 2020.7.1
dbExpress driver for MySQL 7.2
dbForge Documenter for Oracle 1.2
dbForge Studio for Oracle 4.2
Top Code
dbExpress driver for MySQL 3.00
dbForge Studio for Oracle 3.10
Database Workbench Pro 5.7.4
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Invoice Manager by PHPJabbers 3.0
Aglowsoft SQL Query Tools 8.2
Solid File System OS edition 5.1
ICPennyBid Penny Auction Script 4.0
Classified Ad Lister 1.0
dbForge Data Generator for Oracle 2.2
Deals and Discounts Website Script 1.0.2
Extreme Injector 3.7
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Disk usage 
File ID: 64186






Disk usage 
Download Disk usage http://code.activestate.com/recipes/577968-log-watcher-tail-f-log/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 7
Submit Rating:
Disk usage  Description
Description: Provides disk usage statistics (total, used and free disk space) about a given path.

This recipe was initially developed for psutil:

http://code.google.com/p/psutil/issues/detail?id=172

...and then included into shutil module starting from Python 3.3:

http://mail.python.org/pipermail/python-ideas/2011-June/010480.html
http://bugs.python.org/issue12442
http://docs.python.org/dev/library/shutil.html#shutil.disk_usage

The recipe you see here is a modified version of the latter one in that the Windows implementation uses ctypes instead of a C extension module. As such it can be used with python >= 2.5.

License: Freeware

Related: Disk, Python, python3, Space, Statistics, Usage

O/S:Windows

Downloads: 7



More Similar Code

System monitoring utility, written in plain C. Allows application execution and performance monitoring, saving results into XML files. Monitors CPU, memory, network and disk usage on a per-application or per-system basis.



The objective of this project is to provide an open source database replication software benchmark and testing tool. It is very difficult in database replication projects to estimate necessary network bandwidth, CPU usage, memory and disk usage,...



php-gkrellm is a set of PHP 5 classes for talking to the gkrellmd monitoring daemon.

The information gkrellmd provides includes, but is not limited to, the following:
- CPU usage
- Memory usage
- Network interfaces and...



From this article 'Disk Space Usage' you can gain knowledge on the method of tracing the disk space utilization. The author has given his code snippets for reading the size of all subordinate directories in the main ASP directory, the exact space...



Disk Controls is set of 23+ top quality components which can make your life much easier if you developing software that works with disks (hard / floppy / CD / RAM / network), shell and file system.The DiskControls pack contains:
* Two...



Dekart Private Disk Multifactor is an easy-to-use, secure and reliable disk encryption software. Provides 100% protection of private information without making you think about security. Dekart Private Disk Multifactor lets you easily and...



Every hard disk is too small if you just wait long enough. TreeSize Free tells you where precious space has gone to. TreeSize Free can be started from the context menu of a folder or drive and shows you the size of this folder, including its...



Aomei Dynamic Disk Manager Server Edition is a complete Windows Software RAID management solution. It can manage dynamic disk and dynamic volume for Windows Server 2000/2003/2008 and Windows 7/Vista/XP/2000, and also helps you troubleshoot PCs and...



This program will make your cpu work at a given cpu usage. It should be also able to work on machines with multi-processors. The program has been tested on Windows xp sp2 with python of version 2.5.4.

The implementation is based on the...



Displays the disk space used by all the files/directories under the given directories. The depth to which the directories are displayed can be specified. There are three different options to select which files/directories are displayed - top N,...

User Review for Disk usage
- required fields
     

Please enter text on the image