1. •$HOME/smit.log
2. •$HOME/smit.script
Now lets see what these files actually are...
The session records of SMIT are performed by two files namely smit.log and smit.script.
$HOME/smit.log : smit.log contains a record of every SMIT screen visited, AIX commands executed and the output of those commands.
smit.log can be used for monitoring the system level changes
smit.log has the date and time when the smit started. One important thing about smit.log is that these files needs to be cleaned as and when they are about to grow large. smit.log is a real helpful resource for monitoring the AIX servers.
$HOME/smit.script: smit.script file contains the AIX commands executed by SMIT. One important use of smit.script is the duplication of several tasks across several systems. smit.script file is written in korn shell. The smit.script can be easily copied to other system and can be executed without writing any additional code in that machine. For example, if you run a command smit install, this command and output will be stored in the default file /smit.script, whereas the logs will be written to /smit.log file
Hope this page was informative.. :)
2. •$HOME/smit.script
Now lets see what these files actually are...
The session records of SMIT are performed by two files namely smit.log and smit.script.
$HOME/smit.log : smit.log contains a record of every SMIT screen visited, AIX commands executed and the output of those commands.
smit.log can be used for monitoring the system level changes
smit.log has the date and time when the smit started. One important thing about smit.log is that these files needs to be cleaned as and when they are about to grow large. smit.log is a real helpful resource for monitoring the AIX servers.
$HOME/smit.script: smit.script file contains the AIX commands executed by SMIT. One important use of smit.script is the duplication of several tasks across several systems. smit.script file is written in korn shell. The smit.script can be easily copied to other system and can be executed without writing any additional code in that machine. For example, if you run a command smit install, this command and output will be stored in the default file /smit.script, whereas the logs will be written to /smit.log file
Hope this page was informative.. :)