Solved

UNIX Utility

Posted on 2004-09-07
3
247 Views
Last Modified: 2010-04-21
What is the simplest way to see if the server is active? What utility would I use?
0
Comment
Question by:aahlawat
3 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 12003047
Depends on your definition of "active", but in general, ping will tell you if the network interface is up and doing 'ps' on the server will tell you what processes are running.
0
 
LVL 38

Accepted Solution

by:
yuzh earned 500 total points
ID: 12003883
Just add a bit more infor for Tintin's comment.

ping machine-ip

if you can get response from the machine, you know it is running for sure. If you get
no response, it mean the machine may be down, or the machine is off the network, or
the sys adm have disable respone to ping. (for security reason, some sys adm disable
it).

If you want to check if a process is running:
ps -ef | grep command-name

if it give you the pocess id etc, it is running, otherwise it is not.

man ping
man ps
to learn more details
0
 
LVL 20

Expert Comment

by:Gns
ID: 12004604
If they (the machines) support it you could use ruptime or rup. These are generally NOT available, since they can be severe security risks.

Are all these "similar" questions from a test?

-- Glenn
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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 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.:
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.

820 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