The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Monitoring Processes - Killing hung processes ukndoit UNIX for Advanced & Expert Users 4 01-17-2008 01:30 AM
small semaphore query pramit bhuyan UNIX for Dummies Questions & Answers 1 10-24-2007 02:57 PM
solaris mail query jabberwocky SUN Solaris 1 05-11-2006 07:41 AM
semaphore AIX <=> Solaris Venturic AIX 0 08-16-2005 06:30 AM
solaris 10 installation query soliberus SUN Solaris 3 12-09-2004 10:13 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-03-2003
Registered User
 

Join Date: Oct 2002
Location: India
Posts: 39
query reg semaphore / processes on solaris

Our Baan application has a server process bflusher which is activated automaticaly by another server process bmanager . These processes uses shared memory to carry out it's operations .

Through a baan application query command (tbase6.1 P d 3 ) , i can find the number of users (user process bshell6.1- see column 4 below ). connected to some shared memory pages.
Triton Base File Information:

file id devno inode usr flg bdf flusher name
-------- ------- ------- --- --- --- ------- -----------------------------------
fbf10be8 8388670 28165 53 0 0 11360 /tools/000/tttaad/taad100000
fbf42358 8388670 28167 6 0 0 11360 /tools/000/tttaad/taad106000
fbf12b50 8388670 28171 32 0 0 11360 /tools/000/tttaad/taad110000
fbf16a20 8388670 28173 1 0 0 11360 /tools/000/tttaad/taad120000
fbf3f118 8388670 28175 29 0 0 11360 /tools/000/tttaad/taad121000
fbf107b8 8388670 28179 56 0 0 11360 /tools/000/tttaad/taad200000

Value 11360 in 7th column is the unix pid of bflusher process.

There is nothing in Baan to tell which users are connected to the shared memory pages (i.e.users connected pid 11360). When all user processes (bshell6.1) using those share memory pages ends , that shared memory pages disappear and become free.

Is there any way I can find a link between the server process bflusher to user processe bshell6.1 based on unix proc tools or any other utilities.
Forum Sponsor
  #2  
Old 07-03-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,609
I don't know this baan thing but it looks like you are using memory mapped files. The program lsof can report on those. It is a freeware program that is very useful.

For system 5 style shared memory, /usr/proc/bin/pmap will display any shared memory segments in use for a particular pid.
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0