def getProcStatStatus(self, threads=False, **kwargs):
procs = self.getProcList(['<STR_LIT>',], threads=threads, **kwargs)<EOL>status = dict(zip(procStatusNames.values(), <EOL>[<NUM_LIT:0>,] * len(procStatusNames)))<EOL>prio = {'<STR_LIT>': <NUM_LIT:0>, '<STR_LIT>': <NUM_LIT:0>, '<STR_LIT>': <NUM_LIT:0>, '<STR_LIT>': <NUM_LIT:0>}<EOL>total = <NUM_LIT:0><EOL>locked_in_mem = <NUM_LIT:0><EOL>if procs is not None:<EOL><INDENT>for cols in procs['<STR_LIT>']:<EOL><INDENT>col_stat = cols[<NUM_LIT:0>]<EOL>status[procStatusNames[col_stat[<NUM_LIT:0>]]] += <NUM_LIT:1><EOL>if '<STR_LIT:<>' in col_stat[<NUM_LIT:1>:]:<EOL><INDENT>prio['<STR_LIT>'] += <NUM_LIT:1><EOL><DEDENT>elif '<STR_LIT:N>' in col_stat[<NUM_LIT:1>:]:<EOL><INDENT>prio['<STR_LIT>'] += <NUM_LIT:1><EOL><DEDENT>else:<EOL><INDENT>prio['<STR_LIT>'] += <NUM_LIT:1><EOL><DEDENT>if '<STR_LIT:L>' in col_stat[<NUM_LIT:1>:]:<EOL><INDENT>locked_in_mem += <NUM_LIT:1><EOL><DEDENT>total += <NUM_LIT:1><EOL><DEDENT><DEDENT>return {'<STR_LIT:status>': status, <EOL>'<STR_LIT>': prio, <EOL>'<STR_LIT>': locked_in_mem, <EOL>'<STR_LIT>': total}<EOL>
Return process counts per status and priority.

        @param **kwargs: Keyword variables are used for filtering the results
                         depending on the values of the columns. Each keyword 
                         must correspond to a field name with an optional 
                         suffix:
                         field:          Field equal to value or in list of 
                                         values.
                         field_ic:       Field equal to value or in list of 
                                         values, using case insensitive 
                                         comparison.
                         field_regex:    Field matches regex value or matches
                                         with any regex in list of values.
                         field_ic_regex: Field matches regex value or matches
                                         with any regex in list of values 
                                         using case insensitive match.
        @return: Dictionary of process counters.