Please see this


Contents

- INDEX
- Other Index
- HP-UX
- Solaris
- Linux Index
- General Unix
- Unix Networking
- Unix Scripts
- Unix databases

Associated Information

- none

Useful Links

- Irix Online Manuals
- SGI FAQ
- SGI Users Groups
- SGI freeware
- Unix Guru Universe web site
- Unixtools web site

IRIX Notes

  • nvram - change or display non-volatile RAM variables

    e.g.nvram to display all settings, nvram Autoload Y to change autoload parameter

  • xlv_mgr - manage and display XLV volumes, can be used in interactive mode, e.g.

    • xlv_mgr - takes you into interactive mode
    • xlv_mgr> show all - displays current set up
    • xlv_mgr> show object db1 - shows volume db1 details
    • xlv_mgr> delete object db1 - deletes volume db1

  • /etc/default/login - Controls direct root access. To change, uncomment CONSOLE and define where allowed to login straight as root

  • hinv - gives information about disks with SCSI ID and controller number

  • prtvtoc - disk details (what is on the disk)

    e.g. prtvtoc dkssndcnvh where sn is the SCSI ID and cn is the controller number as shown in hinv

    Gives type i.e. xfs - logical volume (if no mount directory it isn't mounted!), raw - raw partition; volhdr header; volume whole volume; start address and size

  • swap -l - gives swap details. Part of this is the major and minor numbers. From this by doing ls -l /dev/dsk/dksndns* can tell where swap is allocated to

  • sysinfo - gives serial number for some servers (otherwise on back of box!)

  • osview - performance monitoring tool (GUI version called gr_osview)

Networking

  • /etc/hosts - hosts/IP addresses
  • /etc/sys_id - hostname of server
  • /etc/config/netif.options - network card parameters . If these options are changed should execute /etc/autoconfig and reboot
  • /etc/config/ifconfig-1.options - controls netmask and settings used by ifconfig at startup (network scripts are /etc/init.d/network and /etc/init.d/network.local)
  • netstat -r - check router statements
  • ifconfig interface - check interface card up and configured
  • netstat -ina - check interface name

Assigning more IP addresses to a network card

  1. Edit /etc/config/ipaliases.option adding entries as required (network card name can be found from netstat -r, netmask and IP info from ifconfig)

  2. run chkconfig - if ipaliases not shown do chkconfig -f iplaliases on

  3. run /etc/init.d/aliases_ip

  4. check with ifconfig

Xwindow Security

  • xhost - controls which displays can be brought up on which workstations. By itself with no options it displays current settings
  • xhost hostname - allow displays from hostname to come up on current workstation
  • xhost - hostname - remove permission

Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries