What is ${nice-path}?

What is ${nice-path}?
0

I see ${nice-path} in a lot of AWK .ind scripts, in the SSH command. I can't find any info about it in the wiki. What does this var resolve to? Where is it set? Why do we need it?


If you tell me, I will document it :)

Hey Hawkeye! I'm sure others may have some more detailed input to offer here, but I wanted to share this: https://en.wikipedia.org/wiki/Nice_(Unix). Will help understand Nice'ness.

This was used predominantly with Check Point. Based on the platform, running a command in nice mode is natively different (see uname.ind).


nice-path is simply an interrogation tag with a specific value, dependent on the platform identified in the interrogation script. This value is then replaced for ${nice-path} under PARSER. This way, we don't have to create a separate IND script to support each platform. Was I close enough ? :P


So for installed_jumbo_take.ind,

Indeni would read the following under PARSER for a CP 13000 series:

${nice-path} -n 15 installed_jumbo_take -n


as


/bin/nice -n 15 installed_jumbo_take -n

Documented here: https://indeni.atlassian.net/wiki/spaces/IKP/pages/300515329/AWK+nice-path