On 23 June 2013 22:05, <[email protected]> wrote: > Hello, > > htop is a fantastic tool and thanks to Hisham for creating it. > > I have run into only one issue that is a bit confusing and hoping there is a > way to filter, disable, or represent a different way. > > htop appears to be enumerating through /proc/<pid>/task/<tid> and listing > the threads of a process as individual child PIDs. > > Starting up one of our tomcat server processes for example, htop will show > over 90 child PIDs when in reality this is a single PID with no children. > At first we started looking for these child PIDs and of course these don't > exist and are actually Thread ID's (TID) of the single process. > > I would like to get htop in to the hands of our support staff but need to be > able to turn off TIDs for now. > Is this possible? > > Threads of a process are an interesting statistic but in the future could > they be represented differently to distinguish them from PIDs? > > Some suggestions: > A column with total # of threads (TIDs) that a process has. > Expand/Collapse just TIDs of a process in tree view > Colorize those lines in the htop list as TIDs
Go to Setup [F2], select "Display Options" and then check "[x] Hide userland threads" or [x] Display threads in a different color". Cheers! -- Hisham ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ htop-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/htop-general
