<snipped>

      
+             "ls -d /sys/bus/cpu/devices/cpu%u/cache/index[0-9] | sort  -r  | grep -m1 index[0-9] | awk -F '[x]' '{print $2}' "
NAK
Running shell commands from EAL is non-portable and likely to be flagged by security scanning tools.

Do it in C please.
Thank you Stephen, for pointing this out. Surely will convert to `C` rather than shell execution.