getenv.shltrace -e getenv does not tell the full story, so getenv.sh lists all calls to getenv(3) made by a program. | |
Download |
getenv.sh Ranking & Summary
Advertisement
- License:
- GPL
- Price:
- FREE
- Publisher Name:
- Guillaume Chazarain
- Publisher web site:
- http://guichaz.free.fr/iotop/
getenv.sh Tags
getenv.sh Description
ltrace -e getenv does not tell the full story, so getenv.sh lists all calls to getenv(3) made by a program. Ever wondered which environment variables are consulted by a program? ltrace -e getenv does not tell the full story, so getenv.sh lists all calls to getenv(3) made by a program.For example, on my Fedora ltrace does not show that xclock(1) reads the DISPLAY environment variable.With ltrace:$ ltrace -e getenv xclock+++ exited (status 0) +++Nothing … and now with `getenv.sh`:$ ./getenv.sh xclockgetenv("XTAPPPEEKEVENT_SKIPTIMER") = NULLgetenv("DISPLAY") = ":0.0"getenv("XAUTHORITY") = "/tmp/.gdmWQFWIT"getenv("XLIBBUFFERSIZE") = NULLgetenv("XKB_DEBUG") = NULLgetenv("_XKB_OPTIONS_ENABLE") = NULLgetenv("XKB_DISABLE") = NULLgetenv("RESOURCE_NAME") = NULLgetenv("XLOCALEDIR") = NULLgetenv("XLOCALEDIR") = NULLgetenv("XMODIFIERS") = NULLgetenv("XENVIRONMENT") = NULLgetenv("HOME") = "/home/g"...
getenv.sh Related Software