Solved

MSDOS command of services.msc (ie equivalent of 'ps -ef' of Unix)

Posted on 2008-10-24
5
1,583 Views
Last Modified: 2008-10-24
Hi,

I would like to know if there's an equivalent MSDOS command (or freeware
that do not require installation/registry modification) that will show the
services that are running (services.msc will try to launch the GUI) but
what I need is a simple text based capture of the processes that are running
(these are the processes/application running shown at Task Manager)

If there's a freeware that can do this, kindly point me to the link to download
it - preferably something that can run off command line & don't need to change
the registry (sort of Unix  'ps' command)
0
Comment
Question by:sunhux
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 6

Assisted Solution

by:Tempelman
Tempelman earned 150 total points
ID: 22794073
To interact with the services panel from the command line, Windows provides the Net utility. From the command prompt, you can use this utility to start, stop, pause and continue services. What most people don't realize is that you can also use this to display a list of services that are running on your computer.

Syntax:

net start

0
 
LVL 21

Assisted Solution

by:AmazingTech
AmazingTech earned 50 total points
ID: 22794097
SC allows for more control.
0
 
LVL 96

Assisted Solution

by:Lee W, MVP
Lee W, MVP earned 50 total points
ID: 22794171
Have you looked at the command "tasklist"? or the PSTools' PSLIST - http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
0
 

Author Comment

by:sunhux
ID: 22794174
Thanks guys.

"net start" has something but a bit brief.

"SC queryex"  is good.

Last question :
is "SC" available in Win 2003 Standard, Win2003 Server,
Win 2000 Server as well?

0
 
LVL 6

Accepted Solution

by:
Tempelman earned 150 total points
ID: 22794188
SC is available for Windows 2000, but not by default. You can obtain it from the Recource Tools. For more information check the following website:
http://www.petri.co.il/download_free_reskit_tools.htm
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

No single Antivirus application (despite claims by manufacturers) will catch or protect you from all Virus / Malware or Spyware threats. That doesn't stop you from further protecting yourself however - and this article is to show you how.
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

687 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question