Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: KMPDUTL5

Package: Capacity Management

Routine: KMPDUTL5


Information

KMPDUTL5 ;OIFO/KAK - Obtain CPU Configuration;28 Feb 2002 ;2/17/04 10:56

Source Information

Source file <KMPDUTL5.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Capacity Management 2 $$MPLTF^KMPDUTL1  ($$COMMA,$$STRIP)^KMPDUTL4  
Kernel 1 ($$DEL,$$STATUS,CLOSE,OPEN)^%ZISH  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Capacity Management 4 KMPDHU01  KMPDTU01  KMPDUTL1  KMPDUTL6  

Entry Points

Name Comments DBIA/ICR reference
CPU(ARRAY) ;-- get cpu configuration information
DSM(CPUINFO) ;-- for DSM Platform
CLSTR ; get %GETSYI using wild card to get CSID and NODENAME for all nodes
ERRCLU
CVMS(CPUINFO,TYP) ;-- for Cache for OpenVMS Platform
CWINNT(CPUINFO,TYP) ;-- for Cache for Windows NT Platform
CREATE(FILE,TYP) ;-- function to create new com file
TAGXIT ;
PARSE(LOG,CPUARRY,TYP) ;-- parse log file data
EOF ;-- end of file condition for CVMS
EOF1 ;-- end of file condition for CWINNT
CVMSVER() ;-- returns version of Cache for OpenVMS operating system
CWNTVER() ;-- returns version of Cache for Windows NT operating system

External References

Name Field # of Occurrence
$$DEL^%ZISH CVMS+24, CVMS+40
$$STATUS^%ZISH CWINNT+40, CWINNT+48, CWINNT+54, CWINNT+57, PARSE+22, PARSE+35
CLOSE^%ZISH CWINNT+62, PARSE+39, EOF+2, EOF1+2
OPEN^%ZISH CWINNT+34, PARSE+17
$$MPLTF^KMPDUTL1 CPU+13
$$COMMA^KMPDUTL4 CWINNT+49
$$STRIP^KMPDUTL4 CWINNT+42, CWINNT+49

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: CWINNT+40
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: CWINNT+54
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: CWINNT+57
Function Call: WRITE
  • Prompt: "$! KMPDU"_TYPNM_".COM - Obtain System Configuration Information"
  • Line Location: CREATE+18
Function Call: WRITE
  • Prompt: "$!--------------------------------------------------------"
  • Line Location: CREATE+19
Function Call: WRITE
  • Prompt: "$! OIFO - CAPACITY PLANNING/KAK"
  • Line Location: CREATE+20
Function Call: WRITE
  • Prompt: "$! "_$P($T(+2)_";;",2,999)
  • Line Location: CREATE+21
Function Call: WRITE
  • Prompt: "$!--------------------------------------------------------"
  • Line Location: CREATE+22
Function Call: WRITE
  • Prompt: "$!"
  • Line Location: CREATE+23
Function Call: WRITE
  • Prompt: "$ if f$getsyi(""CLUSTER_MEMBER"") .eqs. ""FALSE"" then goto NOT_CLUSTER"
  • Line Location: CREATE+28
Function Call: WRITE
  • Prompt: "$ CONTEXT = """""
  • Line Location: CREATE+29
Function Call: WRITE
  • Prompt: "$START:"
  • Line Location: CREATE+30
Function Call: WRITE
  • Prompt: "$ ID = f$csid(CONTEXT)"
  • Line Location: CREATE+31
Function Call: WRITE
  • Prompt: "$ if ID .eqs. """" then goto EXIT"
  • Line Location: CREATE+32
Function Call: WRITE
  • Prompt: "$ write sys$output ""NODE="" , f$getsyi(""NODENAME"",,ID)"
  • Line Location: CREATE+33
Function Call: WRITE
  • Prompt: "$ write sys$output ""TYPE="" , f$getsyi(""HW_NAME"",,ID)"
  • Line Location: CREATE+34
Function Call: WRITE
  • Prompt: "$ write sys$output ""CPU_CNT="" , f$getsyi(""ACTIVECPU_CNT"",,ID)"
  • Line Location: CREATE+35
Function Call: WRITE
  • Prompt: "$ write sys$output ""SPEED=n/a"""
  • Line Location: CREATE+36
Function Call: WRITE
  • Prompt: "$ write sys$output ""MEMSIZE="" , f$getsyi(""MEMSIZE"",,ID)"
  • Line Location: CREATE+37
Function Call: WRITE
  • Prompt: "$ goto START"
  • Line Location: CREATE+38
Function Call: WRITE
  • Prompt: "$NOT_CLUSTER:"
  • Line Location: CREATE+39
Function Call: WRITE
  • Prompt: "$ write sys$output ""NODE="" , f$getsyi(""NODENAME"")"
  • Line Location: CREATE+40
Function Call: WRITE
  • Prompt: "$ write sys$output ""TYPE="" , f$getsyi(""HW_NAME"")"
  • Line Location: CREATE+41
Function Call: WRITE
  • Prompt: "$ write sys$output ""CPU_CNT="" , f$getsyi(""ACTIVECPU_CNT"")"
  • Line Location: CREATE+42
Function Call: WRITE
  • Prompt: "$ write sys$output ""SPEED=n/a"""
  • Line Location: CREATE+43
Function Call: WRITE
  • Prompt: "$ write sys$output ""MEMSIZE="" , f$getsyi(""MEMSIZE"")"
  • Line Location: CREATE+44
Function Call: WRITE
  • Prompt: "$EXIT:"
  • Line Location: TAGXIT+1
Function Call: WRITE
  • Prompt: "$ write sys$output ""*EOF*"""
  • Line Location: TAGXIT+2
Function Call: WRITE
  • Prompt: "$ exit"
  • Line Location: TAGXIT+3
Function Call: WRITE
  • Prompt: "$!"
  • Line Location: TAGXIT+4
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: PARSE+22
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: PARSE+24
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: PARSE+35

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" DSM+16, CLSTR+3, CWINNT+31, PARSE+14, PARSE+41, EOF+1, EOF1+1

Label References

Name Line Occurrences
$$CREATE CVMS+27
CLSTR DSM+15
CVMS CPU+17, CVMSVER+4
CWINNT CPU+18, CWNTVER+4
DSM CPU+16
PARSE CVMS+34
TAGXIT CREATE+25

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %GETSYI DSM+7, DSM+11, DSM+12, DSM+20, CLSTR+4, CLSTR+5, ERRCLU+3
ARRAY CPU~, CPU+16, CPU+17, CPU+18
CLSTRMEM DSM+5~, DSM+7*, DSM+10
CPUARRY PARSE~
CPUARRY( PARSE+26*, PARSE+28*, PARSE+32*
CPUARRY(1 PARSE+37*
CPUINFO DSM~, CVMS~, CVMS+34, CWINNT~
CPUINFO( DSM+12*, DSM+20*, CWINNT+18*, CWINNT+50*
CPUINFO(1 CWINNT+60*
CSID DSM+5~, DSM+19*, DSM+20, ERRCLU+1~, ERRCLU+2*, ERRCLU+3*
CSIDARRY DSM+5~
CSIDARRY( CLSTR+4*, CLSTR+5*, ERRCLU+3
DATA CWINNT+11~, CWINNT+14*, CWINNT+42*, CWINNT+44*, CWINNT+49*, CWINNT+50, CWINNT+58*, CWINNT+59*, CWINNT+60
DFILE CVMS+11~, CVMS+19*, CVMS+22, CVMS+38
DIR CVMS+11~, CVMS+15*, CVMS+18, CVMS+20, CVMS+24, CVMS+40, CREATE+11~, PARSE+17
DLOG CVMS+11~, CVMS+21*, CVMS+23, CVMS+39, PARSE+17
DTIME CWINNT+12*, CWINNT+40, CWINNT+48, CWINNT+54, CWINNT+57, PARSE+22, PARSE+24, PARSE+35
FILE CVMS+11~, CVMS+18*, CVMS+27, CVMS+30, CWINNT+11~, CWINNT+17*, CWINNT+21, CWINNT+23*, CWINNT+34, CREATE~
, CREATE+15, CREATE+17, TAGXIT+6
FILESPEC CVMS+11~, CVMS+24, CVMS+37!, CVMS+40
FILESPEC( CVMS+22*, CVMS+23*, CVMS+38*, CVMS+39*
I CWINNT+11~, CWINNT+57*
IO CWINNT+36, PARSE+19
LOG CVMS+11~, CVMS+20*, CVMS+30, CVMS+31, CVMS+34, PARSE~
NODE DSM+5~, DSM+11*, DSM+12, DSM+17*, DSM+18*, DSM+19, DSM+20, CWINNT+11~, CWINNT+17*, CWINNT+18
, CWINNT+50, PARSE+12~, PARSE+14*, PARSE+23*, PARSE+26, PARSE+28, PARSE+32
NODEARRY DSM+5~
NODEARRY( DSM+18, DSM+19, ERRCLU+3*
OUT CWINNT+11~, CWINNT+14*, CWINNT+40, CWINNT+48*, CWINNT+54, CWINNT+57*
POP CWINNT+11~, CWINNT+35, PARSE+18
TYP CVMS~, CVMS+13, CVMS+27, CVMS+34, CWINNT~, CWINNT+39, CWINNT+53, CREATE~, CREATE+13, CREATE+25
, PARSE~, PARSE+21, PARSE+34
TYPNM CVMS+11~, CVMS+13*, CVMS+18, CVMS+19, CVMS+20, CVMS+21, CREATE+11~, CREATE+13*, CREATE+18
U CPU+15*, DSM+12, DSM+20, CWINNT+42, CWINNT+44, CWINNT+49, PARSE+15*, PARSE+26, PARSE+28, PARSE+32
VER CVMSVER+2~, CVMSVER+4, CWNTVER+2~, CWNTVER+4
VER(1 CVMSVER+5, CWNTVER+5
X DSM+5~, DSM+16*, CLSTR+2~, CLSTR+3*, CWINNT+11~, CWINNT+31*, CWINNT+40*, CWINNT+42, CWINNT+44, CWINNT+47
, CWINNT+48*, CWINNT+49, CWINNT+54*, CWINNT+56, CWINNT+57*, CWINNT+58, CWINNT+59, PARSE+12~, PARSE+14*, PARSE+15!
, PARSE+22*, PARSE+23, PARSE+24*, PARSE+26, PARSE+28, PARSE+30, PARSE+32, PARSE+35*, PARSE+37, PARSE+41*
EOF+1*, EOF1+1*
Y CVMS+11~, CVMS+24*, CVMS+40*
ZV CPU+11~, CPU+13*, CPU+16, CPU+17, CPU+18

Marked Items

Name Field # of Occurrence
$T( CREATE+21
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All