Berikut ini beberapa command yang bisa jadi acuan di Solaris. Mencakup backup, network, memory, device dan sebagainya.
Commands to take backup of /usr /var /lib directories to tape and disk using “tar”
b) tar -cvf backup_file.tar /usr /var /lib [ Taking disk image]</blockquote>
Taking backup to a tape device attached to a remote system
b) ufsdump 0ucf remote_hostname:/dev/rmt/0 /file_system</blockquote>
Extracting / Restore the contents of a tape /tar file
b) tar -xvf filename.tar [ Restore contents of a tar file ]
c) ufsrestore f /dev/rmt/0 filename [Restore from ufsdump tape backup]
d) ufsrestore rf remote_hostname:/dev/rmt/0 filename [ Restore from remote host tape device ]</blockquote>
List contents of backup
b) tar -tvf filename.tar [ List contents of a tar file ]
c) ufsrestore tf /dev/rmt/0 [ list contents of a tape of ufsdump]</blockquote>
Processes and Processor
What are the types of priority classes supported by Solaris ?
How will you place a running process in real time class?
How will you start a process in real time class?
How will you bind a process to processor ?
What is the pocket size used by SQL*NET Version 2 on Solaris
What is the procket size used by network layer TCP/IP in SQL*NET v2?
Inter process communication (IPC) tuning
What is post wait driver ?
The post wait driver reduces the overhead incurred by the more expensive use of semaphore operation for interprocess communication.
What is the kernel parameter which controls the UNIX buffer cache on solaris ?
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?
How do you find out total RAM installed on your machine
How do you find no. of processors installed on your sun box and processing speed?
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)</blockquote>
System Boot Options
How do you boot sun box in single user mode?
What are the commands to shutdown the system?
What is the meaning of logical name of a disk drive format like c0t0d0s0?
t0 - SCSI bus target number
d0 - Disk number
s0 - Partition or slice number</blockquote>
List some of the main device types?
/dev/rdsk - Raw or character devices
/dev/rmt - Tape devices
/dev/term - Serial line devices
/dev/pts - Pseudo terminals</blockquote>
List commands to display physical devices ?