def attr_proc_title( binary, attrs ):
   """
   Make a process title that has attr:<k>=<v> for set of attributes.
   """
   return "%s %s" % (binary, " ".join( ["attr:%s=%s" % (k, v) for (k, v) in attrs.items()] ))