Solaris interview questions and answers

Solaris interview questions and answers
1. Display the page size of memory ? - pagesize -a
2. Display Ethernet Address arp table ? - arp -a
3. Display the no.of active established connections to localhost ? - netstat -a | grep EST
4. Display the state of interfaces used for TCP/IP traffice ? - netstat -i
5. Display the parent/child tree of a process ? - ptree Example: ptree 1267
6. Show the working directory of a process ? - pwdx Example: pwdx 1267
7. Display the processes current open files ? - pfiles Example: pfiles 1267
8. Display the inter-process communication facility status ? - ipcs
9. Display the top most process utilizing most CPU ? - top –b 1
10. Alternative for top command ? - prstat -a

No comments: