added cpu, total memory and cores functions (linux is ok)