HP-UX

From Mesopoly 3.0
Revision as of 10:55, 28 August 2006 by Zlatko (talk | contribs)
Jump to navigation Jump to search

links

tips and notes

shell

  • to redirect Standard Error to a file use ...
'2>' 

.. instead of usuall

'>' 

VI commands

'I' - insert at ther begginig of the line
'3,404w file.txt' write lines 3 to 404 to file.txt
':m n'  move current line to after line n
':t n'  copy current line to after line n

kernel reconfiguration

    1. sysdef - shows tunable kernel parameters (sysctl -a on linux)
  • /stand/build/system is kernel konfiguration file
    • kmtune -S /stand/build/system - queries system parameters
    • kmtune -S /stand/build/system -s maxusers=30 - sample setting value of a parameter

to test yet

  • cut
  • tee - sends output of pipe to additional place (file as well as stout f.e.)