Hi!

  It doesn't work, I keep seeing:

  PID  TT  STAT      TIME COMMAND
 1760  ??  R    959:50.92 [java]

  I just saw this in ps manpage:

If the arguments cannot be
located (usually because it has not been set, as is the case of system processes and/or kernel threads) the command name is printed within square brackets. The ps utility first tries to obtain the arguments
     cached by the kernel (if they were shorter than the value of the
kern.ps_arg_cache_limit sysctl). The process can change the arguments
     shown with setproctitle(3).

  I'll try to change that sysctl value to see what happens.

  Yours

Miguel Arroz


On 2008/04/22, at 15:53, Michael Bushkov wrote:

If you know the pid of the process (and you should know it from the
top output) you can use the following command:
ps -w -p [PID]

On 4/22/08, Miguel Arroz <[EMAIL PROTECTED]> wrote:
Hi!

This has happened a few times, and it's driving me nuts. I have one Java process eating an entire CPU core on a FreeBSD machine. The problem is that I don't know what is it. Either top or ps just show "java", they don't show
me the full command line used to start the process.

How do I see that info (that is displayed by default on OS X) to know what
is the java process that is misbehaving?

 Yours

Miguel Arroz

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list
(Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/mbushkov%40demax.ru

This email sent to [EMAIL PROTECTED]




--
With best regards,
Michael Bushkov

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list      (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to