LsDVarOptMSSql - command ls -ld /var/opt/mssql

class insights.parsers.ls_var_opt_mssql.LsDVarOptMSSql(context, extra_bad_lines=None)[source]

Bases: insights.core.CommandParser, insights.core.FileListing

Parses output of ls -ld /var/opt/mssql command.

The ls -ld /var/opt/mssql command provides information for the listing of the /var/opt/mssql directory. See FileListing class for addtional information.

Sample ls -ld /var/opt/mssql output:

drwxrwx---. 5 root root 58 Apr 16 07:20 /var/opt/mssql

Examples

>>> content.listing_of('/var/opt/mssql').get('/var/opt/mssql').get('owner')
'root'
>>> content.listing_of('/var/opt/mssql').get('/var/opt/mssql').get('group')
'root'