Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

757 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

20 Experts available now in Live!

Get 1:1 Help Now