Processes running response time

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

 
Thread Tools Search this Thread
# 1  
Old 09-14-2018
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 09-14-2018
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 09-14-2018
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 09-14-2018
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 09-14-2018
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.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

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