Tuesday, February 5, 2013

Interview Questions for HP UX part 2

Hi Friends,

Thanks and appreciate your visits, Woul like to share some interview questions on HP UX....

1. What do you understand about APA, i.e. Auto Port aggregation?
2. How do you create APA and what is the use of the same?
3. What is the command to check port of a running service?
4. What is the file, which is required to tell system to look into it before looking into DNS, NIS, etc.
5. How can you set the network address and gateway in HP UX ? and does this require any reboot of he system?
6. How can we set hostname of the server, and does it require any reboot of machine?
7. How can we block root user login ?
The change is to be done in /etc/opt/ssh/sshd_config
Permit rootlogin=no

# /sbin/init.d/secsh stop
#/sbin/init.d/secsh start

 Done.

8. what are the use of /etc/netconfig file, /etc/rc.config.d/netconf and /etc/rc.config.d/nddconf  files?
9. SAUTIL can be used to retrieve RAID configuration, information of controller, logical drives, RAID driver information (STATS also). and recreating controller device files.
10. A simple question, :) i.e. how we can use calculator in HP UX or any UNIX.?

# bc -l
26251*64+26251*64+2187*64+8709*32+2187*64+4374*64
4198688
4198688/1024
4100.28125000000000000000
quit
# bc -l
1745879040
1745879040
1745879040/1024/1024
1665.00000000000000000000
quit
Please add your comments and feedbacks, so that improvement and new ideas can come with your knowledge.


Love Sharing
Amit Chopra

No comments: