[deployment-guide] Updated the "Viewing File Systems" section.

Jaromir Hradilek jhradile at fedoraproject.org
Thu Oct 13 16:51:29 UTC 2011


commit 707bf20b47e48423536a70507800e1b268b56382
Author: Jaromir Hradilek <jhradile at redhat.com>
Date:   Thu Oct 13 18:22:55 2011 +0200

    Updated the "Viewing File Systems" section.

 en-US/System_Monitoring_Tools.xml |  167 +++++++++++++++++++++++-------------
 1 files changed, 107 insertions(+), 60 deletions(-)
---
diff --git a/en-US/System_Monitoring_Tools.xml b/en-US/System_Monitoring_Tools.xml
index ee39fb3..7353c0a 100644
--- a/en-US/System_Monitoring_Tools.xml
+++ b/en-US/System_Monitoring_Tools.xml
@@ -97,7 +97,7 @@ Swap:  1015800k total,        0k used,  1015800k free,   189008k cached
    12 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper
 <lineannotation>[output truncated]</lineannotation></screen>
       <para>
-        <xref linkend="interactive-top-command" /> contains useful interactive commands that you can use with <command>top</command>. For more information, refer to the <command>top</command>(1) manual page.
+        <xref linkend="interactive-top-command" /> contains useful interactive commands that you can use with <command>top</command>. For more information, refer to the <emphasis role="bold">top</emphasis>(1) manual page.
       </para>
       <table id="interactive-top-command">
         <title>Interactive top commands</title>
@@ -333,7 +333,7 @@ Swap:         4095          0       4095</screen>
         <primary><application>System Monitor</application></primary>
       </indexterm>
       <para>
-        If you prefer a graphical interface, you can use the <application>System Monitor</application> application. To start it, select <menuchoice><guimenu>Applications</guimenu><guimenuitem>System Tools</guimenuitem><guimenuitem>System Monitor</guimenuitem></menuchoice> from the <guimenu>Activities</guimenu> menu, or execute <command>gnome-system-monitor</command> at a shell prompt. Click on the <guilabel>Resources</guilabel> tab.
+        If you prefer a graphical interface, you can use the <application>System Monitor</application> application. To start it, select <menuchoice><guimenu>Applications</guimenu><guimenuitem>System Tools</guimenuitem><guimenuitem>System Monitor</guimenuitem></menuchoice> from the <guimenu>Activities</guimenu> menu, or execute <command>gnome-system-monitor</command> at a shell prompt. Then click on the <guilabel>Resources</guilabel> tab to view the system's memory usage.
       </para>
       <figure id="fig-sysinfo-memory">
         <title>System Monitor - Resources</title>
@@ -359,64 +359,111 @@ Swap:         4095          0       4095</screen>
     <indexterm>
       <primary>file systems</primary>
     </indexterm>
-    <indexterm>
-      <primary><command>df</command></primary>
-    </indexterm>
-    <para>
-      The <command>df</command> command reports the system's disk space usage. If you Execute the command <command>df</command> at a shell prompt, the output looks similar to the following:
-    </para>
-    <screen>~]$ <command>df</command>
-Filesystem           1K-blocks      Used Available Use% Mounted on
-/dev/mapper/volgrp1-lvroot
-                      14127024   6868092   6541316  52% /
-tmpfs                  2008828       592   2008236   1% /dev/shm
-/dev/sda1               495844     65047    405197  14% /boot
-/dev/mapper/luks-b20f8f7a-7f0f-4497-8de4-81bfa3e541cf
-                     122046576  12111420 103735552  11% /home</screen>
-    <para>
-      By default, this utility shows the partition size in 1 kilobyte blocks and the amount of used and available disk space in kilobytes. To view the information in megabytes and gigabytes, use the command <command>df -h</command>. The <command>-h</command> argument stands for human-readable format. The output looks similar to the following:
-    </para>
-    <screen>~]$ <command>df -h</command>
-Filesystem            Size  Used Avail Use% Mounted on
-/dev/mapper/volgrp1-lvroot
-                       14G  6.6G  6.3G  52% /
-tmpfs                 2.0G  592K  2.0G   1% /dev/shm
-/dev/sda1             485M   64M  396M  14% /boot
-/dev/mapper/luks-b20f8f7a-7f0f-4497-8de4-81bfa3e541cf
-                      117G   12G   99G  11% /home</screen>
-    <indexterm>
-      <primary>system information</primary>
-      <secondary>file systems</secondary>
-      <tertiary><filename>/dev/shm</filename></tertiary>
-    </indexterm>
-    <indexterm>
-      <primary><filename>/dev/shm</filename></primary>
-    </indexterm>
-    <para>
-      In the list of mounted partitions, there is an entry for <filename>/dev/shm</filename>. This entry represents the system's virtual memory file system.
-    </para>
-    <indexterm>
-      <primary><command>du</command></primary>
-    </indexterm>
-    <para>
-      The <command>du</command> command displays the estimated amount of space being used by files in a directory. If you execute <command>du</command> at a shell prompt, the disk usage for each of the subdirectories is displayed in a list. The grand total for the current directory and subdirectories are also shown as the last line in the list. If you do not want to see the totals for all the subdirectories, use the command <command>du -hs</command> to see only the grand total for the directory in human-readable format. Use the <command>du --help</command> command to see more options.
-    </para>
-    <para>
-      To view the system's partitions and disk space usage in a graphical format, use the <guilabel>Gnome System Monitor</guilabel> by clicking on <menuchoice><guimenu>Applications</guimenu><guimenuitem>System Tools</guimenuitem><guimenuitem>System Monitor</guimenuitem></menuchoice> or executing the <command>gnome-system-monitor</command> command at a shell prompt. Select the File Systems tab to view the system's partitions. The figure below illustrates the File Systems tab.
-    </para>
-    <figure id="fig-sysinfo-filesystems">
-      <title>System Monitor - File Systems</title>
-      <mediaobject>
-        <imageobject>
-          <imagedata fileref="images/system-monitor-file-systems.png" format="PNG" scalefit="0" />
-        </imageobject>
-        <textobject>
-          <para>
-            File systems tab of the gnome-system-monitor
-          </para>
-        </textobject>
-      </mediaobject>
-    </figure>
+    <section id="s2-sysinfo-filesystems-df">
+      <title>Using the df Command</title>
+      <indexterm>
+        <primary><command>df</command></primary>
+      </indexterm>
+      <para>
+        The <command>df</command> command reports the system's disk space usage, for example:
+      </para>
+      <screen>~]$ <command>df</command>
+Filesystem                       1K-blocks    Used Available Use% Mounted on
+rootfs                            20642428 3610728  16822056  18% /
+devtmpfs                           1532396       0   1532396   0% /dev
+tmpfs                              1542404     440   1541964   1% /dev/shm
+tmpfs                              1542404   47500   1494904   4% /run
+/dev/mapper/vg_test-lv_fedora_16  20642428 3610728  16822056  18% /
+tmpfs                              1542404   47500   1494904   4% /run
+tmpfs                              1542404       0   1542404   0% /sys/fs/cgroup
+tmpfs                              1542404       0   1542404   0% /media</screen>
+      <para>
+        By default, this utility shows the partition size in 1 kilobyte blocks and the amount of used and available disk space in kilobytes. To view the information in megabytes and gigabytes, supply the <option>-h</option> command line option, which causes <command>du</command> to display the values in a human-readable format:
+      </para>
+      <screen>~]$ <command>df -h</command>
+Filesystem                        Size  Used Avail Use% Mounted on
+rootfs                             20G  3.5G   17G  18% /
+devtmpfs                          1.5G     0  1.5G   0% /dev
+tmpfs                             1.5G  440K  1.5G   1% /dev/shm
+tmpfs                             1.5G   47M  1.5G   4% /run
+/dev/mapper/vg_test-lv_fedora_16   20G  3.5G   17G  18% /
+tmpfs                             1.5G   47M  1.5G   4% /run
+tmpfs                             1.5G     0  1.5G   0% /sys/fs/cgroup
+tmpfs                             1.5G     0  1.5G   0% /media</screen>
+      <indexterm>
+        <primary>system information</primary>
+        <secondary>file systems</secondary>
+        <tertiary><filename>/dev/shm</filename></tertiary>
+      </indexterm>
+      <indexterm>
+        <primary><filename>/dev/shm</filename></primary>
+      </indexterm>
+      <para>
+        Note that the <filename>/dev/shm</filename> entry represents the system's virtual memory file system, <filename>/sys/fs/cgroup</filename> is a cgroup file system, and <filename>/run</filename> contains information about the running system.
+      </para>
+      <para>
+        For a complete list of available command line options, refer to the <emphasis role="bold">df</emphasis>(1) manual page.
+      </para>
+    </section>
+    <section id="s2-sysinfo-filesystems-du">
+      <title>Using the du Command</title>
+      <indexterm>
+        <primary><command>du</command></primary>
+      </indexterm>
+      <para>
+        The <command>du</command> command displays the amount of space being used by files in a directory. When run with no additional command line options, the <command>du</command> command displays the disk usage for each of the subdirectories in the current working directory. For example:
+      </para>
+      <screen>~]$ <command>du</command>
+8       ./.gconf/apps/gnome-terminal/profiles/Default
+12      ./.gconf/apps/gnome-terminal/profiles
+16      ./.gconf/apps/gnome-terminal
+<lineannotation>[output truncated]</lineannotation>
+460     ./.gimp-2.6
+68828   .</screen>
+      <para>
+        By default, <command>du</command> displays the disk usage in kilobytes. To view the information in megabytes and gigabytes, supply the <option>-h</option> command line option, which causes the utility to display the values in a human-readable format:
+      </para>
+      <screen>~]$ <command>du -h</command>
+8.0K    ./.gconf/apps/gnome-terminal/profiles/Default
+12K     ./.gconf/apps/gnome-terminal/profiles
+16K     ./.gconf/apps/gnome-terminal
+<lineannotation>[output truncated]</lineannotation>
+460K    ./.gimp-2.6
+68M     .</screen>
+      <para>
+        At the end of the list, the <command>du</command> command also shows the grand total for the current directory and subdirectories. If you are only interested in this number, add the <option>-s</option> command line option, for example:
+      </para>
+      <screen>~]$ <command>du -sh</command>
+68M     .</screen>
+      <para>
+        For a complete list of available command line options, refer to the <emphasis role="bold">du</emphasis>(1) manual page.
+      </para>
+    </section>
+    <section id="s2-sysinfo-filesystems-system_monitor">
+      <title>Using the System Monitor Tool</title>
+      <indexterm>
+        <primary><command>gnome-system-monitor</command></primary>
+      </indexterm>
+      <indexterm>
+        <primary><application>System Monitor</application></primary>
+      </indexterm>
+      <para>
+        To view the system's partitions and disk space usage in a graphical user interface, use the <guilabel>System Monitor</guilabel> application. To start it, select <menuchoice><guimenu>Applications</guimenu><guimenuitem>System Tools</guimenuitem><guimenuitem>System Monitor</guimenuitem></menuchoice> from the <guimenu>Activities</guimenu> menu, or execute the <command>gnome-system-monitor</command> command at a shell prompt. Then click on the <guilabel>File Systems</guilabel> tab to view the system's partitions.
+      </para>
+      <figure id="fig-sysinfo-filesystems">
+        <title>System Monitor - File Systems</title>
+        <mediaobject>
+          <imageobject>
+            <imagedata fileref="images/system-monitor-file-systems.png" format="PNG" scalefit="0" />
+          </imageobject>
+          <textobject>
+            <para>
+              File systems tab of the gnome-system-monitor
+            </para>
+          </textobject>
+        </mediaobject>
+      </figure>
+    </section>
   </section>
   <section id="s1-sysinfo-hardware">
     <title>Viewing Hardware Information</title>


More information about the docs-commits mailing list