> i am using a clustered ltsp server (openMosix). it doesn't migrates shared
> memory processes: can anyone tell me how i recognize shared memory
> processes?
> do i have to look at the source code? :(

in /proc/<pid>/maps, shared pages are tagged with 's' bit; try "man proc".

for example (extact from postgresql):
b7162000-b7183000 rw-p b7162000 00:00 0
b7183000-b7b77000 rw-s 00000000 00:07 0          /SYSV0052e2c1 (deleted)
b7b77000-b7b7f000 r-xp 00000000 09:00 127087     /lib/libnss_files-2.3.2.so

the second line refer to shared memory.

To find shared memory processes; you can just run:

egrep -l ' r..s ' [1-9]*/maps | cut -d/ -f1 | sort -un

-- 
Seb, autocuiseur

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to