2
HP UX TIPS 1/2 To check what run state you system is in (from a working terminal) type: who –r This output will look something like . system boot Feb 10.07:10 2 0 S The current state of the machine is in the field immediately to the right of the time i.e third field from the right). If it is required to find out what is the interrupt character for the affected terminal is, go to a working terminal and enter the command: Stty < /dev/{device_filename_for_the_problem_terminal} To Check the version of the HP-UX operating System /usr/bin/uname –r The version must be B.10.00.00 or greater To ensure that the software ID is set. /usr/bin/uname –I If the software ID is set, a number is display. If the software ID is not set, a zero or the node name is displayed. CONFIGURING HP-UX for Peripherals. Any Pepheral device requires three steps to communicate with an HP-UX system: configure, instgall, reboot. a. Configure the device drivers into the kernel. Device drivers are like translators that speak both the language of the pepheral device and the language of the computer. b. Installt eh Hardware. Perform any hardware specific installation procedures required to physically connect the peripheral device to your computer. Then turn on the power to the periperal device and then to the computer. c. Reboot the system. As the system reboots, HP-UX automatically creates the necessary device special fiels required for the perifpheral. At least one device special file must exist for the device driver to communicate with the peripheral device. Device special files tell the system which device driver to use, how to find the peripheral device, and what characteristcs the peripheral device employs. USING SAM TO ADD PERIPHERAL DEVICES. /usr/sbin/sam For some devices, SAM also automates other necessary steps. For example, when adding a terminal to your system, SAM edits the /etc/inittab fiel to add the terminal entry. Insf is used to create device files automatically during the reboot process. If while adding a peripheral device requiring a driver is not configured automatically, device driver must be configured and device files must be created using ioscan and mksf or mknod command. Prepared By Sudhansu Dora 1

To Check What Run State You System is In

Embed Size (px)

DESCRIPTION

ste infor

Citation preview

Page 1: To Check What Run State You System is In

HP UX TIPS 1/1

To check what run state you system is in (from a working terminal) type:who –rThis output will look something like . system boot Feb 10.07:10 2 0 SThe current state of the machine is in the field immediately to the right of the

time i.e third field from the right). If it is required to find out what is the interrupt character for the affected

terminal is, go to a working terminal and enter the command:Stty < /dev/{device_filename_for_the_problem_terminal}

To Check the version of the HP-UX operating System/usr/bin/uname –rThe version must be B.10.00.00 or greater

To ensure that the software ID is set./usr/bin/uname –IIf the software ID is set, a number is display.If the software ID is not set, a zero or the node name is displayed.

CONFIGURING HP-UX for Peripherals.Any Pepheral device requires three steps to communicate with an HP-UX system: configure, instgall, reboot.a. Configure the device drivers into the kernel. Device drivers are like

translators that speak both the language of the pepheral device and the language of the computer.

b. Installt eh Hardware. Perform any hardware specific installation procedures required to physically connect the peripheral device to your computer. Then turn on the power to the periperal device and then to the computer.

c. Reboot the system. As the system reboots, HP-UX automatically creates the necessary device special fiels required for the perifpheral. At least one device special file must exist for the device driver to communicate with the peripheral device. Device special files tell the system which device driver to use, how to find the peripheral device, and what characteristcs the peripheral device employs.

USING SAM TO ADD PERIPHERAL DEVICES./usr/sbin/samFor some devices, SAM also automates other necessary steps. For example, when adding a terminal to your system, SAM edits the /etc/inittab fiel to add the terminal entry. Insf is used to create device files automatically during the reboot process. If while adding a peripheral device requiring a driver is not configured

automatically, device driver must be configured and device files must be created using ioscan and mksf or mknod command.

Prepared By Sudhansu Dora 1