English Korean
By default, [command]#free# displays the values in kilobytes. To display the values in megabytes, supply the [option]`-m` command line option:
indexterm:[gnome-system-monitor]indexterm:[System Monitor] The `Resources` tab of the [application]*System Monitor* tool allows you to view the amount of free and used memory on the system.
To start the [application]*System Monitor* tool, either select menu:Applications[System Tools > `System Monitor`pass:attributes[{blank}]] from the Activities menu, or type [command]#gnome-system-monitor# at a shell prompt. Then click the `Resources` tab to view the system's memory usage.
In the `Memory and Swap History` section, the [application]*System Monitor* tool displays a graphical representation of the memory and swap usage history, as well as the total amount of the physical memory (`Memory`) and swap space (`Swap`) and how much of it is in use.
indexterm:[gnome-system-monitor]indexterm:[System Monitor] The `Resources` tab of the [application]*System Monitor* tool allows you to view the current CPU usage on the system.
To start the [application]*System Monitor* tool, either select menu:Applications[System Tools > `System Monitor`pass:attributes[{blank}]] from the Activities menu, or type [command]#gnome-system-monitor# at a shell prompt. Then click the `Resources` tab to view the system's CPU usage.
In the `CPU History` section, the [application]*System Monitor* tool displays a graphical representation of the CPU usage history and shows the percentage of how much CPU is currently in use.
indexterm:[lsblk] The [command]#lsblk# command allows you to display a list of available block devices. To do so, type the following at a shell prompt:
For each listed block device, the [command]#lsblk# command displays the device name (`NAME`), major and minor device number (`MAJ:MIN`), if the device is removable (`RM`), what is its size (`SIZE`), if the device is read-only (`RO`), what type is it (`TYPE`), and where the device is mounted (`MOUNTPOINT`). For example:
By default, [command]#lsblk# lists block devices in a tree-like format. To display the information as an ordinary list, add the [option]`-l` command line option:
For a complete list of available command line options, refer to the *lsblk*(8) manual page.
indexterm:[blkid] The [command]#blkid# command allows you to display information about available block devices. To do so, type the following at a shell prompt as `root`:
For each listed block device, the [command]#blkid# command displays available attributes such as its _universally unique identifier_ (`UUID`), file system type (`TYPE`), or volume label (`LABEL`). For example:
By default, the [command]#lsblk# command lists all available block devices. To display information about a particular device only, specify the device name on the command line:
You can also use the above command with the [option]`-p` and [option]`-o udev` command line options to obtain more detailed information. Note that `root` privileges are required to run this command:
blkid -po udev pass:quotes[_device_name_]
~]# blkid -po udev /dev/vda1
ID_FS_UUID=4ea24c68-ab10-47d4-8a6b-b8d3a002acba
ID_FS_UUID_ENC=4ea24c68-ab10-47d4-8a6b-b8d3a002acba
ID_FS_VERSION=1.0
ID_FS_TYPE=ext4
ID_FS_USAGE=filesystem
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_TYPE=0x83
ID_PART_ENTRY_FLAGS=0x80
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_OFFSET=2048
ID_PART_ENTRY_SIZE=1024000
ID_PART_ENTRY_DISK=252:0
For a complete list of available command line options, refer to the *blkid*(8) manual page.
Using the partx Command
indexterm:[partx] The [command]#partx# command allows you to display a list of disk partitions. To list the partition table of a particular disk, as `root`, run this command with the [option]`-s` option followed by the device name: