os.system()
apenas executa o processo , ele não captura a saída :
If command generates any output, it will be sent to the interpreter standard output stream.
O valor de retorno é o código de saída do processo:
On Unix, the return value is the exit status of the process encoded in the format specified for wait().
Você precisará usar algo como subprocess.check_output()
ou subprocess.Popen()
diretamente para capturar a saída.
>>> arch = subprocess.check_output("uname -a | awk '{print $9}'", shell=True);
>>> arch
'x86_64\n'