Not to cause a jBASE versus U2 war but here is how jBASE SHOW-ITEM-LOCKS
looks like
*PORT PID FILENAME RECORD
KEY LOCK# PORT/-PID
2 4947 /data/account/CUSTOMER 2395
0xb26242c,W ---
*
if there is a lock contention the last column would show the PID of the
process holding the lock it wants
anyway I will try some of the code people were kind enough to share
thanks everyone
dougc
Stevenson, Charles wrote:
Currently, the inode can be discovered by using "-i" option of the unixthe
ls command.
FILEINFO() also yields it up, so I have DICT VOC i-descriptors that
return the various FILEINFO() file info. That way I can do queries such
as:
LIST VOC WITH DATA.INODE = "446496" OR DICT.NODE = "446496"
At IBM's "U2 University" conference, we were promised for 2008 a new,
improved, Eclipse-vased UniAdmin tool.
Jackie Burhans ~suggested~ that IBM ?might?/?would? tackle displaying
file NAMES or paths instead of just device-inode combo. (Search the
list history for painful discussions of that problem.)
I don't know jBase's SHOW-ITEM-LOCKS so I can't compare it to what UV
can do.
Look at the current UniAdmin client tool that comes with the client CD.
(Ask if you don't have one or don't know where to get it. It's free.)
It has a lock page where the columns can be sorted by user, pid, inode,
etc.. It still won't give you the filename, though.
cds
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Doug Chanco
Sent: Friday, December 07, 2007 8:44 AM
To: [email protected]
Subject: [U2] LIST.READU
Hello all,
I am back in the universe world after working in jBASE for many
years now, is there a better tool than LIST.READU to show the locking
table? (similar to jBASE SHOW-ITEM-LOCKS which is pretty awesome)
It shows record locks BUT not what file the lock is on ....... I am
still learning our system and seeing a lock like "123456789" does not
tell me anything about what file the lock is on, I suppose I might be
able to figure out something with the inode but still ......
Active Record Locks:
Device.... Inode.... Netnode Userno Lmode Pid Login Id
Item-ID.............
3080194 446496 0 142 10 RU 59788 12673 16151029
3080194 338920 0 142 12 RU 59788 12673 16151029
Is anyone aware of a better tool?
Thanks
Dougc
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/