Solved

UNIX Utility

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CPU monthly average? 12 119
UNiX Script filesystem space usage 19 73
cron job says it ran, no results 25 118
Sed question 2 83
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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…

813 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

9 Experts available now in Live!

Get 1:1 Help Now