<s> '''<STR_LIT>''' <EOL> from __future__ import absolute_import <EOL> import json <EOL> import salt . utils <EOL> def __virtual__ ( ) : <EOL> '''<STR_LIT>''' <EOL> cmd = '<STR_LIT>' <EOL> if salt . utils . which ( cmd ) : <EOL> return cmd <EOL> return ( False , '<STR_LIT>' ) <EOL> def stats ( socket ) : <EOL> '''<STR_LIT>''' <EOL> cmd = [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' . format ( socket ) ] <EOL> out = __salt__ [ '<STR_LIT>' ] ( cmd , python_shell = False ) <EOL> return json . loads ( out ) </s>
