Home Man
Search
Today's Posts
Register

BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Processes running response time

Tags
math scripts, processes, run, running, scripting, shell scripts, time

👤 Login to reply

 
Thread Tools Search this Thread
# 1  
Old 1 Week Ago
Processes running response time

Hi All

I have been asked to write scripts within our monitoring tool for a vast requirement set.

One of the requirements is below:
• Lowest, Highest & Average response times of the Documentum process threads serving client requests

Essentially they want a view where we can see the lowest file time / highest file time and the average.

Is there a way to create a script to get the average?

Code:
[apmuser@wyclapph053 epaplugins]$ ps -ef | grep docbase
docuser   6130 20473  0 Sep12 ?        00:01:48 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser   6136 20473  0 Sep12 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser   7093 20473  0 Sep12 ?        00:00:27 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser   9541 20473  0 Sep12 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser  10430 20473  0 Sep12 ?        00:04:28 ./dm_agent_exec -docbase_name ICP.ICP -docbase_owner docuser -sleep_duration 0
docuser  12932 20473  0 Sep12 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
apmuser  14731 29344  0 09:53 pts/2    00:00:00 grep docbase
docuser  16398 20473  0 Sep12 ?        00:00:02 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser  20473     1  0 Sep12 ?        00:00:32 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser  21984 20473  0 08:20 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
[apmuser@wyclapph053 epaplugins]$

They want a view of the lowest file time / the highest file time and then the average of all files. Is this possible if so what would the command be as I have no clue?

Thanks in advance
# 2  
Old 1 Week Ago
Quote:
Originally Posted by simpsa27
Hi All
I have been asked to write scripts within our monitoring tool for a vast requirement set.
One of the requirements is below:
• Lowest, Highest & Average response times of the Documentum process threads serving client requests
Essentially they want a view where we can see the lowest file time / highest file time and the average.
Is there a way to create a script to get the average?
Code:
[apmuser@wyclapph053 epaplugins]$ ps -ef | grep docbase
docuser   6130 20473  0 Sep12 ?        00:01:48 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser   6136 20473  0 Sep12 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser   7093 20473  0 Sep12 ?        00:00:27 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser   9541 20473  0 Sep12 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser  10430 20473  0 Sep12 ?        00:04:28 ./dm_agent_exec -docbase_name ICP.ICP -docbase_owner docuser -sleep_duration 0
docuser  12932 20473  0 Sep12 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
apmuser  14731 29344  0 09:53 pts/2    00:00:00 grep docbase
docuser  16398 20473  0 Sep12 ?        00:00:02 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser  20473     1  0 Sep12 ?        00:00:32 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
docuser  21984 20473  0 08:20 ?        00:00:00 ./documentum -docbase_name ICP -security acl -init_file /opt/product/documentum/dba/config/ICP/server.ini
[apmuser@wyclapph053 epaplugins]$

They want a view of the lowest file time / the highest file time and then the average of all files. Is this possible if so what would the command be as I have no clue?
Thanks in advance
Hello simpsa27,

Not sure what do you mean by average values by checking Docbase processes? They are just processes for documentum repository. Please do mention actual requirement of yours as it is not clear, are you seeing any slowness on content server or application server side? Kindly do mention all details in your post.

Thanks,
R. Singh
# 3  
Old 1 Week Ago
Hi R.Singh

So above we can see a list of process so I have been asked to get the average time of all process are taking. Simply adding up all the times & dividing it by how many there are. The average response time the processes are taking

Hope that helps?

Cheers
Alex
# 4  
Old 1 Week Ago
I have to second RavinderSingh13 that the request is highly unclear. The process list you posted shows a sort of "documentum daemon" with PID 20473 and 8 (7 documentum + 1 dm_agent_exec) children thereof, all with different "cumulative CPU time". No "file times" nor "response times" in sight.


Please become way more specific! What processes to include? What numbers to include?
# 5  
Old 1 Week Ago
It looks to me that you want to be able to measure performance, probably by transaction request/return times. Documentum originally worked on files of almost any kind. So your asking for "file" times is confusing everyone. They think you mean UNIX file access times. I am guessing this is sort of a communication breakdown here

Documentum seemed like Ingres (or Oracle) for any kind of digital object - files, metafiles, metadata. To me anyway. If this helps people to answer the question.

I do not know anything much about Documentum now. What performance monitoring tools come with the product? Use them to generate data. We can help you organize and use that data to answer the requirements.
👤 Login to reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Many processes running at the same time beautymind UNIX for Beginners Questions & Answers 14 02-13-2018 03:47 AM
Multi threading - running multiple processes at the same time SkySmart Shell Programming and Scripting 5 08-01-2016 06:44 AM
Calculate avg response time on hourly basis random_thoughts Shell Programming and Scripting 7 06-07-2013 01:53 AM
Tshark/pcap and web-server response time lepetal IP Networking 1 10-30-2012 02:59 PM
Calculate response time from log gubbu Shell Programming and Scripting 2 02-23-2011 04:33 PM
determine the active processes on the system which are running since long time itian2010 Shell Programming and Scripting 2 08-18-2010 08:32 AM
[PHP] Script to Time Remote Server Response and Email Neo Web Programming 1 12-12-2009 03:01 PM
Response time & IO max salhoub UNIX for Advanced & Expert Users 1 10-10-2005 09:43 AM
Response time under packet loss shane UNIX for Advanced & Expert Users 1 09-08-2003 06:32 AM
ls -l : response time slow geraldwilson UNIX for Advanced & Expert Users 4 11-29-2002 09:06 AM


All times are GMT -4. The time now is 01:42 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password