-
1. Where can I find a list of all BL Env Variables?
Rohit Nayyar Feb 24, 2012 1:48 PM (in response to Steve Krampach)What do u want to do with ? If u r trying to capture appserver envirnmenrt when it runs a job !
You run a NSH Script job based on a script that prints Env variables
e.g in perl based script I will use %ENV and check all the keys !
or in linux i will invoke env command !
-
2. Where can I find a list of all BL Env Variables?
Steve Krampach Feb 24, 2012 2:09 PM (in response to Rohit Nayyar)Sorry is I was not clear. I am looking for a document containing the environment variable list and their use.
-
3. Re: Where can I find a list of all BL Env Variables?
Rohit Nayyar Feb 24, 2012 3:10 PM (in response to Steve Krampach)Search the forums for 'cheat sheet' there are some documents for nsh related env variables.
The other env variables useful are related to blcli , which you should find in blcli help starting sections.
I don't think there is any other use of any other environment variables.
Thanks,
Rohit
-
4. Re: Where can I find a list of all BL Env Variables?
Steve Krampach Feb 24, 2012 4:12 PM (in response to Rohit Nayyar)I did that first. Not having had any luck after an hour, I posted the question. Thanks Rohit.
-
5. Re: Where can I find a list of all BL Env Variables?
Rohit Nayyar Feb 25, 2012 6:04 AM (in response to Steve Krampach)Still not clear what do u want to do with the ENV variables ?????
See this for NSH cheat sheet which may have NSH ENV variables
https://communities.bmc.com/communities/message/127791#127791
For blcli env variables
go to BLCLI HELP
under Using the Command Line Interface
u will find list of options with ENV variables where ever they are applicable,
-
6. Re: Where can I find a list of all BL Env Variables?
Steve Krampach Feb 27, 2012 4:20 PM (in response to Rohit Nayyar)This issue really is not what I want to do with the preset ENV variables, it is actually just wanting to locate documentation that tells me what they are, all that are available after all, anybody can set an environment variable to contain whatever they want.
What I am looking for is the discovery of what is available, why it is being used, what benefit would I obtain... Back to he original two variable set NSH_RUNCMD_HOST and NSH_RUNCMD_DIR... I know that $NSH_RUNCMD_HOST is loaded with the current host running the nsh script. This would negate me from necessitating the use of nexec -e hostname because it is a pre-built variable containing that information.
I amd trying to find all such items that make life simpler.
-
7. Re: Where can I find a list of all BL Env Variables?
Rohit Nayyar Feb 27, 2012 4:29 PM (in response to Steve Krampach)I understand that. The only other environment variables apart from these two which are known to me and I have found useful are related to the BLCLI, like RBAC Role. Did you try looking at the blcli help ?
Thanks
Rohit
-
8. Re: Where can I find a list of all BL Env Variables?
Bill RobinsonFeb 28, 2012 7:38 AM (in response to Rohit Nayyar)
1 of 1 people found this helpfulI don’t think we have a master list of these variables anywhere. You should open a ticket w/ bmc support and ask that this be added to the product documentation.
-
9. Re: Where can I find a list of all BL Env Variables?
Steve Krampach Feb 28, 2012 9:45 AM (in response to Bill Robinson)Thanks - I'll open a ticket today.
-
10. Re: Where can I find a list of all BL Env Variables?
Matthew Ragland Sep 13, 2018 9:31 AM (in response to Steve Krampach)Was this document ever created? If so, where is it?
-
11. Re: Where can I find a list of all BL Env Variables?
Cody DeanSep 25, 2018 10:39 AM (in response to Matthew Ragland)
A complete summary of NSH shell commands can be found here: