Search Results

Search: Posts Made By: mercy
29,308
Posted By mercy
time_start=`date +%s` script body ...
time_start=`date +%s`

script body

time_end=`date +%s`
time_exec=`expr $(( $time_end - $time_start ))`

echo "Execution time is $time_exec seconds"
51,830
Posted By mercy
if you want get server name you can use $...
if you want get server name you can use
$ nslookup -t=ptr server_ip
but back resolve must be correct.

If PTR doesn't set -- you cann't get correct server name

there are several methods to...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy