diff --git a/category/get_memory_info.py b/category/get_memory_info.py index 5d49e09008f73c26c1e3b39dcbe1142241258199..5e140619477c7bad4916fd4cf993a51e2b6f8692 100644 --- a/category/get_memory_info.py +++ b/category/get_memory_info.py @@ -30,3 +30,12 @@ class MemInfo(): res_m = FileOperation.wrap_output_format(cmd_name_m, cmd_result, '-') return Command.cmd_write_file(res_m, self.__default_file_name) + def __get_dmidecode_info(self): + ''' + Memory slots info + ''' + dmidecode_command="dmidecode -t memory" + cmd_name = dmidecode_command + cmd_result = Command.cmd_run(dmidecode_command) + return Command.cmd_output(cmd_name, cmd_result, self.__default_file_name, '=') +