Comment #3 on issue 462 by g.rodola: Cache processes informations
http://code.google.com/p/psutil/issues/detail?id=462
Sure I know glances (very nice tool).
What platform are you talking about? Linux?
If it takes too much I think it's fine if you cache the cmdline yourself.
After all it's not something which should change that often.
Same for uids, gids, terminal and possibly others.
You might decide to cache those metrics and, say, update them every 10 secs
or something.