CPU/CPU Usage: Fixed cores not showing in Solaris

In Oracle Solaris, its default grep doesn't have -F option, only xpg4
has it, so a new PATH has to be added because somehow Oracle doesn't
include them into the default PATH.
This commit is contained in:
Muhammad Herdiansyah 2017-01-04 22:45:08 +07:00
parent eda20680b0
commit ca3e88b934
1 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,8 @@ XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
export LC_ALL=C
export LANG=C
# Add /usr/sbin and /sbin to PATH.
export PATH="/usr/sbin:/sbin:${PATH}"
# Add /usr/xpg4/bin, /usr/sbin, and /sbin to PATH.
export PATH="/usr/xpg4/bin:/usr/sbin:/sbin:${PATH}"
# Set no case match.
shopt -s nocasematch