![]() Migrate Data From One Joomla! Instance to Another.Best Practices for Cloud Resource Management.Learn about the Bitnami Diagnostic Tool.Start Analyzing your Projects with SonarQube.Separate a Single WordPress Multisite Instance into Multiple Independent WordPress Websites/Blogs.Monitor Bitnami Stacks with NGINX Amplify.Migrate Data From One WordPress Instance to Another.Learn about the Bitnami HTTPS Configuration Tool.Improve TensorFlow Serving Performance with GPU Support.Combine Multiple Independent WordPress Websites/Blogs into a Single WordPress Multisite Instance.Migrate Data From One Drupal Instance to Another.Migrate Data From One Bitnami LMS Powered by Moodle(TM) LMS Instance to Another.Install WordPress On Top Of The Bitnami NGINX Stack.Install Drupal On Top Of The Bitnami NGINX Stack.Configure Advanced Integration between Git and Redmine.Migrate a Local PHP Application to the Cloud. ![]() Generate and Install a Let's Encrypt SSL Certificate for a Bitnami Application.These are the ways I typically use the command, so find your favorite options and start gathering data about your system. It's a good idea to use the df command regularly to monitor usage on critical mount points. You can read about the available field options on the info page and the man page. ![]() For instance, suppose you don't want to see the size or amount of disk used: $ df -h -output=source,avail,pcent,target If you want different output, you can customize the fields. The examples I've demonstrated so far have the same columns in the output. You can also run df on a specific mount point: $ df -h / Get disk space available on a specific mount If you want to omit all mount points except for the total, use grep alongside a regular expression with ^ to search for the total at the start of a line: $ df -h -total|grep ^total You can use this option when all mounted filesystems are on the same disk, whether physical or virtual: $ df -h -total To omit entries that aren't essential to available space and get a total, use the -total option. ![]() To show inode (or index node) use on each mounted filesystem, use -inodes ( -i for short): $ df -ihįilesystem Inodes IUsed IFree IUse% Mounted on If you want to run df in its human-readable format, use the -human-readable ( -h for short) option: $ df -hįilesystem Size Used Avail Use% Mounted on Lists of long numbers (as shown above) can be difficult to parse. Disk space is shown in 1K blocks by default: $ dfįilesystem 1K-blocks Used Available Use% Mounted on If you don't include a file name, the output shows the space available on all currently mounted filesystems. The df command primarily checks disk usage on a mounted filesystem. Like many Linux commands, df uses the following structure: df. This article discusses how to use the df command. You might also be interested in my article Make du's output more useful with this neat trick. The df command displays the amount of disk space available on the filesystem with each file name's argument.įor a good overview of the du command, read Tyler Carrigan's article Linux commands: du and the options you should be using. While du reports files' and directories' disk usage, df reports how much disk space your filesystem is using. Two related commands that every system administrator runs frequently are df and du. How well do you know Linux? Take a quiz and get a badge.Linux system administration skills assessment.A guide to installing applications on Linux.Download RHEL 9 at no charge through the Red Hat Developer program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |