188
Appendix A. Command Line Config Management Tools
A.2.3. Viewing Config Channels
To view the labels and names of the config channels that apply to the system, issue the
command:
rhncfg-client channels
You should see output resembling:
Config channels:
Label
Name
-----
----
config-channel-17
config chan 2
config-channel-14
config chan 1
The following table lists the options available for
rhncfg-client get
:
Option
Description
--topdir=TOPDIR
Make all file operations relative to this string.
-h, --help
Show help message and exit
Table A-2.
rhncfg-client get
options
A.2.4. Differentiating between Config Files
To view the differences between the config files deployed on the system and those stored
by RHN, issue the command:
rhncfg-client diff
The output resembles the following:
--- /tmp/@3603.0.rhn-cfg-tmp
2004-01-13
14:18:31.000000000 -0500
+++ /etc/example-config.txt
2003-12-16
21:35:32.000000000 -0500
@@ -1,3 +1,5 @@
+additional text
In addition, you may include the
--topdir
option to compare config files in RHN with
those located in an arbitrary (and unused) location on the client system, like so:
[root@ root]# rhncfg-client diff --topdir /home/test/blah/
/usr/bin/diff: /home/test/blah/etc/example-config.txt: No such file or directory
Содержание NETWORK 4.0.5 -
Страница 1: ...Red Hat Network 4 0 5 Reference Guide...
Страница 10: ......
Страница 16: ...vi Introduction to the Guide...
Страница 24: ...8 Chapter 1 Red Hat Network Overview...
Страница 40: ...24 Chapter 2 Red Hat Update Agent Figure 2 11 Available Package Updates...
Страница 58: ...42 Chapter 2 Red Hat Update Agent...
Страница 80: ...64 Chapter 5 Red Hat Network Registration Client Figure 5 15 Text Mode Welcome Screen...
Страница 186: ...170 Chapter 7 Monitoring...
Страница 200: ...184 Chapter 8 UNIX Support Guide...
Страница 214: ...198 Appendix A Command Line Config Management Tools...
Страница 274: ...258 Appendix C Probes...
Страница 282: ...266 Glossary...