Latest Solaris Admin Interview Preparation Guide Download PDF
Solaris Admin Interview Questions and Answers will guide us now that Solaris is known for its scalability, especially on SPARC systems, and for originating many innovative features such as DTrace and ZFS. Solaris supports SPARC-based and x86-based workstations and servers from Sun and other vendors, with efforts underway to port to additional platforms. So learn Solaris Admin concepts by Solaris Admin Interview Questions and Answers guide
40 Solaris Admin Questions and Answers:
Table of Contents:
1 :: Alternative for top command?
- prstat -a
4 :: Display the processes current open files?
- pfiles Example: pfiles 1267
5 :: Show the working directory of a process?
- pwdx Example: pwdx 1267
6 :: Display the parent/child tree of a process?
- ptree Example: ptree 1267
8 :: Display the no.of active established connections to localhost?
- netstat -a | grep EST
10 :: Display the page size of memory?
- pagesize -a
11 :: Access common commands quicker?
- ps -ef | grep -i $@
12 :: How to create null file?
- cat /dev/null > filename1
14 :: Display top ten largest files/directories?
- du -sk * | sort -nr | head
16 :: How do you find out drive statistics?
- iostat -E
17 :: How to know the date and time for . when script is executed ?
- Add the following script line in shell script.eval echo “Script is executed at `date`” >> timeinfo.infHere, .timeinfo.inf. contains date & time details ie., when script is executed and history related to execution.
18 :: How to save man pages to a file ?
- man | col .b > Example : man top | col .b > top_help.txt
19 :: Display the files in the directory by file size ?
- ls .ltr | sort .nr .k 5
20 :: List some Hot Keys for bash shell ?
- Ctrl+l . Clears the Screen. Ctrl+r . Does a search in previously given commands in shell. Ctrl+u - Clears the typing before the hotkey. Ctrl+a . Places cursor at the beginning of the command at shell. Ctrl+e . Places cursor at the end of the command at shell. Ctrl+d . Kills the shell. Ctrl+z . Places the currently running process into background.
21 :: Display the processes, which are running under your username ?
- ps .aef | grep MaheshvjHere, Maheshvj is the username.
22 :: Set the Display automatically for the current new user ?
- export DISPLAY=`eval ‘who am i | cut -d”(” -f2 | cut -d”)” -f1′`Here in above command, see single quote, double quote, grave ascent is used. Observe carefully.
23 :: Display the all files recursively with path under current directory ?
- find . -depth -print
24 :: Explain about Solaris?
Solaris is a UNIX based operating system which is available for free. It supports workstations and servers from sun. It is widely recognized for its scalability. This product is almost supported by many server vendors. It is the famous successor to sun operating systems.
25 :: Explain the interoperability features of Solaris?
Solaris UNIX version runs on intel, AMD and SPARC platforms. It has migrated from solely a SPARC platform to include other platforms from leading companies. It provides interoperability across various technologies such as developer products, desktop applications, data center, etc.