Solved

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

Posted on 2008-10-24
5
1,537 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
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 95

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

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Join & Write a Comment

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now