AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() Those are dummy keys - replace with your actual working keys with the same file name for the keys. (2) The sample keys provided here 'ssh_authorized_keys.pem' and 'ssh_authorized_keys.pub' are just for illustration purposes. (1) The env.sh file needs to be updated with your tenancy specific information Environment Requirementsįollow all instructions for installing the Terraform and Oracle Bare Metal Provider executables. To learn more about Oracle BMCS, read the Getting Started guide. If you do not have access, you can request a free trial. You will also, of course, need access to an Oracle Bare Metal Cloud Service (BMCS) account. You must also have installed the Oracle Bare Metal Cloud Terraform provider. To run this you must have installed the Terraform binary (at least 0.9.x) and configured it per instruction. These are the ways I typically use the command, so find your favorite options and start gathering data about your system.Meanstack-bitnami This will deploy a MEAN Stack Bitnami image on Oracle Bare Metal Cloud using Terraform Software Requirements 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
Read More
Leave a Reply. |