×
Back to Geneos FAQ
How to show the environment variables of a running Netprobe process in Linux?
Find the PID of the netprobe process and run the following command:
cat /proc/PID/environ | tr "\0" "\n" | sort
This is where PID is the netprobe process ID.
In the following example, the netprobe process ID is 17604.
[ec2-user@ip-172-31-6-187 ~]$ ps -ef|grep -iE "$USER.*\<netprobe\>.linux_64"
ec2-user 17604 1 0 2021 ? 02:08:14 ./netprobe.linux_64 ec2-user@ip-172-31-6-187.7036 -nopassword
[ec2-user@ip-172-31-6-187 ~]$
[ec2-user@ip-172-31-6-187 ~]$ cat /proc/17604/environ | tr "\0" "\n" | sort
You can also display the netprobe environment variables as a dataview on the netprobe managed entity by adding the attached Toolkit sampler.
["Geneos"]
["Geneos > Netprobe"]
["FAQ"]