Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet252/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   248   249   250   251   252   253   254   255   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 193 
]
The output of 
du -h
 can often be more verbose than you actually need in order to 
pinpoint your culprit
 and can fill several screens. To simplify it, my favorite variation 
of this command is the following:
du -hsc * 
Basically, you would run 
du -hsc *
 within a directory that's as close as possible 
to where you think the problem is. The 
-h
 option, as we know, gives us human-
readable output (essentially, giving us output in the form of megabytes, gigabytes, 
and so on). The 
-s
 option gives us a summary and 
-c
 provides us with the total 
amount of space used within our current working directory. The following 
screenshot shows this output from my laptop:
Figure 8.3: Example output from du -hsc *
The 
du
 command is only able to scan directories that its calling 
user has permission to scan. If you run this as a non-root user, then 
you may not be getting the full picture. Also, the more files and 
sub-directories that are within your current working directory, 
the longer this command will take to execute. If you have an idea 
where the resource hog might be, try to 
cd
 into a directory further 
in the tree to narrow your search down and reduce the amount of 
time the command will take.


Monitoring System Resources

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   248   249   250   251   252   253   254   255   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish