Friday, August 16, 2013

Interview questions on HP UX 11.31i part 3

Hi Friends,

Found some good questions on HP UX 11.31interview. My greed to learn UNIX is increasing day by day.

1. How to configure autofs in HP UX.
2. What are the services which we have to start after configuring AUTOFS.
3. What are the permissions and ownership required for NFS and AUTOFS file sharing?
4. How to create NPAR i.e. first VPAR?
5. How to assign resources to VPAR?
6. What is the minimum resource required to create a NPAR?
7. What is the minimum resource required to create a VPAR?
8. What is the process to boot an NPAR
9. How to boot a VPAR from other VPAR.
10. How to change the mode of VPAR to boot into NPAR.
11. Booting a system into NPAR/VPAR mode from EFI SHELL?
12. What is the significance of EFI SHELL?
13. Do we need to reset the NPAR before creating new NPAR? what is the command to reset NPAR configuration from EFI SHELL?
14. Can we assign resources on one VPAR from other VPAR? If Yes, then how and If not then why?
15. What is VPMON?
16. What is the Software name required for installing VPAR? In which OE version that software is available (BASE OE/VSE OE/DCOE)
17. What is the use of vparenv command?
18.What does VPARSTATUS -A?
19. How to boot cell and partition from MP console?
20. What is the DB file of VPAR and what is its location and its significance?


Thanks and Love Sharing
Amit Chopra


 

Thursday, August 15, 2013

CPU and Memory Reports HP UX

Hi Friends,

To find detailed view and reports of CPU, memory, disk utilization, file system usage, application, disk io, swap etc. there is very good utility in HP UX. I did it in HP UX 11.31, not aware of other  version. need to check more on it.
EXTRACT utilty, which is making use of scopeux behind is very good extract utility. It can bring out report of more than a month. 
Reading man page of extract can help you to choose multiple option for individual CPU or other parameter. We used the global option which brings detailed report. U can extract the same data in excel sheet and choose according to your requirement. And create graphs for your monthly report. 

€ the configuration file for export is in /var/opt/perf/Parms 
€ the services which need to be restarted  are
#/opt/perf/bin/perfstat :- command to check the o/p of performance status
#/sbin/init.d/ovpa stop
# /sbin/init.d/ovpa start
The command to take out report one month is :-


#extract -xp -g -b today-30 -e today -f /tmp/reports.out --  to bring out 30 days report from current date.

#/usr/bin/uuencode /tmp/reports.out /tmp/reports.out |mailx -m -s "mem1" xyz@xyz.com

(using above command you can mail yourself the reports.out file or any attachment/file..)

would like to show how the o/p of data in graph format can be viewed in excel sheet after it is extracted on excel sheet.

CPU :-



similarly Memory, File system usage, etc reports can be taken out.


 Thanks & Love Sharing
Amit Chopra

 



 

Tuesday, August 13, 2013

We are help less


Physical wall of Germany broken but still we can see some differences.
We became independent but still we are slave with our mentality. We still need to work on it. 
Religions are free to be chosen but still we are lacking in our thoughts to accept one. 
Millions roads are built in this world but we are bounded by borders. 
Thoughts are like oceans but very less of them are positive.


......

Want to post more on it.

Regards
Amit chopra 

Monday, June 24, 2013

Dam of positive thoughts

Lets create a Dam of positive Attitüde in our selves Then Around us Then every Where. So that Life Look more beautiful than what it is. 
Love Sharing 
Amit chopra 

Saturday, June 22, 2013

Love and confidence

With the span of Time and Constant Efforts One Attiains more and more confidence. And Life Runs on confidence and Love only.