You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not presently possible for any software running with the agent to know where the root directory is other than by knowing that it's currently hard-coded or by trying to parse PATH or PYTHONPATH.
In v0.69, this is $(getconf.py pbench_install_dir pbench-agent). In 0.71 and later it is $(pbench-config pbench_install_dir pbench-agent). Is that enough?
Of course, ironically, pbench-config requires that the full install path be in PATH, and in PYTHONPATH, and that _PBENCH_AGENT_CONFIG is defined containing the full install path ... so if you already have the Pbench agent install path in your environment at least three times, you will be able to ask for it... ;-)
In v0.69, this is $(getconf.py pbench_install_dir pbench-agent). In 0.71 and later it is $(pbench-config pbench_install_dir pbench-agent). Is that enough?
if you already have the Pbench agent install path in your environment at least three times, you will be able to ask for it... ;-)
But, when you install the Agent, it makes provision to place these automagically for you...so, as long as that's not defeated somehow, you just need to ask. 🙂
Activity
portante commentedon Sep 15, 2020
See also #1746
ndokos commentedon Jul 26, 2021
In v0.69, this is
$(getconf.py pbench_install_dir pbench-agent)
. In 0.71 and later it is$(pbench-config pbench_install_dir pbench-agent)
. Is that enough?dbutenhof commentedon Jul 27, 2021
Of course, ironically,
pbench-config
requires that the full install path be inPATH
, and inPYTHONPATH
, and that_PBENCH_AGENT_CONFIG
is defined containing the full install path ... so if you already have the Pbench agent install path in your environment at least three times, you will be able to ask for it... ;-)RobertKrawitz commentedon Jul 27, 2021
Yes.
webbnh commentedon Jul 27, 2021
But, when you install the Agent, it makes provision to place these automagically for you...so, as long as that's not defeated somehow, you just need to ask. 🙂
25 remaining items