`
sillycat
  • 浏览: 2488539 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Diskspace Check and Fix

阅读更多
Diskspace Check and Fix

First command to check the diskspace and diskusage
> df -lh

Search by directories to see what are the usage on machines
> du -sh /*
> du -sh /var/*

In my case, I get a huge file in the maxscale.log, but I already delete that, but the diskspace is not released. So what I am doing next:
Kill the maxscale process and restart it, it works. The disk is clear after that.

References:
https://serverfault.com/questions/232525/df-in-linux-not-showing-correct-free-space-after-file-removal/232526
https://www.linux.com/training-tutorials/6how-check-disk-space-linux-command-line/
分享到:
评论

相关推荐

    Bochs - The cross platform IA-32 (x86) emulator

    - Fix BIOS INT13 function 08 when the number of cylinders on the disk = 1 - I/O Devices - USB HP DeskJet 920C printer device emulation (Ben Lunt) - Misc - Updated Bochs TESTFORM to version 0.5 -...

    Microsoft Windows 7 In Depth.pdf

    ), you might want to check Brian’s book Windows 7 and Vista Guide to Scripting, Automation, and Command Line Tools, which is due to be published in the fall of 2009. From the Library of Lee Bogdanoff...

    Sakemail

    Thanks to Serge Wagener for locate this bug, track it down and send me the fix.2/2/981.5.0- Added the Canceled property to TSakPOP and to TSakSMTP. Due to this addition now RetrieveAllMessages is a ...

    VclZip pro v3.10.1

    3) OnGetNextDisk and OnPrepareNextDisk events are called for the 1st disk now. VCLZip 2.X only calls these events starting with the 2nd disk. 4) properties CompressedSize[Index], UncompressedSize...

    IEradicator2001

    and takes up less space on your hard disk. These "improvements" make 98lite (Windows 9x without IE) a desirable system for people who are happy to trade some features they rarely or never use to ...

    pb pfc示例 pb9版

    amount of free disk space exceeded 2 gigabytes. Added new method of_GetDiskSpaceEx that takes decimals as arguments instead of longs. of_GetDiskSpace will be obsolete in a future release. ***...

    基恩士条码枪

    At least 600MB free disk space is required for the installation to succeed. DataMan software cannot be installed on Microsoft Windows 2000 (the device drivers are not compatible with Windows 2000). ...

    EurekaLog_7.5.0.0_Enterprise

    8)....Fixed: Silently ignore and fix invalid values in project options EurekaLog 7.2 Hotfix 2 (7.2.2.0), 30-April-2015 1)....Fixed: Confusing message in Manage tool when using with Trial/Pro 2).......

    2009 达内Unix学习笔记

    空格<space> 继续打开下一屏; 回车<return> 继续打开下一行; b 另外开上一屏; f 另外开下一屏; h 帮助; q或Ctrl+C 退出; /字符串 从上往下查找匹配的字符串; ?字符串 从下往上查找匹配的字符串; n...

    联想旭日420AXP系统芯片组驱动

    disk space on the system in order to install this software. 5. The operating system must be fully installed and running on the system before running this software. 6. Close any running ...

    VHD_manager_v1.3

    Check your settings and try again! \nError Code:%error%" 60="Mount &Options;\n &Mount; \n &Unmount; \n &Open; With Simple VHD Manager\n VHD Mount \n VHD Unmount" 61="Explorer Context Menu Options \n ...

Global site tag (gtag.js) - Google Analytics