Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cygwin top command - See processes for all users

Tags:

cygwin

Does anybody know how to see the processes for all users using top command in Cygwin (part of procps library under System).

I know this can be done in *nix but I am struggling in Cygwin. I have tried using pslist but it does not behave in a putty SSH console.

I need to have a solution where I can see a top like dialog using SSH. I do not have any NTLM SSO access to the Win2k3 guest at all so ssh is the only way in.

like image 870
Timothy C. Quinn Avatar asked Aug 17 '10 14:08

Timothy C. Quinn


People also ask

How can I see all processes in top command?

Press ' c ' option in running top command will display the absolute path of the running process.


2 Answers

top only displays Cygwin processes. ps -W will list Windows processes as well.

like image 195
ak2 Avatar answered Sep 30 '22 12:09

ak2


Manytimes the command "tasklist" gets the job done more effectively. It built into windows, just make sure your System32 folder is part of your bash profile PATH. There is also procps itself. You should also try using mintty for your terminal. You could always try attaching any of these task apps to screen, and or using watch to poll the information.

like image 22
jonretting Avatar answered Sep 30 '22 12:09

jonretting