Commit ca3e88b9 authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

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.
parent eda20680
...@@ -16,8 +16,8 @@ XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}" ...@@ -16,8 +16,8 @@ XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-${HOME}/.config}"
export LC_ALL=C export LC_ALL=C
export LANG=C export LANG=C
# Add /usr/sbin and /sbin to PATH. # Add /usr/xpg4/bin, /usr/sbin, and /sbin to PATH.
export PATH="/usr/sbin:/sbin:${PATH}" export PATH="/usr/xpg4/bin:/usr/sbin:/sbin:${PATH}"
# Set no case match. # Set no case match.
shopt -s nocasematch shopt -s nocasematch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment