This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Missing UID from "ps -W"
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@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@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@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