Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
- The problem statement, all variables and given/known data:
I must write a program that records the availability of computers. For the argument i have to give him a file containing a list of computers, the program should check every five minutes if they are available. If a computer is not reachable, then the program should write into the file the name of computer and the time when it was't available.
Example usage:
$ Check list_of_computers.txt
The print in the file:
io.something.si not reachable at 15:31
io.something.si not reachable at 15:36
io.something.si not available at the 15:41
verbena.something.si not reachable at 15:41
-
Relevant commands, code, scripts, algorithms:
? -
The attempts at a solution (include all code and scripts):
The command "ping" is given as a hint
Any ideas?
- Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course):
University of Ljubljana, Ljubljana, Slovenia, Janez Novak, ID63709
Note: Without school/professor/course information, you will be banned if you post here! You must complete the entire template (not just parts of it).