OBP(Open Boot PROM) commands are set of commands issued at commnd-line interface when system starts. Also referred to as OBP commands that determine the system statistics, hardware configration and many more internal details about the system.
The command-line interface is called as FROTH which will normally be as given below:
This prompt is also called as boot prompt. When we want to boot the system,we can issue :
If we want to boot from OS media we can use:
ok> boot disk
The system diagnostic information can be obtained by issuing :
Command used to set values to various variables(environment variables) when the system enters run levels is:
$env – lists the variable values
To modify variable values we use:
ok>setenv – sets the value of the variables
ok>unsetenv – unsets the value
How can you make use of Solaris Facebook Group from oracle to learn oracle solaris?
Oracle Solaris Facebook Group is an interesting group that publishes up-to-date information on Oracle Database, Solaris OS. When I tracked the links in this group I found that it is directly published from Oracle Websites.
If you are interested in Learning more on up-to-date events relating to Oracle and Solaris it is a good knowledge base. As per a recent interview by Larry Elson, Oracle CEO it clearly appears that Oracle is slowly becoming a system company rather than a database company. A system is meant to cover all aspects of an orgaization including infrastructure, development, accounting etc to name a few
This uptodate interesting news on Oracle and Solaris is a boon for oracle fanatic. Become a member of this Oracle Solaris Certified Professional Facebook Group today
Solaris Studio Compiler Tools from oracle:
Ever since Oracle Corporation acquired Sun Microsystems it has been continuously renaming Oracle products and selling it under their new brand name. Sun Studio compiler has been rebranded as Oracle Solaris Studio Compiler and its associated tools. This tool set is available for download from Oracle website. Try it today.
In Solaris Using Volume Manager To automatically mount a CD-ROM can be performed as follows :
1) Insert a CD-ROM into the CD-ROM player
2) Type the mount command without options to verify that the device was mounted. Note the mount point that was used
3) Eject the CD-ROM as follows :
# eject cdrom
4) Use the pgrep command to look for the volume manager process. The volume manager process is vold.
# pgrep -l vold
5) Turn off the volume manager by typing the following command :
# /etc/init.d/volmgt stop
6) Look for volume management process using pgrep command as follows :
# pgrep -l vold
7) Insert the CD into the CD-ROM player.
8) Restart the volume manager daemon by issuing the following command :
# /etc/init.d/volmgt start
9) To get the list of mounted file systems issue the mount command without any options
In sun solaris Allow/disallow access (file permissions) is based on the UNIX permission that we grant to files and directories.Let us consider a user dummy1
1) Login as user dummy1
2) Determine the current umask value by issuing the umask command :
If the umask is not 002, change it by entering the following
$ umask 002
3) In the home directory create a file called file123
$ cd $HOME
$ touch file123
4) To get information on the default permission of file file123, use the ls -l command :
$ ls -l
5) Now set umask to 022
$ umask 022
6) Create a new file and look at the default permission value :
$ touch newfile
$ ls -l
7) Now create a new user called as dummy2 :
# useradd -u 2003 -g 23 -d /export/home/dummy2 -m -s /bin/ksh -c “dummy” dummy2
In solaris tuning the file system involves the following steps
File system is created with newfs command.
1) Log in as normal user and perform an su to become root user/super user. It’s a security measure practised in many companies. SOX (Sarbanes Oxley) standard recommends this practice.
2) List all the parameters currently in use on the file system using the newfs command with -v option.
# newfs -v raw-device-name
3) Open another window. Use the information obtained in step 2. In the new window type the tunefs command. Use tht tunefs command with -m option to change the minfree value to 5%.
# tunefs -m3 raw-device-name – changes the minfree values of file system to 5%
4) Verify the new file-system parameters using the mkfs command
# mkfs -m raw-device-name
The list of values displayed are compared against parameters displayed in the other window.
5) View the file system parameters using fstyp command as follows :
# fstyp -v raw-device-name
We can download iso images, burn in CD and begin installation. alternatively, we can use ubuntu installer for windows to download the binary and install it in windows 7. I’ve installed previous version of ubuntu which took about 15 minutes. This version has plenty of new features included in it and took some more time.We can reboot the system manually or automatically once the installation is done.
Linux Mutt Email Command Package :
Mutt the email client program in ubuntu linux is a good alternative and best replacement for mail as it doesn’t need encoding of attachments. Mutt command needs mutt package to be installed. If not we’ll get the following error:
The program ‘mutt’ can be found in the following packages:
Try: apt-get install
root@ubuntu:/proc# apt-get install mutt
Reading package lists… Done
Building dependency tree… 1%
Need to get 2,515kB of archives.
After this operation, 9,376kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/main mutt 1.5.20-7ubuntu1 [1,194kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid/main postfix 2.7.0-1 [1,321kB]
Fetched 2,515kB in 4s (566kB/s)
Ubuntu Linux CPU Information:
In linux it is mandatory to determine system details including the architecture, CPU. If the documentation is not available (as is the case with most organizations) it is mandatory to have an idea of file structure and directories relevant to different tasks. For example /etc will include files on system information, user information. In same fashion /proc is another interesting directory that has files on system information. To find information on CPU os the system get the details from /proc/cpuinfo. We can make use of cat or more command to read the details of the file
root@ubuntu:~# more /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 23
model name : Pentium(R) Dual-Core CPU T4400 @ 2.20GHz
stepping : 10
cpu MHz : 2194.500
cache size : 1024 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat
pse36 clflush dts acpi mmx fxsr sse sse2 ss nx constant_tsc up arch_perfmon pebs
bts xtopology tsc_reliable aperfmperf pni ssse3 hypervisor
bogomips : 4389.00
clflush size : 64
root@ubuntu:~# cat /proc/cpuinfo
cpu family: 6
model name: Pentium(R) Dual-Core CPU T4400 @ 2.20GHz
cpu MHz: 2194.500
cache size: 1024 KB
cpuid level: 13
flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss nx constant_tsc up arch_perfmon pebs bts xtopology tsc_reliable aperfmperf pni ssse3 hypervisor
clflush size: 64
address sizes: 40 bits physical, 48 bits virtual
I recently installed ubuntu 10.04 LTS Linux which is the long term support Linux, the recent stable version released this April,2010. I started exploring few interesting features od ubuntu Linux.
Ubuntu Linux has an interesting reader named orca, which supports people with low vision, visually impaired. It has braille support. It helps us access standard Desktop applications using speech and braille output.
Orca is also a screen magnifier that has automated focus tracking, full-screen magnification and many such useful features.
When Orca is run for the first time it is in setup mode. This is same as ubuntu linux entering automatic configuration mode first time it is booted after installation/upgrade.We can proceed with command-line or we can invoke orca GUI.
To invoke orka GUI press Insert+Space. These tools will invoke ~/.orca/user-settings.py file which holds preferences and accessibility infrastructure. Once settings are set, logout and log back for configurations to take effect.
In terminal window orca command will invoke the orca reader and magnifier.