Home Page for the TeradataForum

Archives of the TeradataForum

Message Posted: Thu, 13 Sep 2001 @ 20:32:52 GMT

  <Prev Next>   <<First <Prev Next> Last>>  

Subj:   Re: Number of ACTIVE users
From:   David Wellman


Adam's answer is probably the closest that you'll get using raw sql. Look for all users who have a non-zero currentspool value. You'll also then need to add in any users who have a session with a dbc.sessioninfo.partition value of 'fload' and 'mload'. This will pick up all the fastload and multiload jobs which are currently running (these don't use spool).

The other alternative is to write a program that uses the pm&pc (aka pm/api) interface. This uses the same data as pmon and other teradata manager applications do.


  <Prev Next>   <<First <Prev Next> Last>>  
  Top Home Privacy Feedback  
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 28 Jun 2020