I am looking to create a script in which I can pull the following information from a server and save it to a text file on the machine.
1. Machine Name:
2. Number of CPU's
3. Version of Oracle running on each machine.
Now the Oracle Version can be gotten by running Sqlplus -v from a command prompt.
I am at a loss on the others.
In order to get full points please provide a fully functional script that can pull items 1 - 3 and save them in a text file on the workstation.