Solved

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

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Installing trusted root certificate 12 49
BIOS update failed, laptop dead. Any options to revive the system? 19 81
Password recovery software 4 26
robocopy 33 87
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

803 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