시작 스크립트 및 종료 스크립트를 포함하여 설치 시작 시간 및 종료 시간을 추적할 수 있습니다. 다음 예를 참조하십시오.
# more begin-with-date #!/bin/sh # echo echo "Noting time that installation began in /tmp/install-begin-time" echo "Install begin time: `date`" > /tmp/install-begin-time echo cat /tmp/install-begin-time echo # |
# more finish*with*date #!/bin/sh # cp /tmp/install-begin-time /a/var/tmp echo echo "Noting time that installation finished in /a/var/tmp/install-finish-time" echo "Install finish time: `date`" > /a/var/tmp/install-finish-time echo cat /a/var/tmp/install-finish-time # |
시작 및 종료 시간은 finish.log 파일에 기록됩니다.