From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Brewer, Edward" Newsgroups: gmane.os.tru64.managers Subject: Update: Uptime clarification Date: Tue, 28 Jan 2003 12:00:37 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <7B386924C5CAD0428322085D0F0F766F0163B8C9@ODEXC4.od.nih.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1043773348 25267 80.91.224.249 (28 Jan 2003 17:02:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2003 17:02:28 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18dZ6d-0006RL-00 for ; Tue, 28 Jan 2003 18:01:04 +0100 Original-Received: (qmail 30666 invoked by uid 5); 28 Jan 2003 17:02:39 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 30656 invoked by uid 49493); 28 Jan 2003 17:02:39 -0000 Original-Received: from BREWERE@OD.NIH.GOV by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.7/5.0):. Processed in 0.423204 secs); 28 Jan 2003 17:02:39 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 28 Jan 2003 17:02:38 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9F00BGUOL95U@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 28 Jan 2003 12:02:38 -0500 (EST) Original-Received: from nihhubims3.hub.nih.gov (nihhubims3.hub.nih.gov [128.231.90.113]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #30669) with ESMTP id <0H9F00E1TOL2RZ@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 28 Jan 2003 12:00:38 -0500 (EST) Original-Received: by nihhubims3.hub.nih.gov with Internet Mail Service (5.5.2656.59) id ; Tue, 28 Jan 2003 12:00:37 -0500 Content-return: allowed Original-To: "'Tru64-Unix-Managers \(E-mail\)" X-Mailer: Internet Mail Service (5.5.2656.59) Xref: main.gmane.org gmane.os.tru64.managers:3110 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3110 Admins Here is a conversation thread between Charles Ballowe and myself: Response from Charles Ballowe: I think the RUNQ is a current snapshot of the queue length, while the average is a sliding average. I think the math you are using could be slightly wrong as well, but my statistics skills are slightly rusty. I don't remeber how to properly handle sliding averages to get a better average. Curiousity tells me, run the script for 60 seconds with a 1 second interval and see if the average of RUNQ is roughly close to the last AVG60? Unfortunately I don't have a better answer for you. -charlie From: Lee Brewer Thanks for your response. I think the math may hold (but I will check) Here is a sample of the output RunQ 5 30 60 0 2.4 2.41 2.39 0 2.73 2.57 2.49 0 2.39 2.46 2.45 0 2.82 2.61 2.54 0 2.55 2.6 2.57 0 2.42 2.41 2.46 0 1.95 2.13 2.27 2 4.61 2.37 2.29 1 1.3 1.73 1.93 0 1.22 1.44 1.67 This is from collect with an interval of 30 seconds....so this represents 5 minutes. That means that the run queue value should be the average of the run queue over 30 seconds (I think that is what collect is doing). Now the values for 5/30/60 are an average of the average values for the last 5/30/60 over the 30 second interval. As you can see the run queue is close to 0 during this 5 minutes... What do you think? >From Charles: Oh, yeah -- RUNQ is just the queue of Runnable processes that aren't currently running. Load average is the average number of processes that are runnable, including those that are currently occupying the processor. To all: I think that answers the question, but I will keep it open for any other responses. Lee Brewer