Solved

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

Posted on 2006-06-10
3
404 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

920 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

18 Experts available now in Live!

Get 1:1 Help Now