Re: Privilege(s) needed to run top command

2019-03-15 Thread Corinna Vinschen
On Mar 15 07:11, jwang wrote: > Thank you greatly. top works beautifully as it did before: > top - 14:10:07 up 18:38, 1 user, load average: 1.04, 1.00, 1.00 > Tasks: 8 total, 1 running, 7 sleeping, 0 stopped, 0 zombie > %Cpu0 : 0.0/3.2 3[||

Re: Privilege(s) needed to run top command

2019-03-15 Thread jwang
Thank you greatly. top works beautifully as it did before: top - 14:10:07 up 18:38, 1 user, load average: 1.04, 1.00, 1.00 Tasks: 8 total, 1 running, 7 sleeping, 0 stopped, 0 zombie %Cpu0 : 0.0/3.2 3[|| ] %Cpu1

Re: Privilege(s) needed to run top command

2019-03-15 Thread jwang
Thank you very much. -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsu

Re: Privilege(s) needed to run top command

2019-03-15 Thread Corinna Vinschen
On Mar 15 05:34, jwang wrote: > It is "Windows 10" Home edition - not sure how to do that yet > Thanks a lot for your help indeed. net localgroup 'Performance Monitor Users' /add Corinna -- Corinna Vinschen Cygwin Maintainer signature.asc Description: PGP signature

Re: Privilege(s) needed to run top command

2019-03-15 Thread jwang
It is "Windows 10" Home edition - not sure how to do that yet Thanks a lot for your help indeed. -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Privilege(s) needed to run top command

2019-03-15 Thread Corinna Vinschen
On Mar 15 03:20, jwang wrote: > Update: > > top works perfectly if I login to the machine locally as a > non-administrator. > > it still does not show load average correctly (always 0) if ssh to the box > as a non-administrator user. https://cygwin.com/ml/cygwin/2019-03/msg00303.html Corinna

Re: Privilege(s) needed to run top command

2019-03-15 Thread jwang
Update: top works perfectly if I login to the machine locally as a non-administrator. it still does not show load average correctly (always 0) if ssh to the box as a non-administrator user. Thank you. -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports:

Re: Privilege(s) needed to run top command

2019-03-13 Thread jwang
Thank you all for your helps. -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com

Re: Privilege(s) needed to run top command

2019-03-12 Thread Andrey Repin
Greetings, Corinna Vinschen! > On Mar 12 23:35, Andrey Repin wrote: >> Greetings, Corinna Vinschen! >> >> > This was complete nonsense. >> >> > Actually, the problem was entirely in Cygwin's ps.exe, and it's a >> > long-standing problem at that. >> >> > While the Cygwin DLL collected the comple

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 12 23:35, Andrey Repin wrote: > Greetings, Corinna Vinschen! > > > This was complete nonsense. > > > Actually, the problem was entirely in Cygwin's ps.exe, and it's a > > long-standing problem at that. > > > While the Cygwin DLL collected the complete process list for ps, ps then > > didn

Re: Privilege(s) needed to run top command

2019-03-12 Thread Andrey Repin
Greetings, Corinna Vinschen! > This was complete nonsense. > Actually, the problem was entirely in Cygwin's ps.exe, and it's a > long-standing problem at that. > While the Cygwin DLL collected the complete process list for ps, ps then > didn't print any process it failed to call OpenProcess on.

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 12 18:39, Corinna Vinschen wrote: > On Mar 12 18:13, Corinna Vinschen wrote: > > On Mar 12 10:00, jwang wrote: > > > Sir, > > > > Nope. > > > > > I download, this morning: > > > 3132 -rw-r--r-- 1 james None 3207004 Mar 12 10:50 cygwin-20190312.tar.xz > > > > > > tar -xvf cygwin-20190312.

Re: Privilege(s) needed to run top command

2019-03-12 Thread Achim Gratz
jwang writes: > tar -xvf cygwin-20190312.tar.xz Well, if that didn't give you an error you now have an unused Cygwin DLL in whatever directory you extracted the tar in. How about you actually read how it's done? https://cygwin.com/faq.html#faq.setup.snapshots Regards, Achim. -- +<[Q+ Matrix-1

Re: Privilege(s) needed to run top command

2019-03-12 Thread Houder
On Tue, 12 Mar 2019 18:13:39, Corinna Vinschen wrote: > On Mar 12 10:00, jwang wrote: > > Sir, > > Nope. > > > I download, this morning: > > 3132 -rw-r--r-- 1 james None 3207004 Mar 12 10:50 cygwin-20190312.tar.xz (Sigh) James, please, please, read this: https://cygwin.com/faq.html#faq.what

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 12 10:13, jwang wrote: > Understood. Thanks. > > However, top command used to show load average under non-privileged user > (till I upgraded cygwin) and I wish to have that back please if I may. Add your user to the "Performance Monitoring Users" group. Corinna -- Corinna Vinschen Cyg

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 12 18:13, Corinna Vinschen wrote: > On Mar 12 10:00, jwang wrote: > > Sir, > > Nope. > > > I download, this morning: > > 3132 -rw-r--r-- 1 james None 3207004 Mar 12 10:50 cygwin-20190312.tar.xz > > > > tar -xvf cygwin-20190312.tar.xz > > Where to? You have to install cygwin1.dll in pla

Re: Privilege(s) needed to run top command

2019-03-12 Thread jwang
Understood. Thanks. However, top command used to show load average under non-privileged user (till I upgraded cygwin) and I wish to have that back please if I may. Thanks a lot for your help -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http:

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 12 10:00, jwang wrote: > Sir, Nope. > I download, this morning: > 3132 -rw-r--r-- 1 james None 3207004 Mar 12 10:50 cygwin-20190312.tar.xz > > tar -xvf cygwin-20190312.tar.xz Where to? You have to install cygwin1.dll in place of the other cygwin1.dll while having stopped all Cygwin pro

Re: Privilege(s) needed to run top command

2019-03-12 Thread jwang
Sir, I download, this morning: 3132 -rw-r--r-- 1 james None 3207004 Mar 12 10:50 cygwin-20190312.tar.xz tar -xvf cygwin-20190312.tar.xz then I did: usr/bin/ps -W|grep httpd nothing returned from the above command. -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- P

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 12 08:45, jwang wrote: > I downloaded the latest snapshots and it did not make any difference. It certainly does. I'm testing this myself. In a session of a non-privileged user I now see all other Cygwin processes in ps, procps and top. I see processes from another RDP session as well a

Re: Privilege(s) needed to run top command

2019-03-12 Thread jwang
I downloaded the latest snapshots and it did not make any difference. Thanks -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/doc

Re: Privilege(s) needed to run top command

2019-03-12 Thread Houder
On Tue, 12 Mar 2019 04:55:01, jwang wrote: > After last weekend update, I believe I had already the latest version > installed: > > lc cygwin1.dll|xargs ls -lsa > 3412 -rwxr-xr-x 1 admin None 3489952 Mar 5 18:59 /bin/cygwin1.dll > 3412 -rwxr-xr-x 1 admin None 3489952 Mar 5 18:59 /usr/bin/cygwin

Re: Privilege(s) needed to run top command

2019-03-12 Thread jwang
After last weekend update, I believe I had already the latest version installed: lc cygwin1.dll|xargs ls -lsa 3412 -rwxr-xr-x 1 admin None 3489952 Mar 5 18:59 /bin/cygwin1.dll 3412 -rwxr-xr-x 1 admin None 3489952 Mar 5 18:59 /usr/bin/cygwin1.dll -- Sent from: http://cygwin.1069669.n5.nabble

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 12 02:41, jwang wrote: > It used to work. > > > As can be seen from above screenshot, CPU load is 0! (when login as an > Administrator , it shows about 1) > > ps -e (or ps -W) no longer shows processes such as cron and

Re: Privilege(s) needed to run top command

2019-03-12 Thread jwang
It used to work. As can be seen from above screenshot, CPU load is 0! (when login as an Administrator , it shows about 1) ps -e (or ps -W) no longer shows processes such as cron and sshd et al owned by SYSTEM -- Sent from

Re: Privilege(s) needed to run top command

2019-03-12 Thread Corinna Vinschen
On Mar 11 22:40, Achim Gratz wrote: > Corinna Vinschen writes: > > (*) That doesn't mean it's not possible. In theory all Cygwin > > processes could be opened to allow everyone > > PROCESS_QUERY_LIMITED_INFORMATION access, which would at least > > fill most of /proc//stat for foreign p

Re: Privilege(s) needed to run top command

2019-03-11 Thread Andrey Repin
Greetings, Achim Gratz! > Corinna Vinschen writes: >> (*) That doesn't mean it's not possible. In theory all Cygwin >> processes could be opened to allow everyone >> PROCESS_QUERY_LIMITED_INFORMATION access, which would at least >> fill most of /proc//stat for foreign processes. >>

Re: Privilege(s) needed to run top command

2019-03-11 Thread Achim Gratz
Corinna Vinschen writes: > (*) That doesn't mean it's not possible. In theory all Cygwin > processes could be opened to allow everyone > PROCESS_QUERY_LIMITED_INFORMATION access, which would at least > fill most of /proc//stat for foreign processes. > However, we never did that, so

Re: Privilege(s) needed to run top command

2019-03-11 Thread Corinna Vinschen
On Mar 11 21:41, Achim Gratz wrote: > jwang writes: > > This is used to work for a ordinary login. > > > > After re-install, top does not show the true load et al. Nor processes > > owned by SYSTEM. > > > > Please shed some light. > > Cygwin is a user-space layer. It can't show you information t

Re: Privilege(s) needed to run top command

2019-03-11 Thread Achim Gratz
jwang writes: > This is used to work for a ordinary login. > > After re-install, top does not show the true load et al. Nor processes > owned by SYSTEM. > > Please shed some light. Cygwin is a user-space layer. It can't show you information that the underlying OS determines to be off-limits for

Re: Privilege(s) needed to run top command

2019-03-11 Thread L A Walsh
On 3/11/2019 9:50 AM, jwang wrote: > This is used to work for a ordinary login. > > After re-install, top does not show the true load et al. Nor processes > owned by SYSTEM. > > Please shed some light. Thanks a lot in advance. > You mean this: top - 13:26:15 up 1 day, 16:13, 1 user, load av

Privilege(s) needed to run top command

2019-03-11 Thread jwang
This is used to work for a ordinary login. After re-install, top does not show the true load et al. Nor processes owned by SYSTEM. Please shed some light. Thanks a lot in advance -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html -- Problem reports: http://cygwin.co