---
title: "How to show the environment variables of a running Netprobe process in Linux?"
description: "This FAQ explains how to show the environment variables of a running Netprobe process in Linux. It provides instructions to find the Netprobe PID and use a command or add a Toolkit sampler to display environment variables as a dataview."
url: "https://docs.itrsgroup.com/docs/faq/geneos/4588325290653-geneos-how-to-show-the-environment-variables-of-a-running-netprobe-process-in-linux/index.html"
---
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.

![Netprobe environment variables](https://docscdn.itrsgroup.com/faq/images/geneos/netprobe-environment-variables.png)


