Solved

How to know how many proceses are running in a UNIX server at that particular time?

Posted on 2006-06-10
3
415 Views
Last Modified: 2010-04-21
Hi ,

How to know how many proceses are running in a UNIX server at that particular time?

Can you provide me the same deatisl like .... how to know the number of processes ... that are runnning in the Mainframe Server and NT server?

Please give me information on this and the links that can provide me more information in this area...

Thanks a lot in advance

Waiting for reply

Rajesh
0
Comment
Question by:m_razesh
[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
3 Comments
 
LVL 23

Accepted Solution

by:
brettmjohnson earned 250 total points
ID: 16879213
on unix, use the 'ps' command to list all processes and the 'wc' command to count the number of processes listed.  The syntax of 'ps' depends upon your flavor of unix, but on my system it would be:

ps -A | wc -l


For more information:
man ps
man wc
0
 
LVL 57

Expert Comment

by:giltjr
ID: 16879657
What OS on a mainframe?  Linux can run on a mainframe and it is the same commands under Linux as Unix.

For other mainframe OS's, it depends on which OS you are talking about.  For z/OS if you have access to a system console it is D A (short for display active).
0
 
LVL 6

Expert Comment

by:JJSmith
ID: 16881612

These days with so much web stuff, threads are often the workload rather than processes which may be multi-threaded.

I think your questions are all a little too vague and clearly you have a long way to go to understand the hetrogenus environment you are in.

I am surpised that given the implied cost of your equipment (ie mainframe), that you cannot find some of the information you seek, locally.

If you are seeking to identify similarities between the 3 environments ( mainframes,open system,microsoft ), then this forum can provide you with UNIX responses for specific questions, but to ask for equivelent commands on other H/W O/S environments is over simplifing the subject. Different environments don't just do things differently - they do different things!!.

Cheers
JJ

 
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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses

710 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