Hi, there!
[] a long PATH... makes the OS access the disk quite often, hence there is a lot of disk I/O
[] a long PATH... makes the OS compute a lot of ..., hence a high CPU load
(Edited/added later: Yes, this is not about the lenght of the env. var., but about the number of directories listed.)
What's the right answer on that?
Do we have to consider PATH, LD_LIBRARY_PATH, LIBPATH separately?
Do different Unix flavour OSs react rather differently?
No, it's not from a quiz or an interview. We got such a problem at work, and "the experts" are telling us, it's more of a CPU load issue. I actually doubt that.
Regards,
~j