Sponsored Content
Top Forums Shell Programming and Scripting Script to check response time from nginx logs Post 302931802 by Chubler_XL on Thursday 15th of January 2015 02:53:06 PM
Old 01-15-2015
Thanks MadeInGermany another out-by-one, I swear it feels like 49% of my errors are of this type.
 

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. Web Development

[PHP] Script to Time Remote Server Response and Email

Here is a simple PHP script I wrote that times getting a link using mtime with curl and emails if it does not meet my objective. I use it in production for checking the performance of a Content Delivery Network (CDN), but you can use it for any web server. <?php $heartbeat =... (1 Reply)
Discussion started by: Neo
1 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. Solaris

archive logs mount point space check script

I have the below shell script which is checking /archlog mount point space on cappire(solaris 10) server. When the space usage is above 80% it should e-mail. When i tested this script it is working as expected. -------------------------------------------------------------------------... (0 Replies)
Discussion started by: dreams5617
0 Replies

7. Shell Programming and Scripting

Script to check logs

I have 5 log files under different directores . say for eg abc under /home/dir1 , xyz under home/dir2 . is there a script that i can run from say /home that searchers all these files for string or combination of strings and write to a file eg search file by timestamp|keyword o/p in a file (6 Replies)
Discussion started by: Nevergivup
6 Replies

8. UNIX for Advanced & Expert Users

AIX idea needed to check the logs updated date and time

Hi with the help of Gabriel canepa, i have just edited filename only in his code. The help which i got and he helped is 1) I have around 22 logs and each log should be updated in the last 24 hours from the current timestamp. 2) It should check for ERROR message (not error,Error) in the log and... (2 Replies)
Discussion started by: Kalaihari
2 Replies

9. Shell Programming and Scripting

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... (4 Replies)
Discussion started by: simpsa27
4 Replies

10. UNIX for Beginners Questions & Answers

How to count respon time max min avg for nginx logs?

Hi All, need your help, i want count respon time max and average my nginx logs, based on hourly or minutes per api... my nginx.log sample : 10.1.1.1 - - "POST /v2/api/find/outlet/ HTTP/1.1" 200 2667 "-" "okhttp/3.12.0" "118.215.153.47" 0.178 0.178 . 10.1.1.1 - - "POST... (4 Replies)
Discussion started by: fajar_3t3
4 Replies
PMSD(8) 						      System Manager's Manual							   PMSD(8)

NAME
pmsd - Periodically Manic System Daemon. Manages the bizzare and sometimes unexplainable behavior exhibited by computers. SYNOPSIS
pmsd [-bcfmp] DESCRIPTION
pmsd is a rogue daemon that is spawned on a semi-regular schedule by init(8). Most of the unusual and quirky behavior associated with mis- behaving computers can be attributed to pmsd. pmsd has a number of command-line options, invoked at run-time by init(8). The ps(1) command will occasionally display the current options, but only if pmsd feels like revealing them. This is usually not the case. pmsd can be manually invoked by the pms(8) command. Make sure there is not a pmsd process already running when you use pms(8); you don't want to be on a system with multiple instances of pmsd run- ning. With no flags, pmsd runs with the default -m option, and any others it feels like using. OPTIONS
-b Bloat. Files randomly grow in size, filling up filesystems and causing quotas to be exceeded. -c Craving. System becomes hungry, eating magnetic tapes, CD-ROM discs, floppies, and anything else a hapless user loads into a remov- able media drive. -f Fatigue. System will pause for a random period of time. It is important to leave the system alone during this time. Attempts to coax the machine into normal operation could cause the spontaneous activation of all command-line switches. This is to be avoided. -m Mood swings. Process priorities and nice values are altered randomly. Swapping usually occurs with no warning, even when memory is available. This is the default behavior. -p Peeved. One or more users are selected as targets of the system's anger. Files are deleted, e-mail copied to /etc/motd, and any Usenet articles posted by the targets are crossposted to misc.test and alt.flame. NOTES
When pmsd is invoked by using the pms(8) command, pmsd ignores any command-line switches and does what it damned well pleases. SEE ALSO
pms(8) BUGS
There are no bugs; how could you ask that? HISTORY
Written by Eric L. Pederson <eric@bofh.org.uk>. 25 March 1996 PMSD(8)
All times are GMT -4. The time now is 10:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy