Close this window and log in. Join Us Close. Join Tek-Tips Forums! Join Us! By joining you are opting in to receive e-mail. Promoting, selling, recruiting, coursework and thesis posting is forbidden. Students Click Here. AIXers, I believed that everytime you do smitty it creates a smit. Note that while any user can run the SMIT executable, many of the AIX commands it runs to perform the tasks requested of it do require root or other restricted privileges.
If a non-authorized user attempts to complete one of these tasks, the task fails. The smit. Monitoring smit. That log file will not have any indication of changes made by running system commands directly, however. The file is written in Korn shell syntax, so it can be executed as is ; doing so repeats all of the tasks originally done through SMIT.
One common use of the smit. If SMIT is used to make all of the changes to one system, the smit. An example using a SMIT script. Imagine a situation in which you need to add a four gigabyte file system on ten, or one hundred, AIX systems.
You could do this manually, though your hands would probably be tired at the end, and repetitive typing increases the chance of an error. You could put together the proper command, with all of the arguments and flags, and then run that on each system. Or, you could let SMIT write that command for you.
Then, copy the script that SMIT writes to the other systems, and run it to create the file systems there. By specifying the fast path crjfs2std , you jump directly to the Add an Enhanced Journaled File System dialog screen.
Before that screen shown in Listing 6 is displayed, you will be required to choose a Volume Group in which to create the new file system. Listing 6. Listing 7. All that remains is to copy the above script to each of the remaining AIX systems, and to run it. There are numerous methods in which to do this. The simplest though insecure way to do this would be to loop through the systems, 'rcp'ing the script, and then use rsh to execute it see Listing 8.
Anonymous October 13, 0 Comments. Thank you. Anonymous Posted October 13, 0 Comments. Cheers, Bart. Mehdi Salehi Posted October 14, 0 Comments. Register or Login. Welcome back! Reset Your Password We'll send an email with a link to reset your password. How to find a existing file location and directory location in Solaris box?
Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box 1 Reply.
File created in a different location instead of desired location on using crontab. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on Log Location. Hi, I would like to find out where the system will display the server was shutdown due to power fluctuation. I have check the command errpt and alog -o -t boot more but not getting the requred information. Virtualization and Cloud Computing. HPVM log file location and a sample.
And if possible a log file with important events in it? Shell Script for Copy files from one location to another location.
0コメント