Solved

UNIX Utility

Posted on 2004-09-07
3
249 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
[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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
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 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…
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.

707 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