The following script you can use to check the Server uptime?
root@admin[/usr/local/apache/cgi-bin]# nano loads
#!/bin/bash
echo Content-type: text/plain
echo
echo $(hostname)
echo “=>”
echo $(uptime)
root@admin[/usr/local/apache/cgi-bin]# nano loads
#!/bin/bash
echo Content-type: text/plain
echo
echo $(hostname)
echo “=>”
echo $(uptime)
No comments:
Post a Comment