In HP-UX 11i v3, when you issue smh (new sam command), it will bring you the new firefox smh browser.
If you wish to use back the old terminal sam, issue the command below.
#unset DISPLAY ; /usr/sbin/smh
Note that this will not change permanently.
Custom Search
Showing posts with label System Administration. Show all posts
Showing posts with label System Administration. Show all posts
Wednesday, February 18, 2009
Saturday, February 14, 2009
How to install .depot files
For example, you want to install software.depot file
In root, issue the command
#swinstall -s /tmp/software.depot
Make sure you define the full path working directory where the file is.
In root, issue the command
#swinstall -s /tmp/software.depot
Make sure you define the full path working directory where the file is.
Checking the World Wide Name (WWN) on HP-UX
Assuming that you have a HBA (Fiber Channel) Card installed on your server.
Issue the command ioscan -nfC FC
Get the device path for the desire FC.
e.g. /dev/fcd0
Issue the command
#fcmsutil /dev/fcd0
Look for the line below.
N_Port Port WWN:
That will be your WWN for that fiber port. Good luck!
Issue the command ioscan -nfC FC
Get the device path for the desire FC.
e.g. /dev/fcd0
Issue the command
#fcmsutil /dev/fcd0
Look for the line below.
N_Port Port WWN:
That will be your WWN for that fiber port. Good luck!
Recall command history on HP-UX
To recall the commands that you have issued in HP-UX, change the shell to korn shell.
#ksh -o vi
Press ESC and K on the keyboard.
#ksh -o vi
Press ESC and K on the keyboard.
Wednesday, February 4, 2009
ioscan
To view a list of peripherals on the server, issue the command...
The next time you want to view it again, you can use the -k option for cache so that you don't have to wait for it to scan the entire system again.
For example...
ioscan -knfC disk
- For HDD
ioscan -nfC disk - For tape drive
ioscan -nfC tape - For LAN - Ethernet Card
ioscan -nfC LAN - For FC - Fiber Channel
ioscan -nfC FC
The next time you want to view it again, you can use the -k option for cache so that you don't have to wait for it to scan the entire system again.
For example...
ioscan -knfC disk
Subscribe to:
Comments (Atom)