Sponsored Content
Top Forums Shell Programming and Scripting Processes running response time Post 303023289 by simpsa27 on Friday 14th of September 2018 04:56:16 AM
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
 

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
NAUTILUS-SCRIPTS-MANAGER(1)				      General Commands Manual				       NAUTILUS-SCRIPTS-MANAGER(1)

NAME
nautilus-scripts-manager - easy tool for nautilus scripts management SYNOPSIS
nautilus-scripts-manager [options] DESCRIPTION
This manual page documents briefly the nautilus-scripts-manager command. nautilus-scripts-manager is a program that allows any user to easily manage installed Nautilus scripts. GENERAL OPTIONS
-h, --help Show summary of options. -v, --version Show version of program. COMMANDS
One (and only one) of the following commands can be passed: -e, --enable=ENABLE Enable script ENABLE. -d, --disable=DISABLE Disable script DISABLE. -l, --list-enabled List enabled scripts. -a, --list-available List available scripts. If no command is provided, the graphical interface is started. OPTIONS
-e, --position=POSITION In conjunction with -e or -d: establish the position of the script (can be just a name, or a path with slashes - quote it if it con- tains spaces). SEE ALSO
nautilus(1), AUTHOR
nautilus-scripts-manager and this manual page were written by Pietro Battiston <me@pietrobattiston.it>. This manual page was written for the Debian project (but may be used by others). July 14, 2009 NAUTILUS-SCRIPTS-MANAGER(1)
All times are GMT -4. The time now is 04:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy