LsVarOptMssqlLog - command ls -la /var/opt/mssql/log
This parser reads the /var/opt/mssql/log
directory listings and uses the
FileListing parser class to provide a common access to them.
- class insights.parsers.ls_var_opt_mssql_log.LsVarOptMssqlLog(*args, **kwargs)[source]
Bases:
CommandParser
,FileListing
Warning
This class is deprecated and will be removed from 3.5.0. Please use the
insights.parsers.ls.LSla
instead.A parser for accessing “ls -la /var/opt/mssql/log”.
Examples
>>> '/var/opt/mssql/log' in ls_mssql_log True >>> ls_mssql_log.dir_contains('/var/opt/mssql/log', 'messages') False