www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
To: | cygwin AT cygwin DOT com |
From: | Christopher Cobb <ccobb AT email DOT com> |
Subject: | Re: ps -W displays timestamps oddly |
Date: | Fri, 22 Oct 2004 02:13:37 +0000 (UTC) |
Lines: | 39 |
Message-ID: | <loom.20041022T035916-587@post.gmane.org> |
References: | <loom DOT 20041019T145619-26 AT post DOT gmane DOT org> <20041019171828 DOT GA23395 AT trixie DOT casa DOT cgf DOT cx> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | main.gmane.org |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-Loom-IP: | 68.230.188.231 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20041013 Firefox/0.9.3 (Ubuntu)) |
X-IsSubscribed: | yes |
Christopher Faylor <cgf-no-personal-reply-please <at> cygwin.com> writes: > The processes are not sorted in any way. They are displayed in the > same order as Windows presents them to cygwin. Then let me try to do a better job pointing out the crux of the issue: ... view_server.exe 18/10/2004 18:55:57 14:55:57 D:\rational\ClearCase\bin\view_ser view_server.exe 18/10/2004 18:55:57 14:55:58 D:\rational\ClearCase\bin\view_ser explorer.exe 18/10/2004 18:55:58 14:55:58 C:\WINDOWS\Explorer.EXE shstat.exe 18/10/2004 18:56:04 14:56:05 C:\Program Files\Network Associate cmd.exe 19/10/2004 02:00:06 22:00:06 C:\WINDOWS\System32\cmd.exe sshd.exe 19/10/2004 12:54:58 08:54:59 D:\cygwin\usr\sbin\sshd.exe bash.exe 19/10/2004 12:54:59 08:55:00 D:\cygwin\bin\bash.exe bash.exe 19/10/2004 12:55:00 08:55:00 /usr/bin/bash ... The left side is "process", the right side is "ps -W". As process indicates explicitly, the first four lines are from Oct 18th, the next four from Oct 19th. From the ps -W output, you cannot discern this fact. From all appearances, the first four lines with timestamps 14:*:* were from today (i.e., Oct 19th) in the afternoon. But they were not. process is correct. They were from yesterday. ps normally only shows timestamps for processes that began /today/. For processes that began before today, only the /date/ is shown (this is not illustrated in the snippet I have included here, but you can look that my previous message in this thread for a full example). Bottom line: by showing a /timestamp/ instead of a /date/, ps is suggesting that these processes were started /today/ at the specified time. This is /wrong/. These processes were actually started /yesterday/ and therefore should be shown with a /date/ instead of a /timestamp/. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |