Category: Siebel Administration

PL/SQL Automated Reporting Tool using UNIX Scripting

Requirement: We need to generate SQL Reports with color code formatting. Pre-requisites: 1)      Unix Box 2)      SQL Developer 3)      Basic knowledge of both Shell Scripting and SQL Normally, we need to generate many SQL reports on daily basis and need to monitor them closely. So, if we can add some color code to differentiate error and successful rows. It will…

UNIX Shell Script to gather Siebel Server performance data

Sample Code: while true do for pid in `cat pids` do var=`date|cut -d’ ‘ -f4` echo “$var :c” >> ps.log.$pid ps -eo pid,vsz,rss,pcpu,args | grep $pid |grep -v grep >> ps.log.$pid done sleep 30 done Deployment steps: 1.)     Deploy this code as ksh file 2.)     Create i/p file named as pids including all process ids 3.)     The Script can be executed in the…

How to read FDR files

FDR File Analysis 1.  Naming convention for FDR File FDR Files are generated in SIEBSRVR_ROOTbin directory. The file name includes a timestamp and the process id that crashed and is written in the format: T<YYYYMMDDHHMM>_P<process id value>.fdr For example: T200503181601_P001376.fdr 2. How to Convert Binary .fdr File into .csv Format Here are the steps to follow to post process the…