'Perform some extra sanity checks on the ps arguments.'

@classmethod
def Validate(cls):

    super(PsCmdParser, cls).Validate()
    for artifact_name in cls.supported_artifacts:
        artifact = artifact_registry.REGISTRY.GetArtifact(artifact_name)
        for source in artifact.sources:
            if (not cls._FindPsOutputFormat(source.attributes['cmd'], source.attributes['args'])):
                raise parsers.ParserDefinitionError(("Artifact    parser    %s    can't    process    artifact    %s.    'ps'    command    has    unacceptable    arguments." % (cls.__name__, artifact_name)))
