Wednesday 18 May 2011

SMIT Log and Script Files



Today lets see what happens when you run SMIT tool in an AIX machine...

When SMIT is entered, in the background 2 files gets created, they are:-



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.. :)


Incoming Search Terms:
smit.log
smitty log files
smit.script
AIX smit script
AIX smit logs
smit.logs

No comments:

Post a Comment