![]() If you scroll down, you can sign up for the newsletter, vote for the article, and comment. To limit the amount of disk space for logging, the most effective approach is to use a lower ec.logHistory value. Checking Disk Space on Linux Using Terminal Commands Overseeing disk space usage in most operating systems is simple, with just one tool to rule them all. Linux has a few tools for this job, so let’s look at how to check disk space on a Linux device. Thanks for reading! If you want to help, or if the site has helped you, you can donate, register to help, write an article, or buy inexpensive hosting to start your own site. Whether it’s a Linux desktop or a server, it’s crucial that you periodically check how much free space your hard drive or drives have left. The site has had a new article every other day for quite a while. By adding a certain option to the df command, you can check the disk space in Linux more precisely. Still, as I mentioned, the show must go on. I’m watching IMSA’s last race of the season and feeling poorly, so hopefully I get some sleep at a reasonable hour. df -T shows the disk usage along with each block's filesystem type (e.g., xfs, ext2, ext3, btrfs, etc. df -a shows the file system's complete disk usage even if the Available field is 0. df -h shows disk space in human-readable format. It seemed like a good idea to do a quick article tonight. The df command stands for 'disk-free,' and shows available and used disk space on the Linux system. You might prefer one of those methods, but you can always just use the terminal to check disk space. I also wrote an article about using GUI methods to visualize disk space usage. ![]() As you can see, it runs just fine while in the Downloads directory. ![]() Also, it doesn’t matter what directory you’re in when you run the command. I don’t need to worry about running out of space any time soon, but if it gets low I can always check disk usage with ‘df’. ![]() The output of which might look a little something like this: See? No errors and it is nice and readable! You can’t go wrong with that!Īs you can see in the picture, I’m only using less than half of my available disk space. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |