[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

8773.0. "HOW TO GET INFO FROM A SHARED IMAGE." by IB001::ANAMARIA (Ana Garc�a, MCS (Madrid)) Mon Feb 10 1997 11:53

    	Hi all.
    
    	Digital UNIX v3.2C
    
    	My customer has a lot of users executig the same executable and he
    wants to know if there is a way (command, tool, etc.) to know how that 
    executable is being accessed and shared by all of the users, how memory
    is shared, etc., to foresee the memory consumption by future users.
    
    	Any help will be very appreciated.
    
    	Thanks in advance.
    
    	Regards.
    
    				Ana
T.RTitleUserPersonal
Name
DateLines
8773.1NETRIX::"[email protected]"Shashi MangalatWed Feb 12 1997 22:3136
You could use the cda tool to find process resident memory usage.
For eg., the following command shows virtual memory regions, its
type and rss (resident set size) of all csh's.  The rss is in
number of pages. 

cda> vmm -trc csh
455: csh
  #              start                end         type      rss
  0        0x11ffe0000        0x120000000 private data        4
  1        0x120000000        0x120800000  shared text       26
  2        0x140000000        0x140008000 private data        2
  3        0x140008000        0x14006c000 private data       28
  4      0x3ff80000000      0x3ff80080000  shared text       15
  5      0x3ff80080000      0x3ff80800000  shared text      120
  6      0x3ffc0000000      0x3ffc0002000 private data        1
  7      0x3ffc0002000      0x3ffc000c000 private data        4
  8      0x3ffc0080000      0x3ffc0090000 private data        5
  9      0x3ffc0090000      0x3ffc009a000 private data        0
555: csh
  #              start                end         type      rss
  0        0x11ffe0000        0x120000000 private data        0
  1        0x120000000        0x120800000  shared text       26
  2        0x140000000        0x140008000 private data        0
  3        0x140008000        0x140034000 private data        0
  4      0x3ff80000000      0x3ff80080000  shared text       15
  5      0x3ff80080000      0x3ff80800000  shared text      120
  6      0x3ffc0000000      0x3ffc0002000 private data        0
  7      0x3ffc0002000      0x3ffc000c000 private data        0
  8      0x3ffc0080000      0x3ffc0090000 private data        0
  9      0x3ffc0090000      0x3ffc009a000 private data        0

You can get a copy of cda from the following URL:
	http://www.zk3.dec.com/~shashi/cda.html

--shashi
[Posted by WWW Notes gateway]
8773.2THANK YOU VERY MUCHIB001::ANAMARIAAna Garc�a, MCS (Madrid)Tue Feb 18 1997 02:351