08-25-2008
Yes Otheus . You are right . I find the script which calls all the stored procedures , takes 80 % of the total time when compared with other scripts .When compared the dev and Prod time log , I find the total time taken in dev is almost half the value in prod . In both the logs the time taken is major by the script which has stored procedures calling .
~Sakthifire
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
okay, so i'm using windows right now because i produce electronic music and all my software is written for windows.
i want to get rid of microsoft's os, so i'm wondering if there is an easy way to run these windows programs on a unix system. maybe a windows emulator for x-windows or something... (1 Reply)
Discussion started by: nydel
1 Replies
2. UNIX for Dummies Questions & Answers
What's the dominant Unix in production environment?
Solaris or Linux?
HP-UX and AIX have never been "dominant", while HP-UX is widely used in financial circles... Is Linux reallly where it's all going for major production environments running Oracle/SAP/whatever or will Solaris remain... (1 Reply)
Discussion started by: etc
1 Replies
3. UNIX for Dummies Questions & Answers
Is it common in the Unix/Linux environment to install compute intensive applications on a Server system and have the client machines download the executables into memory at runtime to run locally? This model seems taxing to the network, and as I understand, has been largely abandoned in the... (1 Reply)
Discussion started by: jonwillog
1 Replies
4. UNIX for Dummies Questions & Answers
I am new to UNIX (about a year) and learning as fast as I can. I am an instructor teaching UNIX and have two labs with Ultra 10 333 MHz, Sun Blade 1000 1 GHz, Blade 100, and Two Enterprise 250 Servers. We are currently teaching our classes using the Solaris 2.10 OS, downloaded in May 2006, I am not... (7 Replies)
Discussion started by: dutchman
7 Replies
5. UNIX for Advanced & Expert Users
Hi,
When most of the server applications get installed, they create their own user. I believe this is to not use the "root" account. For example, Apache when installed creates a user called "apache". And the directories which it uses are all owned by this user. This seems to be the... (2 Replies)
Discussion started by: srikanths
2 Replies
6. BSD
Hi All,
There are few OpenBSD 4.8 servers without compiler installed at my working place. However, sometimes there are some patches released for patching the kernel.
My question is: Can I setup a non production OpenBSD 4.8 server as a test machine with compiler installed and use it to... (1 Reply)
Discussion started by: lcxpics
1 Replies
7. Solaris
Hi
Is there any default/open source snmp application to
send traps
monitor some processes in Solaris
has MIB package available
that can be used in production environment
I am using
SunOS Server1 5.10 Generic_142910-17 i86pc i386 i86pc
If it has a GUI its a plus :) (1 Reply)
Discussion started by: kashif_islam
1 Replies
8. UNIX for Dummies Questions & Answers
I am currently setting up a public key authentication between servers. The goal is to get the date via `ssh hostname date` on all the 4 remote servers , put the value in a text file on the central server and compare the date (specifically seconds) for each server date output to check if time is... (7 Replies)
Discussion started by: depam
7 Replies
9. Shell Programming and Scripting
I had a unix scripts in prod. I need to made changes in those scripts which I don't have the edit access. I need to move those scripts from prod to dev to edit. Please tell me how to switch from production to development, So that I can made changes in dev and again move those scripts to Prod.
... (3 Replies)
Discussion started by: Rajeswararao
3 Replies
10. HP-UX
Hi,
This weekend there was a sudden application crash in the server.
I did not know where to start to investigate the problem, so I first looked into the /var/adm/syslog/syslog.log, and this was what I found :
Dec 17 00:38:02 L28bi01 sshd: error: accept: No buffer space available
Dec 17... (9 Replies)
Discussion started by: anaigini45
9 Replies
ac(8) System Manager's Manual ac(8)
NAME
ac - Outputs connect-session records
SYNOPSIS
ac [-dp] [-w filename] [user(s) ...]
FLAGS
Outputs the total connect time for each midnight-to-midnight period for which a wtmp file exists. When user(s) is specified, this flag lim-
its the output to the login names specified by any user(s) parameter(s). Outputs the connect time total by individual login name of the
user specified with the -p flag and the user(s) parameter. Omission of this flag permits a total only for the midnight-to-midnight time
period for all logged in users to be produced. Specifies a wtmp file other than the /var/adm/wtmp file. The wtmp file you access for data
may have been created automatically by some shell script administration command (for example, runacct) or manually by the system adminis-
trator when the original /var/adm/wtmp file becomes too large.
DESCRIPTION
The ac command prints to the default output device the total connect time in hours to the nearest hundredth for all users, or the connect
time for any user(s) specified with the -p flag. It also prints the names of users specified by the user(s) parameter who have logged in
during the life of the current /var/adm/wtmp file.
Connect-time records are written by the init and the login programs and are collected in the /var/adm/wtmp file, when such a file exists.
When a /var/adm/wtmp file does not exist, no connect-time accounting records are written; consequently, when connect-time records are
wanted, the system administrator should create a /var/adm/wtmp file that has an initial record length of 0 (zero). Records in wtmp files
(there may be more than one such file) should be processed periodically to keep the files from becoming too large.
When you use the runacct command in a shell script, additional wtmp files can be automatically created whenever the current wtmp file
becomes too large. You can output the contents of any of these other files when you specify the -w flag and the desired wtmp filename.
The ac command is run independently with respect to any accounting shell procedure created or run by any of the acct/* shell procedures or
runacct commands.
EXAMPLES
To obtain an output of the total connect time for all users who have logged in during the life of the current wtmp data file, enter:
/usr/sbin/ac To obtain an output of the total connect time for grossman and mcwhinney as recorded in the default wtmp data file,
enter:
/usr/sbin/ac grossman mcwhinney To obtain an output of the connect time subtotals for grossman and mcwhinney as recorded in the
default wtmp data file, enter:
/usr/sbin/ac -p grossman mcwhinney
FILES
Specifies the command path. Is the active data file for the collection of connect-time records.
RELATED INFORMATION
Commands: login(1), init(8) delim off
ac(8)