What version of top are you using? H works with the one I have:

# top -v
procps version 2.0.11


[EMAIL PROTECTED] wrote:
Thank you for your answer Vladimir,

The selectable columns with top are :

* A: PID        = Process Id
* E: USER       = User Name
* H: PR         = Priority
* I: NI         = Nice value
* O: VIRT       = Virtual Image (kb)
* Q: RES        = Resident size (kb)
* T: SHR        = Shared Mem size (kb)
* W: S          = Process Status
* K: %CPU       = CPU usage
* N: %MEM       = Memory usage (RES)
* M: TIME+      = CPU Time, hundredths
  b: PPID       = Parent Process Pid
  c: RUSER      = Real user name
  d: UID        = User Id
  f: GROUP      = Group Name
  g: TTY        = Controlling Tty
  j: #C         = Last used cpu (SMP)
  p: SWAP       = Swapped size (kb)
  l: TIME       = CPU Time
  r: CODE       = Code size (kb)
  s: DATA       = Data+Stack size (kb)
  u: nFLT       = Page Fault count
  v: nDRT       = Dirty Pages count
  y: WCHAN      = Sleeping in Function
  z: Flags      = Task Flags <sched.h>
* X: COMMAND    = Command name/line

I don't see anything relating to threads...

Thanks for help,

Stéphane






I believe that top by default does not show threads. While top is
running, type "H". ("h" brings up help.)

--- Vladimir

------------------------------------------------------------------------
Vladimir G. Ivanovic                        http://leonora.org/~vladimir
2770 Cowper St.                                         [EMAIL PROTECTED]
Palo Alto, CA 94306-2447                                 +1 650 678 8014
------------------------------------------------------------------------


"t" == trombi <[EMAIL PROTECTED]> writes:

t> Hello, t> t> I have kernel 2.6.5, Blackdown 1.4.2. t> I have a multi-threading java server application. t> Unlike my old version of Linux (kernel 2.4.25), I don't see the number of t> threads my application is running with the "top" linux command. I only see t> one "java" process. t> I understand this is due to the new NPTL thread architecture under Kernel t> 2.6. t> Is there an other way than the "top" command to display the number of t> threads of my application is using and without Java debuging ? t> t> Thanks in advance, t> t> Stéphane t> t> t> ---------------------------------------------------------------------- t> To UNSUBSCRIBE, email to [EMAIL PROTECTED] t> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] t>




----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to