×ðÁú¿­Ê±

ÔÚLinuxϵͳÖÐûÓÐdufÏÂÁî £¬ÔõÑùÓÐÓõØÖÎÀí´ÅÅ̿ռ䣿

ÎÊÌ⣺LinuxϵͳÖÐûÓÐdufÏÂÁî £¬ÔõÑùÖÎÀí´ÅÅ̿ռ䣿

ÔÚLinuxϵͳÖÐ £¬ÖÎÀí´ÅÅÌ¿Õ¼äÊÇÒ»ÏîºÜÊÇÖ÷ÒªµÄʹÃü¡£Í¨³£ÎÒÃÇ»áʹÓÃһЩÏÂÁîÐй¤¾ßÀ´¼ì²é´ÅÅÌʹÓÃÇéÐÎ £¬ºÃ±È³£¼ûµÄdfÏÂÁȻ¶ø £¬ÓÐʱ¼ä¿ÉÄÜ»áÓöµ½Ò»Ð©ÇéÐÎ £¬ºÃ±ÈЧÀÍÆ÷ÉÏûÓÐ×°ÖÃdufÕâÑùµÄ¹¤¾ß £¬ÄÇô¸ÃÔõÑùÖÎÀí´ÅÅÌ¿Õ¼äÄØ£¿±¾ÎĽ«ÏÈÈÝһЩÌæ»»ÒªÁì £¬²¢¸ø³öÏêϸµÄ´úÂëʾÀý¡£

ʹÓÃdfÏÂÁî

Ö»¹ÜûÓÐdufÏÂÁî £¬¿ÉÊÇLinuxϵͳ×Ô´øµÄdfÏÂÁîÊǺܳ£ÓõĴÅÅÌ¿Õ¼äÖÎÀí¹¤¾ß¡£Í¨¹ýdfÏÂÁî £¬Äú¿ÉÒÔÇáËɵØÉó²é´ÅÅÌ·ÖÇøµÄʹÓÃÇéÐΡ£ÒÔÏÂÊÇʹÓÃdfÏÂÁîÀ´Éó²é´ÅÅÌ¿Õ¼äµÄʾÀý£º

df -h

µÇ¼ºó¸´ÖÆ

¸ÃÏÂÁÁгöËùÓйÒÔصĴÅÅÌ·ÖÇøÒÔ¼°ËüÃǵÄʹÓÃÇéÐÎ £¬°üÀ¨ÒÑÓÿռ䡢¿ÉÓÿռ䡢ʹÓÃÂʵÈÐÅÏ¢¡£

ʹÓÃduÏÂÁî

ÁíÒ»¸ö³£ÓõĴÅÅÌ¿Õ¼äÖÎÀí¹¤¾ßÊÇduÏÂÁͨ¹ýduÏÂÁî £¬Äú¿ÉÒÔÉó²éÖ¸¶¨Ä¿Â¼»òÎļþµÄ´ÅÅÌʹÓÃÇéÐΡ£ÒÔÏÂÊÇʹÓÃduÏÂÁîÀ´Éó²éÖ¸¶¨Ä¿Â¼µÄ´ÅÅÌ¿Õ¼äÕ¼ÓÃÇéÐεÄʾÀý£º

du -h /path/to/directory

µÇ¼ºó¸´ÖÆ

¸ÃÏÂÁÁгöÖ¸¶¨Ä¿Â¼Ï¸÷¸ö×ÓĿ¼ºÍÎļþµÄ´ÅÅÌ¿Õ¼äÕ¼ÓÃÇéÐΡ£

ʹÓÃfindÏÂÁî

³ýÁËdfºÍduÏÂÁî £¬findÏÂÁîÒ²ÊÇÒ»¸ö³£ÓõŤ¾ß £¬¿ÉÒÔ×ÊÖúÄú²éÕÒ²¢ÖÎÀí´ÅÅ̿ռ䡣ÒÔÏÂÊÇʹÓÃfindÏÂÁî²éÕÒ´óÎļþµÄʾÀý£º

find /path/to/directory -type f -size +100M

µÇ¼ºó¸´ÖÆ

¸ÃÏÂÁÔÚÖ¸¶¨Ä¿Â¼Ï²éÕÒ¾ÞϸÁè¼Ý100MBµÄÎļþ £¬²¢ÁгöËüÃǵÄÏêϸÐÅÏ¢¡£

ʹÓÃncduÏÂÁî

ÈôÊÇÄú¶ÔÏÂÁîÐв»·óÊìϤ £¬Ò²¿ÉÒÔʹÓÃncduÕâÑùµÄ½»»¥Ê½¹¤¾ßÀ´ÖÎÀí´ÅÅ̿ռ䡣ncdu¿ÉÒÔ×ÊÖúÄúÖ±¹ÛµØÏàʶ´ÅÅÌ¿Õ¼äµÄʹÓÃÇéÐÎ £¬²¢¾ÙÐнøÒ»²½µÄ²Ù×÷¡£Äú¿ÉÒÔͨ¹ýÏÂÃæµÄÏÂÁîÀ´×°ÖúÍʹÓÃncdu£º

sudo apt-get install ncdu
ncdu /path/to/directory

µÇ¼ºó¸´ÖÆ

ÒÔÉÏÊÇһЩÔÚLinuxϵͳÖÐÖÎÀí´ÅÅÌ¿Õ¼äµÄ³£ÓÃÒªÁìºÍÏÂÁî £¬×ÝȻûÓÐdufÕâÑùµÄ¹¤¾ß £¬ÄúÒ²¿ÉÒÔͨ¹ýÕâЩÌæ»»ÒªÁìÀ´ÇáËÉÖÎÀí´ÅÅ̿ռ䡣ϣÍûÕâЩ´úÂëʾÀýÄܶÔÄúÓÐËù×ÊÖú¡£

ÒÔÉϾÍÊÇÔÚLinuxϵͳÖÐûÓÐdufÏÂÁî £¬ÔõÑùÓÐÓõØÖÎÀí´ÅÅ̿ռ䣿µÄÏêϸÄÚÈÝ £¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡

ÃâÔð˵Ã÷£ºÒÔÉÏչʾÄÚÈÝȪԴÓÚÏàÖúýÌå¡¢ÆóÒµ»ú¹¹¡¢ÍøÓÑÌṩ»òÍøÂçÍøÂçÕûÀí £¬°æȨÕùÒéÓë±¾Õ¾ÎÞ¹Ø £¬ÎÄÕÂÉæ¼°¿´·¨Óë¿´·¨²»´ú±í×ðÁú¿­Ê±ÂËÓÍ»úÍø¹Ù·½Ì¬¶È £¬Çë¶ÁÕß½ö×ö²Î¿¼¡£±¾ÎĽӴýתÔØ £¬×ªÔØÇë˵Ã÷À´ÓÉ¡£ÈôÄúÒÔΪ±¾ÎÄÇÖÕ¼ÁËÄúµÄ°æȨÐÅÏ¢ £¬»òÄú·¢Ã÷¸ÃÄÚÈÝÓÐÈκÎÉæ¼°ÓÐÎ¥¹«µÂ¡¢Ã°·¸Ö´·¨µÈÎ¥·¨ÐÅÏ¢ £¬ÇëÄúÁ¬Ã¦ÁªÏµ×ðÁú¿­Ê±ÊµÊ±ÐÞÕý»òɾ³ý¡£

Ïà¹ØÐÂÎÅ

ÁªÏµ×ðÁú¿­Ê±

18523999891

¿É΢ÐÅÔÚÏß×Éѯ

ÊÂÇéʱ¼ä£ºÖÜÒ»ÖÁÖÜÎå £¬9:30-18:30 £¬½ÚãåÈÕÐÝÏ¢

QR code
¡¾ÍøÕ¾µØͼ¡¿¡¾sitemap¡¿