Modified psutil.test() to emulate ps aux output which shows process name between [] parentheses when the cmdline is not retrievable.
Modified psutil.test() to emulate ps aux output which shows process name between [] parentheses when the cmdline is not retrievable.

Difference:

UID       PID %CPU %MEM     VSZ     RSS START     TIME COMMAND
0           0  0.0  0.0       0       0 Mar20    00:00
0           1  0.0  0.3    1740     600 Mar20    00:04 /sbin/init
0           2  0.0  0.0       0       0 Mar20    00:00
0           3  0.0  0.0       0       0 Mar20    00:00
0           4  0.0  0.0       0       0 Mar20    00:05


...vs:

UID       PID %CPU %MEM     VSZ     RSS START     TIME COMMAND
0           0  0.0  0.0       0       0 Mar20    00:00 [sched]
0           1  0.0  0.3    1740     600 Mar20    00:04 /sbin/init
0           2  0.0  0.0       0       0 Mar20    00:00 [kthreadd]
0           3  0.0  0.0       0       0 Mar20    00:00 [migration/0]
0           4  0.0  0.0       0       0 Mar20    00:05 [ksoftirqd/0]

nmani1905/psutil,tigerneil/psutil,tigerneil/psutil,djhaskin987/psutil,stupidcache/psutil,peter-hst/psutil,creativewild/psutil,AlanZatarain/psutil,kiranvizru/psutil,vmolsa/psutil,PFZheng/psutil,djhaskin987/psutil,vmolsa/psutil,skyshe/psutil,chjwang/psutil,chjwang/psutil,huson2012/psutil,end18/psutil,vmolsa/psutil,jucapj/psutil,anfedorov/psutil,skyshe/psutil,google-code-export/psutil,shiva21/psutil,kiranvizru/psutil,skyshe/psutil,huson2012/psutil,zhengzheng/psutil,google-code-export/psutil,marmolu/psutil,zhengzheng/psutil,shiva21/psutil,jucapj/psutil,huson2012/psutil,tigerneil/psutil,peter-hst/psutil,google-code-export/psutil,google-code-export/psutil,tigerneil/psutil,djhaskin987/psutil,stupidcache/psutil,djhaskin987/psutil,kiranvizru/psutil,Alwnikrotikz/psutil,anfedorov/psutil,skyshe/psutil,vmolsa/psutil,stupidcache/psutil,creativewild/psutil,marmolu/psutil,kiranvizru/psutil,end18/psutil,creativewild/psutil,Alwnikrotikz/psutil,AlanZatarain/psutil,PFZheng/psutil,end18/psutil,end18/psutil,nmani1905/psutil