[CentOS] OT: Howto to capture taskset output command

Wed Feb 26 12:40:55 UTC 2014
Steven Tardy <sjt5atra at gmail.com>

On Wed, Feb 26, 2014 at 6:57 AM, C. L. Martinez <carlopmart at gmail.com>wrote:

>     if [ "$cpu_affinity" == "$cpu_affinity_ok" ]; then

are you comparing strings or integers?
# man test
       STRING1 = STRING2
              the strings are equal
       INTEGER1 -eq INTEGER2
              INTEGER1 is equal to INTEGER2