def columns(cls): """ List the columns required to construct a suitable ``ps`` command. """ return [a.name for a in attr.fields(cls)]