Sponsored Content
Top Forums Shell Programming and Scripting Processes running response time Post 303023290 by RavinderSingh13 on Friday 14th of September 2018 05:06:25 AM
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
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

ls -l : response time slow

Hi all, If I give ls , it lists files in 1 second. It I give ls -l , it takes 8 seconds There are only 55 files in the directory. Any explanation? Thanks Wilson (4 Replies)
Discussion started by: geraldwilson
4 Replies

2. UNIX for Advanced & Expert Users

Response time under packet loss

I am experiencing a problem where under a dial condition I am experiencing packet loss, which is failrly normal, but the response to the packet loss is taking bewteen 6 and 10 seconds. Could someone please advise what the industry standard is on the response time under a packet loss senario. (1 Reply)
Discussion started by: shane
1 Replies

3. UNIX for Advanced & Expert Users

Response time & IO max

in HP-UX how i can measure the response time and how can i find the maximum IO (1 Reply)
Discussion started by: salhoub
1 Replies

4. Shell Programming and Scripting

determine the active processes on the system which are running since long time

Hi , Please help me shell script to determine the active processes on the system which are running since long time (2 Replies)
Discussion started by: itian2010
2 Replies

5. Shell Programming and Scripting

Calculate response time from log

I have a running log file (jboss_server.log) which rotates at midnight . I need to constantly check and calculate the time for each thread and alert if it doesnt complete within 60 minute. For example my log file has following printed . I want to run a script in cron every 30 minutes and... (2 Replies)
Discussion started by: gubbu
2 Replies

6. IP Networking

Tshark/pcap and web-server response time

Hi everyone! How can I get response time difference between GET and HTTP/1.0 200 OK (i mean time latency of web-server) with using of tshark&shell or something else for each hostname from pcap file? What can you recommend me to do that? (1 Reply)
Discussion started by: lepetal
1 Replies

7. Shell Programming and Scripting

Calculate avg response time on hourly basis

Hi, I am trying to calculate avg response time on hourly basis from the log file which has millions of records. As of now I am trying with creating temp file which will have lines with unique id and start time and end time and after that another script will run on this temp file to... (7 Replies)
Discussion started by: random_thoughts
7 Replies

8. Shell Programming and Scripting

Script to check response time from nginx logs

Hi, My goal is to monitor the response time from the access logs of nginx server. I am using gawk to print the needed fields - 'response time' and 'name of the service' from nginx logs. Command: gawk '($6 ~ /cloudservice/) {print $10, $6}' access.log Output: 0.645 /nc/cloudservice... (6 Replies)
Discussion started by: nshah11
6 Replies

9. Shell Programming and Scripting

Multi threading - running multiple processes at the same time

so i've been using this a lot in a lot of my scripts: ( columnA & columnAPID=$! & columnB & columnBPID=$! & columnC & columnCPID=$! &) & wait ${columnAPID} wait ${columnBPID} wait ${columnCPID} It seems to work as ive seen it dramatically reduce run time of my scripts. however, i'm... (5 Replies)
Discussion started by: SkySmart
5 Replies

10. UNIX for Beginners Questions & Answers

Many processes running at the same time

Hello everybody , I launched cron to execute a task every hour but the job takes more than hour that's why I'm getting more than 1000 cron processes running at the same time !!! My question is how to tell cron not to execute unless the job terminated in order to have only one process running .... (14 Replies)
Discussion started by: beautymind
14 Replies
OCF_HEARTBEAT_ICP(7)						OCF resource agents					      OCF_HEARTBEAT_ICP(7)

NAME
ocf_heartbeat_ICP - Manages an ICP Vortex clustered host drive SYNOPSIS
ICP [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
Resource script for ICP. It Manages an ICP Vortex clustered host drive as an HA resource. SUPPORTED PARAMETERS
driveid The ICP cluster drive ID. (required, string, no default) device The device name. (required, string, no default) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 20. stop Stops the resource. Suggested minimum timeout: 20. status Performs a status check. Suggested minimum timeout: 20. Suggested interval: 10. monitor Performs a detailed status check. Suggested minimum timeout: 20. Suggested interval: 10. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a ICP resource using the crm(8) shell: primitive p_ICP ocf:heartbeat:ICP params driveid=string device=string op monitor depth="0" timeout="20" interval="10" SEE ALSO
http://www.linux-ha.org/wiki/ICP_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_ICP(7)
All times are GMT -4. The time now is 07:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy