GeekInterview.com
Series: Subject: Topic:

Solaris Admin Interview Questions

Showing Questions 1 - 20 of 210 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

List the files in current directory sorted by size

Asked By: karthikg0415 | Asked On: Apr 24th, 2013

Answered by: san on: May 3rd, 2013

du -sk

| sort -nr |head

User creation

Asked By: krishnakumar2012 | Asked On: Mar 4th, 2009

What are ways we can create users in solaris?

Answered by: karhtik on: Apr 25th, 2013

#useradd -d /export/home/shiva -m shiva then add a user account in /export/home directory... then see the status of password shiva user by using this command #logins -x -l shiva Output: shiva 100 ...

Answered by: rajinikanth on: Apr 12th, 2013

here Im using useradd -d /etc/export/home/shiva -m shiva, its creating a shiva user ok but im not able to assign the passwd that particular shiva user. Im getting error is permission denied, here Im l...

How can we find ram size in solaris server ?

Asked By: praveen | Asked On: Mar 20th, 2006

Answered by: Nimit on: Mar 22nd, 2013

You can also use given command:

prtconf | head -3 | grep Mem

Answered by: Rajendra Jadhav on: Jun 7th, 2012

Code
  1. /usr/platform/sun4u/sbin/prtdiag -v

What is the big difference between /dev/dsk and /dev/rdsk ?

Asked By: praveen | Asked On: Mar 20th, 2006

Answered by: Jamal Daken on: Mar 21st, 2013

Raw device deals with sectors the smallest units in disks which is 512 Bytes

Block device deals with blocks which are 8 K Bytes each in Solaris.

Answered by: Lokesh on: Apr 25th, 2012

/dev/dsk-block device /dev/rdsk -raw device

In /dev/rdsk if the data which is written did not used full 512bytes of a sector then for the next time we cannot use the left space.

where as /dev/dsk maintains a buffer memory from where the data is copied to disk so there is no loss of space.

Define major number and minor number ?

Asked By: chikki | Asked On: Sep 4th, 2006

Answered by: Jamal Daken on: Mar 21st, 2013

Major number specify the specific device driver for that device.

Minor number specify the specific unit for that device.

Answered by: sridhar on: Mar 27th, 2012

Major Number: major number defines the device class.

Minor Number: minor number defines the members in that device class.

What is the command to find out the nfs version in solaris?

Asked By: lakshmananit | Asked On: Dec 3rd, 2007

Answered by: srikanth on: Feb 13th, 2013

pkginfo -l nfs (pakage name)

Answered by: NagarjunaReddy on: Oct 15th, 2012

By seeing the file /etc/default/nfs
by executing the command nfsstat-m

Solaris server backup

Asked By: pradeep chakravarty | Asked On: Mar 4th, 2010

How to take backup from solaris server?

Answered by: vivek on: Dec 17th, 2012

boot -s
fsck /dev/rdks/c1t0d0s0
#ufsdump 0uf /dev/rmt/0 /dev/rdsk/c1t0d0s0
for restore
#ufsrestore /dev/rmt/0 /

Answered by: osmond on: Sep 14th, 2012

The arp command is used to manage entries in the ARP cache. To display the entries in the ARP cache, use the a option,

How do we know how many lan cards we have in server?

Asked By: kavalikasi | Asked On: Aug 11th, 2006

Answered by: Sunil Kamba Vasu on: Oct 29th, 2012

dladm show-dev
ifconfig -a (for configured LAN cards)

Answered by: Rajendra Jadhav on: Jun 7th, 2012

We can use below commands also to check how many LAN cards:
kstat -c net | grep net
/usr/platform/sun4u/sbin/prtdiag -v

Zones

Asked By: sridharunix3 | Asked On: Mar 26th, 2012

How to find out GLobal zone name from a non-global zone?

Answered by: osmond on: Sep 18th, 2012

#zoneadm -z nonglobalzonename list

Answered by: S.P.Raj on: Jun 20th, 2012


netstat -p|grep SP

or



arp -a|grep SP

What is function of arp-a and what is function of dladm show-dev?

Asked By: krishnaraghava | Asked On: Jul 15th, 2008

Answered by: osmond on: Sep 14th, 2012

The arp command is used to manage entries in the ARP cache. To display the entries in the ARP cache, use the a option.
#arp -a

Answered by: Pardeep Kumar on: Jul 12th, 2012

This command user in solaris for display all configure and not configure lan card who are connect in server.

When would you want to reconfigure the kernel and how would you do it?

Asked By: hgaurh | Asked On: Feb 20th, 2007

Answered by: Jeffd on: Aug 17th, 2012

Is Solaris the kernel is Dynamic as it is System V. We do not configure the kernel per say, we download and install a newer version. Saying that, we can modify the /etc/system file and adjust parameters like Oracle Memory, ensure tape drive device drivers get loaded, ect...

Answered by: Nabhan on: Jan 15th, 2012

Normally to have the driver support

Stop process

Asked By: krishnaraghava | Asked On: Sep 13th, 2010

How to stop & start a process in solaris?

Answered by: Rajendra Jadhav on: Jun 7th, 2012

If you want to restart process with same PID then you can use pkill -HUP >

Answered by: Nabhan on: Jan 14th, 2012

You cannot stop a process, you have to abort the process. But you can stop the services in Solaris 10 using svcadm command. A service may contain multiple processes

Work station crash

Asked By: sunsrinath | Asked On: Jun 23rd, 2010

Work station crashes suddenly, how will you retrieve data?

Answered by: Arun on: Jun 5th, 2012

We cannot retrieve the data from crash. but we can analyze what made server or workstation crash provided the crash dumps should be enabled. we can send it oracle for review.Data can be retrieved if there is backup enabled

Answered by: vivekmathur on: Mar 13th, 2012

we can check the crash dump file. in /var/crash/hostname.xx0 ,or by dumpadm command we can find the path of crash file.

How will you add a virtual ip address to a server. Given the interface qe0 and ip 10.10.1.150?

Asked By: sridhar_madadi | Asked On: Sep 23rd, 2005

# ifconfig qe0:1 plumb# ifconfig qe0:1 10.10.1.150 up

Answered by: ramanan on: May 24th, 2012

ifconfig qe0:1 10.10.1.150 netmask 255.255.255.0 broadcast + up

Answered by: srujan on: Dec 25th, 2011

USE CMD ifconfig qe0 addiff 10.10.1.150 up

Solaris boot disk

Asked By: sgravi05 | Asked On: Sep 29th, 2008

How do you determining current booted disk in Sun solaris os?

Answered by: Lokesh on: Apr 25th, 2012

prtconf -vp|grep -i boot ----gives last booted device

who -b -------last booted time

eeprom boot-device----------gives boot device

Answered by: Abdul Shameer on: Jun 24th, 2011

df -h

In the /etc/default/login file, which of the following will not allow you to login remotely as root?

Asked By: Interview Candidate | Asked On: Jun 7th, 2005

Console=

Answered by: Navneet on: Mar 28th, 2012

#vi /etc/default/login
# CONSOLE=/dev/console (Only root can login)

CONSOLE=/dev/console (normal user can login and after that can do switch as root but directly root cant login from remote)

Answered by: encore on: Mar 10th, 2010

open, #vi /etc/default/profile

go to 18th line, and comment the line CONSOLE=/dev/console to: #CONSOLE=/dev/console

Now you can do telnet to remote pc as Root admin

How can I disable stop+a utility on Sun machines, which brings system into ok> prompt?

Asked By: Chaitu | Asked On: Jul 8th, 2006

Answered by: Navneet on: Mar 28th, 2012

Two way can do
1)#kbd -a (for enable|disable)
or
2)#Vi /etc/default/kbd
KEYBOARD_ABORT=disable

Answered by: anupam_vats on: Mar 25th, 2010

For temprary basis type command disable stop+Akbd -a disable
For permanent basis vi/etc/default/kb and edit keyboard_abort diable

Regards
Anupam
CMS Info Gurgaon

Change hostname

Asked By: frenchbrochier | Asked On: Jan 26th, 2011

How to change hostname on solaris 10?

Answered by: sridh on: Mar 27th, 2012

If we want change the host name permanently we have to change the entry in 3 files. Before changing 3 files first type the following command #hostname ----- here new host name is now we assign the nam...

Answered by: vivekmathur on: Mar 13th, 2012

for temp: #hostname
for permanent change :
entry in the following files:
cat /etc/nodename
cat /etc/hosts
cat /etc/inet/ipnodes
cat /etc/hostname.xxx0

Creating volumes

Asked By: dflaxmer | Asked On: May 14th, 2009

Explain how will you create extra volumes?

Answered by: vivekmathur on: Mar 13th, 2012

we can create the extra volume by the soft partition methods like: metainit d701 -p d70 metainit d702 -p d70 after that format newfs /dev/md/rdsk/d701 newfs /dev/md/rdsk/c702 make entry in vfstab ...

Answered by: Vasu Rao on: Feb 2nd, 2012

metadb -a creates state database replicas (you can also create then using The Solaris Volume Manager software GUI) The syntax of the command is: metadb -a [-f] [-c n] [-l nnnn] disk_slice metainit ...

What type of names are used for administering disk drives in solaris environment

Asked By: krishnaraghava | Asked On: Jun 12th, 2008

Answered by: satish51392111 on: Mar 12th, 2012

There are 3 types of device names: 1. Logical device names: Present in /dev and are soft links to physical device names in /devices. Used in command line (i.e., while...

Answered by: Vasu Rao on: Feb 2nd, 2012

c#t#d#s#
1.c# Controller number
2.t# Target number -- actually disk number
3.d# Disk number -- always d0 for SCSI disks.
4.s# Slice number

First | Prev | | Next | Last Page

 

 

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.