Top Command Alternative to View Processes

Posted On 2007-04-05 by FortyPoundHead
Tags: General Tip Tutorial Windows XP
Views: 1809

Many Unix and Linux-style operating systems come with the ''top'' command that, when entered, display a detailed view of every running process on the system. This command updates in real-time, so as processes start, stop, or request more memory, this information is reflected in the display.

Windows XP''s Task Manager shows this information in a GUI format. Just press CONTROL-ALT-DELETE. If the Task Manager does not automatically appear, select the "Task Manager" button.

To view this information in the DOS prompt, you need to install the Windows 2003 Resource Kit (refer to tip Unix Style Tail Command for instructions). This will provide the command ''pmon'' that provides similar functionality. After installation of the Resource Kit, enter the following command at the DOS prompt:


You will see a display of the currently running processes, their names, how long they have run, their thread count, and more. At the top of the pmon display is a cumulative total of memory used, memory available page faults, and more. Use the up and down cursor keys to scroll through the display, and press CONTROL-C to exit.

Of course, if you are used to the top command, you can always create a quick batch file. Enter the following at the DOS prompt:

C:\>cd \windows
C:\>echo @pmon > top.bat

Now, if you enter ''top'' at the Windows XP command prompt, the process monitor (pmon) command will start.

About the Author

has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links