Chapter Review Questions

     
1:

Is it possible to set the kernel parameter nproc to equal 5? If so, what would be the result after the next system reboot?

2:

You have reconfigured your kernel and rebooted your system. Unfortunately, the new kernel keeps causing your system to PANIC. You have booted from your backup kernel, and you decide to leave the kernel changes to another day. Your system is currently booted from the kernel /stand/vmunix.prev . You are wondering what will happen if you let the system run with this kernel image. Why is it important that the kernel you boot from and consequently the kernel referenced by the device file /dev/kmem be the same as the file /stand/vmunix ?

3:

Your system has been up and running for over 12 months without the need to reboot. You notice that syslog.log is now over 15MB in size . You decide that it would be a good idea to back up and then return the syslog.log file to zero bytes in size without rebooting or shutting down the syslog daemon. Comment on the following commands to perform these tasks :

 

 # tar cvf /dev/rmt/0m /var/adm/syslog/syslog.log # rm /var/adm/syslog/syslog.log # touch /var/adm/syslog/syslog.log 

4:

You have noticed a sequence of messages in the syslog.log file of the following form:

 

 Oct 29 17:48:02 hpeos003 vmunix:   LVM: vg[0]: pvnum=0 (dev_t=0x1f01f000) is POWERFAILED   Oct 29 17:48:02 hpeos003 vmunix:   SCSI: Write error -- dev: b 31 0x01f000   , errno: 126, graphics/ccc.gif resid: 10240, Oct 29 17:48:02 hpeos003 vmunix:        blkno: 2438, sectno: 4876, offset: 2496512, bcount graphics/ccc.gif : 10240. 

The disk appears to be working okay at the moment, but you suspect that there is a problem with the disk and after using STM diagnostics, you establish that there was in fact a write error logged for the disk at the time specified. What should you do next?

5:

Your system has experienced a system crash. You have looked at the crashdump INDEX file and have seen a panic string of the form:

 

 "panic: Data page fault." 

There is no tombstone file in /var/tombstones . What should you do next?



HP-UX CSE(c) Official Study Guide and Desk Reference
HP-UX CSE(c) Official Study Guide and Desk Reference
ISBN: N/A
EAN: N/A
Year: 2006
Pages: 434

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net