Skip to contentSkip to conversation

Telling the difference between threads and processes

DISCUSSION Terje Eggestad 1 participant 1 message Aug 8, 2001

lore
Share & tools
lore
#0 lore raw

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???

Signature · 10 lines
_________________________________________________________________________

Terje Eggestad                  [email protected]
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            
_________________________________________________________________________