Is There Any Command In Windows Like Ps Command In Unix

Read about the most recent changes and happenings at
Log into your account or register as a new author. Start submitting your articles right now!
Search our database for articles.
Subscribe to receive articles emailed straight to your email account. You may choose multiple categories.
View our newest articles submitted by our authors.
View our most top rated articles rated by our visitors.
Please note that this is NOT the ARTICLE manager
Add a new EZINE, or manage your EZINE submission.
Add fresh, free web content to your site such as newest articles, web tools, and quotes with a single piece of code!
Shovon Joarder has been working as Freelance Marketing Project Manager for over four years. He also.. more
Is there any command in Windows like ps command in Unix? by Gitesh Trivedi
Is there any command in Windows like ps command in Unix? by GITESH TRIVEDI
Article Posted: 11/16/2009
Article Views: 7034
How to check Oracle processes in windows?
How to check Oracle processes in windows. This is burning problem for every Oracle DBA.
In unix there is command called “ps”. Using ps command Oracle DBA can check all type of processes which are running in system. Ps command is very useful to administrating and monitoring oracle in unix/linux systems for all Oracle DBA.
But there is no command available in windows just like ps in unix! Means there is no way to find out running processes in windows system using command line! Only task manager option is available in windows system for Oracle DBA. Using task manager we can check running processes in windows system. Task manager is GUI tool. Sometimes it is very difficult to monitoring and administrating Oracle on windows systems for Oracle DBA using GUI tool.
Alternate of ps command in windows (Great tip for Oracle DBA):
No it is not TRUE. Really !!! Windows has own command to trace all running processes in the system. Using “tasklist” command Oracle DBA can able to trace all running processes in windows including oracle,sqlplus,exp,imp and others. Tasklist command is very closer to ps command. Using tasklist command Oracle DBA can able to access process ids, session ids, cpu time, and modules of running processes in Oracle on Windows.
Please check help of tasklist command.
C:\>tasklist /?
/SVC
/V /FI filter /FO format /NH
Description: This command line tool displays a list of application(s) and associated task(s)/process(es) currently running on either a local or remote system.
Parameter List:
/S system Specifies the remote system to connect to.
/U domain\user Specifies the user context under which the command should execute.
/P password Specifies the password for the given user context. Prompts for input if omitted.
/M module Lists all tasks that have DLL modules loaded in them that match the given pattern name. If the module name is not specified, displays all modules loaded by each task.
/SVC Displays services in each process.
/V Specifies that the verbose information is to be displayed.
/FI filter Displays a set of tasks that match a given criteria specified by the filter.
/FO format Specifies the output format.
Valid values: “TABLE”, “LIST”, “CSV”. /NH S
pecifies that the “Column Header” should not be displayed in the output. Valid only for “TABLE” and “CSV” formats.
/? Displays this help/usage.
STATUS eq, ne RUNNING
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number
SESSIONNAME eq, ne Session name
CPUTIME eq, ne, gt, lt, ge, le CPU time in the format of hh:mm:ss. hh – hours, mm –
minutes, ss – seconds
MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
USERNAME eq, ne User name in domain\user format
SERVICES eq, ne Service name
WINDOWTITLE eq, ne Window title
MODULES eq, ne DLL name
Examples:
TASKLIST
TASKLIST /S system /U domain\username /FO CSV /NH
TASKLIST /S system /U username /P password /FO TABLE /NH TASKLIST /FI “USERNAME ne NT AUTHORITY\SYSTEM” /FI “STATUS eq running”
Example:
========================= ====== ================ ======== ============
4 Console 0 282,100 K
636 Console 0 420 K
692 Console 0 6,496 K
716 Console 0 1,336 K
760 Console 0 4,020 K
772 Console 0 7,188 K
956 Console 0 5,568 K
Means using tasklist or tasklist -v command we can manage and administor our oracle processes.
Now never tell that you don’t have ps command for windows !!!
All the best,
Gitesh Trivedi
About The Author: Gitesh Trivedi is an Expert Oracle DBA and working in Dbametrix. He has excellent 12 years experience. You can reach him on site
Do you Agree or Disagree? Have a Comment? POST IT!
Reader Opinions
12/17/09 – 1:51:00 AM – Shodhan Bhatnagar
Very good tip. It is working. Wonderful sharing. How many article have been written by you? Provide me everyone. Once again thanks for sharing such great resource.
Regards, Shodhan
12/05/09 – 2:45:48 AM – Mark Robbins
Another tool worth looking at is psList from Sysinternals (now part of Microsoft).
It is very powerful. -gb/sysinternals/
It comes with a number of other related tools that can be found here: -gb/sysinternals/
in combination they can be setup to remotely monitor servers
12/04/09 – 12:58:48 AM – Aseem
Kool man. gud 1
Everyone:
This question is most-usually asked by Oracle DBA familiar with Unix who are being asked to perform work on a Windows platform as well. Please remember one key difference between Unix and Windows: – In Unix, Oracle translates sessions into processes. – In Windows, Oracle translates sessions into threads.
The only processes you’ll see on a Windows box from running is one process per database under the context of the single service account. Anything you do to that process will affect all sessions associated with it.
12/01/09 – 10:25:40 AM – Stella eastwood
I am appreciating great tip for Oracle dba on windows. It is very useful for remote dba work and remote dba support service in specially for windows using command line tasks. Thanks for same. Kindly provide us more great and excellent tips such like this. Have a nice day.
12/01/09 – 10:20:18 AM – Olice Gare
Superb and thanks for sharing with afford. Pl. keep it up.
11/28/09 – 9:54:31 AM – Greg Smith
Hi,
Wonderful and very good technique has been shown for Oracle dba on windows. I am very appreciating.
Regards, Greg
11/25/09 – 12:26:18 PM – Rohit Sharma
Superb and very useful tip. Do you have another tips for same on windows for Oracle DBA? Kindly provide me same. I am giving full rating for this article.Thanks for sharing same.
11/21/09 – 1:16:18 PM – Gary Merrin
Great article and found very useful in routine tasks. Keep it up. Kindly provide me your contact details.
11/17/09 – 9:51:08 AM – Bharat Rathod
Excellent article. Very useful tips for every Oracle DBA whose working on remotely on windows. Thanks a very much to provide such kind of great article for knowledge sharing.
Submit your comments and they will be posted here.
Make this comment
Name:
Email:
Your email will NOT be posted. This is for administrative purposes only.
Comments:
Joanna Morgan has a huge passion for making money online from home and enjoys traveling around the w… more
Copyright © 2020, All rights reserved.

Ver Opiniones