What screen is active?

arthur kogan akogan@westpac.com.au
Wed, 16 Sep 1998 15:01:12 +1000


Hi Russell,

the UNIX command that shows you which process (if any) is using a particular
file (in your case a .qkc file) is "fuser". With "-u" switch it will also show
you who the user is.

e.g. "fuser -u myscreen.qkc" will show you which process/user is using file
myscreen.qkc

HOWEVER... in both the VMS or UNIX cases we should remember that QUICK process
"cashes" in memory the .qkc files it uses, so if it needs to run a screen it
has already ran before, it may not need to "re-read" the .qkc file, and thus
this will not be shown.

By the way, you can also use this command to see who is currently attached to
your Interbase database, e.g. fuser -u mydb.gdb.

Regards,

Arthur Kogan
Westpac Financial Services
Sydney, Australia

Rus wrote:

> Does anyone know if there is a similar command to use on DG-UX??
>
> TIA
> Russell Garner
> Australian Arrow
>
> At 06:33 15/09/98 -0700, you wrote:
> >If you are on OpenVMS version 7+ the unix-like PIPE simplifies it down
> >to one command line -
> >
> >$PIPE SHOW DEVICE/FILE <device> | SEARCH SYS$INPUT <process>
> >
> >Regards,
> >A Ling.
> >> -----Original Message-----
> >> From:        owner-powerh-l@sphere.swau.edu
> >[mailto:owner-powerh-l@sphere.swau.edu]
> >> On Behalf Of Walker, Chris
> >> Sent:        15 September 1998 11:16
> >> To:  'powerhouse list server'
> >> Subject:     What screen is active?
> >>
> >> Does anybody know of a satisfactory way to find out the name of the
> >Quick
> >> screen a VMS process is running at any one time?
> >>
> >> I want to monitor screen usage and identify screens which may cause
> >> performance problems, so asking the user to press the tab key isn't a
> >> solution.  I have considered various solutions such as defining a
> >logical
> >> name in the initialize procedure, but this is messy and error-prone,
> >> especially as the screen name is not programmatically available.
> >>
> >> I can't be the first to want to do this, can I?
> >>
> >> Chris Walker
> >> Tate & Lyle
> >> London
> >>
>
> = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
> Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
> Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
> powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
> This list is closed, thus to post to the list, you must be a subscriber.



= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.