Difference between revisions of "HP-UX"
Jump to navigation
Jump to search
m |
|||
| Line 16: | Line 16: | ||
':t n' copy current line to after line n | ':t n' copy current line to after line n | ||
====kernel reconfiguration==== | ====kernel reconfiguration==== | ||
| − | * | + | *'cd /stand/build' |
| − | + | */usr/lbin/sysadm/system_prep -s system - creates '/stand/build/system' as configuration file with parameters taken from running system | |
** kmtune -S /stand/build/system - queries system parameters | ** kmtune -S /stand/build/system - queries system parameters | ||
** kmtune -S /stand/build/system -s maxusers=30 - sample setting value of a parameter | ** kmtune -S /stand/build/system -s maxusers=30 - sample setting value of a parameter | ||
** kmsystem -S /stand/build/system -q ps2 - queries 'system' for the status of 'ps2' value | ** kmsystem -S /stand/build/system -q ps2 - queries 'system' for the status of 'ps2' value | ||
** kmsystem -S /stand/build/system -c Y ps2 - changes value of ps2 to Yes | ** kmsystem -S /stand/build/system -c Y ps2 - changes value of ps2 to Yes | ||
| + | ** kmadmin | ||
*mk_kernel -s ./system - builds new kernel using 'system' as configuration file | *mk_kernel -s ./system - builds new kernel using 'system' as configuration file | ||
==to test yet== | ==to test yet== | ||
*cut | *cut | ||
*tee - sends output of pipe to additional place (file as well as stout f.e.) | *tee - sends output of pipe to additional place (file as well as stout f.e.) | ||
Revision as of 11:15, 28 August 2006
Contents
links
- HPUX reference
- HP-UX faq
- UnixGuide compare various Unixes
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
- 'cd /stand/build'
- /usr/lbin/sysadm/system_prep -s system - creates '/stand/build/system' as configuration file with parameters taken from running system
- kmtune -S /stand/build/system - queries system parameters
- kmtune -S /stand/build/system -s maxusers=30 - sample setting value of a parameter
- kmsystem -S /stand/build/system -q ps2 - queries 'system' for the status of 'ps2' value
- kmsystem -S /stand/build/system -c Y ps2 - changes value of ps2 to Yes
- kmadmin
- mk_kernel -s ./system - builds new kernel using 'system' as configuration file
to test yet
- cut
- tee - sends output of pipe to additional place (file as well as stout f.e.)