update grep to be more specific (#6794)

* update grep to be more specific

when grepping for openfiles the netdata example is not exact enough and will return results from too many processes, just adding `.pid` to the grep _should_ pick up the correct process.

* Update high-performance-netdata.md

* Update high-performance-netdata.md
This commit is contained in:
Nate 2019-09-16 12:43:23 -07:00 committed by Chris Akritidis
parent c18b816012
commit fab0d4bdba
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ You can check limits with following commands:
```sh
cat /proc/$(ps aux | grep "nginx: master process" | grep -v grep | awk '{print $2}')/limits | grep "Max open files"
cat /proc/$(ps aux | grep "netdata" | head -n1 | grep -v grep | awk '{print $2}')/limits | grep "Max open files"
cat /proc/$(ps aux | grep "\/[n]etdata " | head -n1 | grep -v grep | awk '{print $2}')/limits | grep "Max open files"
```
View of the files: