public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Telling the difference between threads and processes
@ 2001-08-08 11:27 Terje Eggestad
  0 siblings, 0 replies; only message in thread
From: Terje Eggestad @ 2001-08-08 11:27 UTC (permalink / raw)
  To: Linux Kernel


It started when I got annoyed with gtop's report on resident sizes
and that the sum of resident sizes can be twice that of physical mem.

Turns out that gtop adds the RS of threads and it should be a simple
fix to gtop. 

The trouble is that I can't see a proof way from /proc/<pids> to figure
out if the process was clone()'ed with CLONE_VM or not. Is there???

-- 
_________________________________________________________________________

Terje Eggestad                  terje.eggestad@scali.no
Scali Scalable Linux Systems    http://www.scali.com

Olaf Helsets Vei 6              tel:    +47 22 62 89 61 (OFFICE)
P.O.Box 70 Bogerud                      +47 975 31 574  (MOBILE)
N-0621 Oslo                     fax:    +47 22 62 89 51
NORWAY            
_________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-08 11:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-08 11:27 Telling the difference between threads and processes Terje Eggestad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox