How does top name the command that is being executed I mean the last field of the command.
How does it name the command (like eclipse,java etc.) , are there any other commands which show the same not like ps
command which shows the complete process command( last field of ps
/bin/shared/eclipse ).
I have already gone through this question but it didn't explain it though.