Thursday, March 31, 2011

Tuesday, March 8, 2011

HP-UX Overview and Command Summary - page 12

Users AdministrationCreating Userssam --> user and group accounts useradd -g users -d Username Creating Groups sam --> user and group accounts groupadd GroupnameUseful Commands Command Description or \ autocompletion file * Show file types, such as "ascii". find -name -print Finds a file in the OS at the starting path on down grep...

HP-UX Overview and Command Summary - page 11

Starting an X-Window application from telnet start an X-Window server on the PC, such as exceed export DISPLAY=W.X.Y.Z:0.0     <---W.X.Y.Z is the IP Address of the PC /opt/ignite/bin/ignite                          <---Now just...

HP-UX Overview and Command Summary - page 10

Command Script to print useful information to a file called info echo "sel path system; info; wait; infolog >view >done >"lcstm>info #cat info print_manifest  (located in /var/opt/ignite/local/manifest/manifestinfo ??) Command Script to print useful information cstm cstm>Map cstm>SelAll cstm>Information cstm>Infolog cstm>exit Command Script to...

HP-UX Overview and Command Summary - page 9

Changing the Server Name and the IP AddressUsing set_parms  --> may not work correctly for multiple nics set_parms hostname  ( a reboot is required for the change to take effect) It will prompt you for the new hostname It will prompt you to reboot (answer no if you are also changing the ip address) set_parms ip_address   ( a reboot...

HP-UX Overview and Command Summary - page 8

System InformationNote:  See section on STM, detailed system information is available with this utility            Also SAM -->Performance Monitors --> System Properties OS Information uname -a - display general information e.g. OS release, node name, machine ID number, etc  print $(uname -i)16op|dc  hex system id /opt/itor/bin/i4target...

HP-UX Overview and Command Summary - page 7

Listing all Software swlist -l product | more Checking for Specific Software swlist -l product | grep Checking for Specific Patches swlist -l product| grep PH | more then search for a specific patch (ie PHNE_XXXXX) Manually applying patches Patches can be applied using swinstall, just as depots are installedswlist -l patch -a patch_state PHKL_25475 swcopy -s /tmp/*.depot...

HP-UX Overview and Command Summary - page 6

Remote Accessrcp remote_machine: remsh rlogin .rhosts file needs to be configured or else you will be prompted for username and password (located in home directory) last -R  - gives address information of last remote login, useful for troubleshootingSoftware Installation and ManagementTo install patches and software use: swinstall  -->  This will...