Re: linux kernel 2.6
Joseph Shraibman <[email protected]>
| Newsgroups | gmane.comp.java.linux.general |
|---|---|
| Message-ID | <[email protected]> |
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]