Ps : Nix fix.
This commit is contained in:
parent
8b8efad6a6
commit
4b324cd3a4
|
@ -4,8 +4,8 @@ function ps() {
|
||||||
local process="${1}"
|
local process="${1}"
|
||||||
|
|
||||||
if [[ "${process}" = "" ]]; then
|
if [[ "${process}" = "" ]]; then
|
||||||
ps aux
|
/usr/bin/env ps aux
|
||||||
else
|
else
|
||||||
ps aux | sed -n -e "1p" -e "/${process}/Ip" | sed -e "/sed -n -e 1p -e/d"
|
/usr/bin/env ps aux | sed -n -e "1p" -e "/${process}/Ip" | sed -e "/sed -n -e 1p -e/d"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue