Calculates the size of the folder, including subfolders, formatting the output folder size, number of files, and the number of subfolders.
The code is as follows
Copy Code
?Code can also be used to statistic the number
The size of the computer stores information, the most basic unit is byte, a Chinese character consists of two bytes, letters and numbers are composed of a byte.
Units of capacity are from small to large: bytes (B), KB, MB, GB, TB. The relationship
Http://hi.baidu.com/dilijia1002/blog/item/38f0b5cef747c70d92457eb1.html
Byte is a unit of measurement used by Computer Information Technology to measure storage capacity and transmission capacity. one byte equals to eight-bit binary. Currently, we
1m equals how many kb
Brain storage Conversion is 1024 to 1 units, that is to say 1m=1024k, 1024m=1g,1024g=1kg, but computer hardware is calculated in 1000 units, that is, the capacity of storage devices such as hard disk (such as 80G hard disk) =80
In the operating system, the capacity of the memory card or USB flash drive is less than the nominal capacity. The larger the capacity, the larger the difference.
The nominal 40 Gb storage device only shows 37 GB in the operating system; 80 GB only
Some time ago, I published an article titled the appearance and Analysis of Large-sector hard disks"To illustrate the emergence of large-sector hard disks in, and some readers have also sent a letter to ask, here, reprinted an article by
Yte is a unit of measurement of computer information technology used to measure storage capacity and transmission capacity, with 1 bytes equal to 8-bit binary. At the moment we often calculate the smallest unit of storage space (in fact there is a
Original article: Inside SQL Server 2000's Memory Management Facilities
Translation: RicCC
Ken HendersonMicrosoft CorporationJanuary 2004 This topic is excerpted from Ken Henderson's "The Guru's Guide to SQL Server Architecture and Internals"
1. Linear Space & physical space
In the view of hardware engineers and common users, memory is the memory stick inserted or solidified on the motherboard. They have a certain capacity, for example, 64 MB. But in the eyes of application programmers,
In short, generally set shmmax> = SGA (32-bit system supports SGA up to 1.7 GB). The default value is 32 MB,For 64-bit Linux operating systems, set shmmax to be greater than sga_max_size.
The size of the Linux Shared Memory Page is 4 kb. The size of
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.