View Full Version : what command

11th March 2007, 04:53 PM
hi all

i have a question about server
some time my server downs..
so that am unable to access net

am using fedora 5 AMD

how to know server is down or up

i used these commands but no helps

ping fedoraforum.org
traceroute fedoraforum.org

but no helps

please help me is there any command like this to know serverdown

if any help cheers

12th March 2007, 11:09 AM
hi all

my friend advised me to visit the link
in this i found the nc command

FILE* kq;
kq=popen("nc fedoraforum.org 50", "r");
{printf("one \n");
{printf("two \n");

can i use like this to know server down and up

help me please.

thank you inadvance