Re: [cciug] [WinNT, Win2k] HowTo answer: Which view is started on which machine?

From: Dirk Heinrichs (heinrichs@qis-systemhaus.de)
Date: Fri Jul 20 2001 - 04:49:32 EDT


"Peter.Mueller1@mch.siemens.de" wrote:
>
> Ladies and Gentlepeople, *)
>
> I'd like to find out how many views are really active. Under Windows it is
> not that easy to just count the view_server processes, because we have had
> situation where these processes are just hanging around ... (I know, that
> stopping a view does not necessarily mean to stop the process.)
>
> Also, with "active" I mean views, which are currently started. What I would
> like to know is, which view is currently started on which machine.
>
> Is this possible?
I'm not quite shure what you mean. A view is always started (means view
server process is running) on the machine where the view storage
directory resides. So on the command line (even on Windows) you can use
'cleartool lsview' to see which views are active (marked with an
asterisk).

On Unix or Windows with cygwin, I would type 'cleartool lsview|grep
"\*"|grep mymachine|wc -l' to find out how many views are active on
mymachine.

To find out how many of them are used on a particular machine (other
than mymachine), go to that machine's m: drive (/view) on unix and count
the directories in there.

Bye...

        Dirk

-- 
Dirk Heinrichs		| Tel:	+49 (0)241 413 260
Configuration Manager	| Fax:	+49 (0)241 413 2640
QIS Systemhaus GmbH	| Mail:	dheinrichs@qis-systemhaus.de
Jülicher Str. 338b	| Web:	http://www.qis-systemhaus.de
D-52070 Aachen		| ICQ#:	110037733
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:03:58 EDT