Performance Tuning Siebel Software on the Sun Platform
Performance Tuning Siebel Software on the Sun Platform
Performance Tuning Siebel Software on the Sun Platform
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
$ srvrmgr /g gateway /e enterprise /s server /u sadmin /p sadmin /c “list task<br />
for comp comp<strong>on</strong>ent” | grep Running | grep GUEST | wc -l<br />
9.8 To Calculate <strong>the</strong> Memory Usage for an OM<br />
1. We use <strong>the</strong> following script, pmem_sum.sh, to calculate <strong>the</strong> memory usage for an<br />
OM:<br />
#!/bin/sh<br />
if [ $# -eq 0 ]; <strong>the</strong>n<br />
echo "Usage: pmem_sum.sh "<br />
fi<br />
WHOAMI=`/usr/ucb/whoami`<br />
PIDS=`/usr/bin/ps -ef | grep $WHOAMI" " | grep $1 | grep -v "grep $1" | grep -v<br />
pmem_sum | \<br />
awk '{ print $2 }'`<br />
for pid in $PIDS<br />
do<br />
echo 'pmem process :' $pid<br />
pmem $pid > `uname -n`.$WHOAMI.pmem.$pid<br />
d<strong>on</strong>e<br />
pmem $PIDS | grep total | awk 'BEGIN { FS = " " } {print $1,$2,$3,$4,$5,$6}<br />
{tot+=$4} {shared+=$5} {private+=$6} END {print "Total memory used:", tot/1024 "M by<br />
"NR" procs. Total Private mem: "private/1024" M Total Shared mem: " shared/1024 "M<br />
Actual used memory:" ((private/1024)+(shared/1024/NR)) "M"}'<br />
2. To use it, type <strong>the</strong> following:<br />
pmem_sum.sh siebmtshmw<br />
9.9 To Find <strong>the</strong> Log File Associated with a Specific OM<br />
1. Check <strong>the</strong> server log file for <strong>the</strong> creati<strong>on</strong> of <strong>the</strong> multithreaded server process:<br />
ServerLog Startup 1 2003-03-19 19:00:46 <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> Applicati<strong>on</strong> Server<br />
is ready and awaiting requests<br />
…<br />
ServerLog ProcessCreate 1 2003-03-19 19:00:46 Created<br />
multithreaded server process (OS pid = 24796) for Call Center Object Manager<br />
(ENU) with task id 22535<br />
…<br />
2. The log file associated with <strong>the</strong> preceding OM is SCCObjMgr_enu_24796.log.<br />
1021 2003-03-19 19:48:04 2003-03-19 22:23:20 -0800 0000000d 001 001f 0001 09<br />
SCCObjMgr_enu 24796 24992 111<br />
/export/pspp/siebsrvr/enterprises/siebel2/siebelapp1/log/SCCObjMgr_enu_24796.log<br />
7.5.2.210 [16060] ENUENU<br />
…<br />
<str<strong>on</strong>g>Performance</str<strong>on</strong>g> <str<strong>on</strong>g>Tuning</str<strong>on</strong>g> <str<strong>on</strong>g>Siebel</str<strong>on</strong>g> <str<strong>on</strong>g>Software</str<strong>on</strong>g> <strong>on</strong> <strong>the</strong> <strong>Sun</strong> <strong>Platform</strong> Page 60