Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

UNIX Utility

What is the simplest way to see if the server is active? What utility would I use?
0
aahlawat
Asked:
aahlawat
1 Solution
 
TintinCommented:
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
 
yuzhCommented:
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
 
GnsCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now