dotnet / dotnet/diagnostics

list-processes command shows processes from other users

Open
#314 1 comment 1 reaction 0 assignees View on GitHub
diagnostic global tooling enhancement good first issue up-for-grabs
Dominant language
C++
Stars
1.3k
Forks
404
Avg merge
2d 3h
Merged PRs (30d)
38

Description

We may see processes from other users. For example:
```
sywhang@suwhang-ubuntu:~/diagnostics/src/Tools/dotnet-counters$ dotnet run list-processes
11501 custom-counter [Elevated process - cannot determine path]
1120 dotnet /home/sywhang/dotnet/dotnet
11158 dotnet [Elevated process - cannot determine path]
11171 dotnet [Elevated process - cannot determine path]
11188 dotnet [Elevated process - cannot determine path]
11748 dotnet /home/sywhang/dotnet/dotnet
11803 dotnet /home/sywhang/dotnet/dotnet
30112 dotnet [Elevated process - cannot determine path]
30125 dotnet [Elevated process - cannot determine path]
30142 dotnet [Elevated process - cannot determine path]
```

We should probably add a separate command or an option that lets users specify to filter out processes that doesn't belong to the user.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.