NormalMD5 - md5 checksums of specified binary or library files¶
Module for processing output of the md5sum
command.
The name and md5 checksums of the specified file are stored as attributes.
-
class
insights.parsers.md5check.
NormalMD5
(context, extra_bad_lines=None)[source]¶ Bases:
insights.core.CommandParser
Class to parse the
md5sum
command information.The output of this command contains two fields, the first is the md5 checksum and the second is the file name.
Sample output of the
md5sum
command:d1e6613cfb62d3f111db7bdda39ac821 /usr/lib64/libsoftokn3.so
Examples
>>> type(md5info) <class 'insights.parsers.md5check.NormalMD5'> >>> md5info.filename '/etc/localtime' >>> md5info.md5sum '7d4855248419b8a3ce6616bbc0e58301'
-
filename
¶ Filename for which the MD5 checksum was computed.
Type: str
-
md5sum
¶ MD5 checksum value.
Type: str
-