- Update with installation path,

- Update envmng usage and id lists.
This commit is contained in:
agibert 2009-01-13 17:30:14 +00:00
parent 726fc27ef5
commit 153a5d548f

View File

@ -1,7 +1,7 @@
# $RCSfile: ReadMe.txt,v $
# $Revision: 1.3 $
# $Revision: 1.4 $
# $Name: $
# $Date: 2009/01/13 13:27:53 $
# $Date: 2009/01/13 17:30:14 $
# $Author: agibert $
@ -31,7 +31,7 @@ envmng installation
- copy <EnvMngDir>/etc/skel/.dtprofile to ~/.dtprofile
- soft link ~/.bash_profile to <EnvMngDir>/etc/envmng_rc
<EnvMngDir> is /home/dtarget/envmng
Eg. <EnvMngDir> can be /usr/local
@ -47,6 +47,9 @@ Usage: envmng [COMMAND] [OPTION]
-p, --profile [<Env>] do envlist or <Env> profile
-r, --rc [<Env>] do envlist or <Env> rc
-s, --status print status
-l, --list list Id(s), EnvList(s) and Env(s)
-li, --listid list Id(s) and EnvList(s)
-le, --listenv list Env(s)
-h, --help print this help
-V, --version print version
@ -55,6 +58,7 @@ Usage: envmng [COMMAND] [OPTION]
envmng usage example
-------------------------------------------------------------------------------
- print curent env status: "envmng -s"
- list ids, envlists and envs: "envmng -l"
- switch to dtarget-gnu env: "envmng -S dtarget-gnu" or "env-dtarget"
- switch to d2target-gnu env: "envmng -S d2target-gnu" or "env-d2target"
- switch to ksh: "envmng -k" or "env-ksh"
@ -67,31 +71,38 @@ user env customization
- copy <EnvMngDir>/etc/envmng.d/env_template to ~/.envmng_user
- add user customization into ~/.envmng_user
<EnvMngDir> is /home/dtarget/envmng
.profile template
.profile template example
-------------------------------------------------------------------------------
clear
. /home/dtarget/envmng/etc/envmng_profile d2target-gnu bash
#. /home/dtarget/envmng/etc/envmng_profile d2target ksh
. /usr/local/etc/envmng_profile d2target-gnu bash
#. /usr/local/etc/envmng_profile d2target ksh
.dtprofile template
.dtprofile template example
-------------------------------------------------------------------------------
. /home/dtarget/envmng/etc/envmng_dtprofile d2target-gnu bash
#. /home/dtarget/envmng/etc/envmng_dtprofile d2target-gnu ksh
. /usr/local/etc/envmng_dtprofile d2target-gnu bash
#. /usr/local/etc/envmng_dtprofile d2target-gnu ksh
EnvMng Id List (<EnvMngDir>/etc/envmng_id)
-------------------------------------------------------------------------------
dtarget: user:shell:ora920:tux80:dtarget:snav:pvcs:64bits:system:gnu
dtarget-gnu: user:gnu:shell:ora920:tux80:dtarget:snav:pvcs:64bits:system
d2target: user:shell:ora817a:tux80a:d2target:snav:pvcs:32bits:system:gnu
d2target-gnu: user:gnu:shell:ora817a:tux80a:d2target:snav:pvcs:32bits:system
# HP/UX Example
dtarget: user:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system:gnu
dtarget-gnu: user:gnu:shell:imr:ora920a:tux80:mqm-64:dtarget:snav:pvcs:purify:hpux-64:hpux-system
d2target: user:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system:gnu
d2target-gnu: user:gnu:shell:imr:ora817a:tux80:mqm-32:d2target:snav:pvcs:purify:hpux-32:hpux-system
# AIX Example
migtt2: user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
migtt2-gnu: user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
migtt2-64: user:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system:gnu
migtt2-g64: user:gnu:shell:ora10:mqm-64:migtt2:java14:vac:aix-64:aix-system
migtt2-32: user:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system:gnu
migtt2-g32: user:gnu:shell:ora10:mqm-32:migtt2:java14:vac:aix-32:aix-system