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.
This commit is contained in:
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

View File

@ -163,7 +163,7 @@ _第二条命令_
cat /proc/Xray的pid/limits 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`
服务端和客户端都要检查 服务端和客户端都要检查