Hi All,

I would like to know how we can know the age of a lock. In jbase 4.1.5.34 
we are able to get the age of the lock from both jrla -dVL or jdls -dVL 
output. But when we execute the same in TAFC 11.0.10 the age is missing 
from the jdls -dVL output. Is there any other place we can know how long 
the locks exists on a record or the exact age of the lock. 

Any help will be highly appreciated. 

Thanks,
Mathew

jsh r11 ~ -->jdls -dVL
Lock monitor at pid:      454882        - Active
Lock listener at pid:     483346        - Active
Program started:     Mon Sep 10 12:36:22 2012
Time last ran:       Tue Sep 18 13:11:45 2012
Time last tidied up: Tue Sep 18 13:06:51 2012
Lock retries:        0
Tidy-up time:        5 minutes
Locking mechanism:   IPC semaphores based on THREAD id
Tidy-up operations:  0
Semaphore IDs:       14,  15
Memory:              550784 bytes used , 74464 bytes free
CPU Usage:           6.40 usr , 7.24 sys

Record locks outstanding
Group value      pid     type  port    i-node   device   queued  ipaddr
 key
867   0x0a0d65b0 413738  WRITE 1003    56c5aea2 2bc5ee3e None    10.1.10.116
 18163  tid 10007168, waitpid 0
938   0x6d7b1042 471116  WRITE 1000    16334c41 2bc5ee3e None    10.1.10.116
 BNK/MM.ONLINE.MAT  tid 10007168, waitpid 0

Record locks:        30390 locks maximum in 1013 groups of 30 locks/group
                     2 locks currently in use
                     1 is max. locks found in one group
jsh r11 ~ -->

jsh r11 ~ -->jdiag
        jdiag - jBASE diagnostic '$Revision: 1.15 $'

System Information
==================

System                      : AIX AIXBANK 1.6 00032EEBD400
OS Release                  : 6.1.4.0
UNIX User                   : r11 (uid 203, euid 203)
Tty name                    : /dev/pts/6
Time                        : Tue Sep 18 13:05:02 2012

Environment
===========

JBCPORTNO                   : '1000-1999'
TAFC_HOME                   : '/tafc/R11'
JBCGLOBALDIR                : '/tafc/R11'
JBCDATADIR                  : '/tafc/R11/jbase_data'
WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
HOME                        : '/modelbank/bnk/bnk.run'
JEDIFILEPATH                : '/modelbank/bnk/bnk.run'
JEDIFILENAME_MD             : '/modelbank/bnk/bnk.run/VOC'
JEDIFILENAME_SYSTEM         : '/tafc/R11/systemfile'
WARNING: Cannot access SYSTEM file '/tafc/R11/systemfile', error 2
RELEASE Information         : Major 11.0 , Minor 0.10 , Patch  (Change 
102629)
Spooler dir (JBCSPOOLERDIR) : '/tafc/R11/jbase_data/jspooler'
JBCEMULATE                  : 'prime'
Object path (JBCOBJECTLIST) : 
'/tafc/R11/XMLORACLE/lib:/modelbank/bnk/bnk.run/li
b:/modelbank/bnk/bnk.run/t24lib'
jBASE Compiler Run-time     : '/tafc/R11/config/system.properties'
Program dir (Default)       : '/modelbank/bnk/bnk.run/bin'
Subroutine dir (Default)    : '/modelbank/bnk/bnk.run/lib'
Max open files              : 65534
jsh r11 ~ -->


jsh ilt2 /evadsk05/ilt2/bnk/bnk.run -->jdls -dVL
Lock monitor at pid:      10862 - Active
Program started:     Thu Aug 30 09:44:32 2012
Time last ran:       Tue Sep 18 13:11:09 2012
Time last tidied up: Tue Sep 18 13:08:22 2012
Lock retries:        17098
Tidy-up time:        5 minutes
Locking mechanism:   IPC semaphores based on THREAD id
Tidy-up operations:  0
Semaphore IDs:       45080,  4121
Memory:              123184 bytes used , 265840 bytes free
CPU Usage:           42.69 usr , 39.86 sys

Record locks outstanding
Group value      pid     type  port    i-node   device   queued  age   
 ipaddr
        key
754   0x7795c41c 12515   WRITE 6       000111d3 40020002 None    3907   
0.0.0.0
        91HUF20120917  tid 12b232b0, waitpid 0
835   0x7303239b 22127   WRITE 10      0000772a 40030001 None    200   
 0.0.0.0
        1032854849010058  tid 160e6140, waitpid 0
966   0x20a9f4d4 8772    WRITE 17      00026f17 40070001 None    91971 
 0.0.0.0
        GAMMA.LIST  tid 18566140, waitpid 0

Record locks:        30930 locks maximum in 1031 groups of 30 locks/group
                     3 locks currently in use
                     1 is max. locks found in one group
jsh ilt2 /evadsk05/ilt2/bnk/bnk.run -->


jsh ilt2 /evadsk05/ilt2/bnk/bnk.run -->jrla -dVL
Program at pid:      10862
Program started:     Thu Aug 30 09:44:32 2012
Time last ran:       Tue Sep 18 13:02:54 2012
Time last tidied up: Tue Sep 18 12:58:16 2012
Lock retries:        17098
Tidy-up time:        5 minutes
Locking mechanism:   IPC semaphores based on THREAD id
Tidy-up operations:  0
Semaphore IDs:       45080,  4121
Memory:              123184 bytes used , 265840 bytes free
CPU Usage:           42.68 usr , 39.85 sys

Record locks outstanding
Group value      pid     type  i-node   device   queued age    key
754   0x7795c41c 12515   WRITE 000111d3 40020002 None   3411   
91HUF20120917  ti
d 313668272, waitpid 0
835   0x7303239b 21752   WRITE 0000772a 40030001 None   66     
1032854849010058
 tid 366371136, waitpid 0
966   0x20a9f4d4 8772    WRITE 00026f17 40070001 None   91475  GAMMA.LIST 
 tid 4
08314176, waitpid 0

Record locks:        30930 locks maximum in 1031 groups of 30 locks/group
                     3 locks currently in use
                     1 is max. locks found in one group
jsh ilt2 /evadsk05/ilt2/bnk/bnk.run -->


jsh ilt2 /evadsk05/ilt2/bnk/bnk.run -->jdiag
        jdiag - jBASE diagnostic '$Revision: 1.13 $'

System Information
==================

System                      : HP-UX igmeggy B.11.31.U ia64
UNIX User                   : ilt2 (uid 109, euid 109)
Tty name                    : /dev/pts/tk
Time                        : Tue Sep 18 13:03:28 2012

Environment
===========

JBCPORTNO                   : Not Set
JBCRELEASEDIR               : '/usr/jbc'
JBCGLOBALDIR                : '/usr/jbc'
WARNING: JBCDATADIR is not set, Default '/usr/jbc/jbase_data'
WARNING: JBCDATADIR is subdirectory of JBCGLOBALDIR
HOME                        : '/globus/ilt2/bnk/bnk.run'
JEDIFILEPATH                : '/globus/ilt2/bnk/bnk.run'
JEDIFILENAME_MD             : '/globus/ilt2/bnk/bnk.run/VOC'
JEDIFILENAME_SYSTEM         : '/usr/jbc/systemfile'
RELEASE Information         : Major 4.1 , Minor 5.34 , Patch 5845 (Change 
98191)
Spooler dir (JBCSPOOLERDIR) : '/usr/jbc/jspooler'
JBCEMULATE                  : 'prime'
WARNING: Cannot access Executable path '/globus/dcs/bin', error 2
WARNING: Cannot access Executable path '/usr/vac/bin', error 2
WARNING: Cannot access Executable path 
'/globus/ilt2/bnk/bnk.run/globuspatchbin'
, error 2
WARNING: Cannot access Executable path '/usr/ucb', error 2
WARNING: Cannot access Library path '/usr/jbc/jdk/jre/lib/platform', error 2
Object path (JBCOBJECTLIST) : 
'/globus/ilt2/bnk/bnk.run/globuspatchlib:/globus/i
lt2/bnk/bnk.run/lib:/globus/ilt2/bnk/bnk.run/globuslib:/globus/ilt2/bnk/bnk.run/
dmlib:/globus/dcs/lib:/globus/ndcs/lib'
WARNING: Cannot access Object path 
'/globus/ilt2/bnk/bnk.run/globuspatchlib', er
ror 2
WARNING: Cannot access Object path '/globus/ilt2/bnk/bnk.run/dmlib', error 2
WARNING: Cannot access Object path '/globus/dcs/lib', error 2
jBASE Compiler Run-time     : '/usr/jbc/config/system.properties'
Program dir (JBCDEV_BIN)    : '/globus/ilt2/bnk/bnk.run/bin'
Subroutine dir (JBCDEV_LIB) : '/globus/ilt2/bnk/bnk.run/lib'
Max open files              : 16384
jsh ilt2 /evadsk05/ilt2/bnk/bnk.run -->

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



Reply via email to