Using pidof to determine pid of xray (#136)

from man pidof:
    pidof -- find the process ID of a running program
also, you can use :
    cat /proc/`pidof xray`/limits
in line 163, to find the limits of xray, without the hassle of figuring out the pid yourself.
pull/138/head
JuanCC 2021-10-14 19:00:23 +08:00 committed by GitHub
parent 10aef49dd7
commit b77187384b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ _第二条命令_
cat /proc/Xray的pid/limits
```
找到 max open files 一项应该是你设置的数值。pid 的获取方法为运行`ps`或`ps -aux`或`ps -a`
找到 max open files 一项应该是你设置的数值。pid 的获取方法为运行`ps`或`ps -aux`或`ps -a`或`pidof xray`
服务端和客户端都要检查