df -h /home/mandeep Natija: Filesystem Size Used Avail Use% Mounted on
/dev/sda10 76G 65G 7.0G 91% /home
1000 quvvatda o'lchamlarni ko'rsatish uchun -H opsiyasidan foydalaning
df -H /home/mandeep Natija: Filesystem Size Used Avail Use% Mounted on
/dev/sda10 81G 70G 7.5G 91% /home
Farq uchun -h va -H opsiyalari bilan ikkita buyruqning o'lcham qismini kuzatishingiz mumkin.
Toʻliq umumiy miqdorni olish uchun “total” opsiyasidan foydalaning
df --total Natija: Filesystem 1K-blocks Used Available Use% Mounted on
udev 3996816 0 3996816 0% /dev
tmpfs 804624 64 804560 1% /run/user/1000
total 162304440 86000792 68790820 56% -
Yuqoridagi jadval natijasining oxirgi qatoriga e'tibor bering, u umumiy jamini ko'rsatadi.
5.Fayl turini ko'rsatish uchun -T opsiyasidan foydalaning df -T /home/mandeep Natija: Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sda10 ext4 78873504 67528128 7315732 91% /home
Siz /home/mandeep ext4 fayl turini ko'rishingiz mumkin.
186. Linuxda du buyrug’ining ishlatilishiga misollar keltiring. du buyrug'i, diskdan foydalanish uchun qisqartma, fayl maydonidan foydalanishni baholash uchun ishlatiladi. du buyrug'i qattiq diskda ortiqcha joy egallagan fayllar va kataloglarni kuzatish uchun ishlatilishi mumkin. Syntax : du [OPTION]... [FILE]... du [OPTION]... --files0-from=F Variantlar: -0, –null : end each output line with NULL-a, –all :write count of all files, not just directories–apparent-size :print apparent sizes, rather than disk usage.-B, –block-size=SIZE : scale sizes to SIZE before printing on console-c, –total :produce grand total-d, –max-depth=N : print total for directory only if it is N or fewer levels below command line argument -h, –human-readable : print sizes in human readable format-S, -separate-dirs : for directories, don’t include size of subdirectories -s, –summarize : display only total for each directory–time : show time of last modification of any file or directory.–exclude=PATTERN : exclude files that match PATTERN