X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=4.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: =?iso-8859-2?Q?Danyi-Zsil=E1k_Andr=E1s?= To: "'cygwin AT cygwin DOT com'" Date: Tue, 6 Mar 2012 14:39:54 +0100 Subject: Missing UID from "ps -W" Message-ID: References: In-Reply-To: Content-Type: text/plain; charset="iso-8859-2" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q26DeMdj013097 Hi, I try to use "ps -W" to monitor processes, but UID is 0 except for processes started in cygwin. Is it a bug or a feature? 14:13:50[siebel AT CRMDOCTRN1:~]$ uname -a CYGWIN_NT-6.0 CRMDOCTRN1 1.7.10(0.259/5/3) 2012-02-05 12:36 i686 Cygwin 14:14:11[siebel AT CRMDOCTRN1:~]$ ps --version ps (cygwin) 1.7.10 Show process statistics Copyright (C) 1996 - 2012 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14:05:11[siebel AT CRMDOCTRN1:~]$ ps -Wf UID PID PPID TTY STIME COMMAND siebel 5116 6576 pty0 14:05:36 /usr/bin/ps cyg_serv 7712 6808 ? Mar 2 /usr/sbin/sshd siebel 6576 5028 pty0 Mar 2 /usr/bin/bash cyg_serv 5028 7712 ? Mar 2 /usr/sbin/sshd cyg_serv 6808 1 ? Mar 2 /usr/bin/cygrunsrv 0 4 0 ? Jan 29 System 0 456 0 ? Jan 29 C:\Windows\System32\smss.exe 0 536 0 ? Jan 29 C:\Windows\System32\csrss.exe 0 580 0 ? Jan 29 C:\Windows\System32\csrss.exe 0 588 0 ? Jan 29 C:\Windows\System32\wininit.exe 0 624 0 ? Jan 29 C:\Windows\System32\winlogon.exe 0 660 0 ? Jan 29 C:\Windows\System32\services.exe 0 676 0 ? Jan 29 C:\Windows\System32\lsass.exe 0 684 0 ? Jan 29 C:\Windows\System32\lsm.exe 0 836 0 ? Jan 29 C:\Windows\System32\svchost.exe Thanks, András -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple