Difference between nice ps and top commands
neil al
nva0721 at gmail.com
Thu Jun 15 08:01:55 UTC 2006
Hi,
May I know what is the difference between the 'nice ps -eo
pid,user,time,%cup%' and 'top' command. For example when i run a tomcat
servlet container the nice ps -eo pid,user,time,%cup% command will print
java process has a very large cpu usage and on the other hand, when try the
top command the java process has little or no cpu usage. Both commands have
different output values.
By the way i am using sun's jdk (jdk 1.5 version) and the apache tomcat (
5.5.17).
Thank you very much.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060615/71b6080c/attachment.html>
More information about the ubuntu-users
mailing list