Top Most Solaris General Interview Questions
Q – 1 What is multi homed system?
Ans- A system having more than one network connection.
Q – 2 Explain the more details of vmstat output?
Ans- vmstat is tool used to check current memory utilisation status. it reports memory statistics of process,virtual memory,
disk,trap,and CPU activity. Basic synctax is vmstat interval count
option include
paging -p , cache -c ,.interrupt -i
if no option specified then it will show info. about process , memory , paging , disk ,interrupts & cpu interval- is time between 2 successive output. it will show / produce next ouput after specified time.
count- indicate how much ouput you want to see.
Q – 3 What is the difference between sc> and lom>?
Ans- SC is system console.lom is lights out manager.
If you want to go lom,press #. from sc. lom is diagnostic tool.
Q – 4 What is the difference between svm and vxvm?
Ans- Re-Sizing is not possible in SVM.
Re-Sizing is possible in VXVM
SVM is platform dependent
VXVM is platform independent
Q – 5 How to discover Global zone name from local Zone?
Ans- from local zone you can cat /etc/global-zone-name to find the gloabal zone name
Q – 6 How to set the path for core file?
Ans- # coreadm -e -f
Q – 7 How many types of file system?
Ans- There are 3 types of file system –
A] Disk based file system (pcfs, ufs, udfs, hsfc)
B] Distributed file system (nfs, autofs, cachefs)
C] Pseudo files system (virtual file system, memory based file system, swapfs, procfs, mntfs, dev, & tmpfs)
Q – 8 How to mount the FLOPPY & CD-ROM?
Ans- for CD-ROM-default mount point is /cdrom/cdrom0, ro for read only
#mount -F hsfs -o ro
example:
#mount -F hsfs -o ro /dev/dsk/c0t1d0s0 /cdrom/cdrom0
for DVD-ROM-default mount point is /cdrom/cdrom0, ro for
read only
#mount -F udf -o ro
example:
#mount -F udf -o ro /dev/dsk/c0t1d0s0 /cdrom/cdrom0
for floppy-device name is /dev/diskette0
#mount -f pcfs
example:
#mount -F pcfs /dev/diskette0 /dir1
Q – 9 In Solaris 10 nfs4 version is using ..in that any new daemons are available or not?
Ans- nfsd; statd; lockd; mountd; for server and for clients are statd; and lockd
Q – 10 What are the run levels that are used in solaris10?
Ans- single-user
multi-user
multi-user-server
network
name-services
sysconfig
devices
Q – 11 How to view shared memory statistics?
Ans- The path to see the shared memory
/usr/sbin/sysdef | grep SHMMAX
Q – 12 What is VTS?
Ans- VTS stands for Validation and Test Suite which is used to run tests on any Sun Supported hardware and hardware
components and report the health status from which the faulty devices ca be identified. In order to do this the VTS
package needs to be installed.
Q – 13 What is Difference between swap -l & swap -s?
Ans- To list a summary of the system’s virtual swap space :
# swap -s
To list the details of the system’s physical swap areas:
# swap -l
Q – 14 How to solve the system hung issue. found that the memory state is free, commands to check and solve the issue?
Ans- may be many zombie process are running or harware error, ps -el is a command to check any zombie processes are
running, if is the issue then issue preap command to kill the multiple zombie processes, if it a hardware error then
issue iostat -en command to see the hardware errors.
Q – 15 Suppose I have 20 GB free space in my file system but my inode size full. How will i increase or how will i fix this issue?
Ans- If you want to use the 20gb free space in that file system, bring the system to single user mode and then take the
entire backup of that file system . Then format the file system using newfs /dev/rdsk/c#t#d#s# after mount the file
system using mount command and restore the backup then you can use the 20gb free space.