Sun Solaris Command Tips
Sun Solaris Command Tips
UNIX backups/Restore
Commands to take backup of /usr /var /lib directories to tape and disk using "tar"
ANS: a) tar -cvf /dev/rmt/0 /usr /var /lib [Taking into tape ]
ANS: a) tar -cv /var /usr /lib | rsh remote_hostname dd of=/dev/rm/0 obs=128
Network
Ans : Default is 2K
What is the procket size used by network layer TCP/IP in SQL*NET v2?
Ans : Default 1K
The post wait driver reduces the overhead incurred by the more expensive use of semaphore
operation for interprocess communication.
Memory
What is the kernel parameter which controls the UNIX buffer cache on solaris ?
Ans : bufhwm ( bufhwm is the maximum amount of physical memory, in kilobytes that can be
used by
I/O buffers)
While starting an oracle process , the unix system displays an erro message like "Cannot
allocate more shared memory segment for the processes" If oracle person approaches you,
how will you fix this problem?
ANS: increase the value for kernel memory parameter "set semsys:seminfo_semmns" in
/etc/system file. [ this is a blind way]
System configurations
How do you find no. of processors installed on your sun box and processing speed?
Ans: $psrinfo –v
How do you find out how many disks are available on your system?
$ iostat –E (for users – count only the disks which has disk size correctly)
Devices
What is the meaning of logical name of a disk drive format like c0t0d0s0?
d0 - Disk number
ANS: prtconf
Sysdef
Dmesg
sysinfo