Posts Tagged HP-UX
Check powerpath links in HP-UX
Posted by Lincoln Zuljewic Silva in HP-UX on December 22nd, 2009
To check if the powerpath links are up in HP-UX, you can use the following command:
| powermt display dev=all |
Lock an user account in HP-UX
Posted by Lincoln Zuljewic Silva in HP-UX on September 24th, 2009
To lock an user account in HP-UX, you can use the following command:
| /usr/lbin/modprpw -m alock=YES USER |
Merge many depots
Posted by Lincoln Zuljewic Silva in HP-UX on August 25th, 2009
When you have many depot files, you can create a single big depot and install it instead of install one by one.
Let’s assume that you need install the following depots, and they are all located in the directory /tmp/install/depots:
| autoconf-2.64-hppa-11.11.depot bison-2.4.1-hppa-11.11.depot gawk-3.1.7-hppa-11.11.depot sed-4.2.1-hppa-11.11.depot tcltk-8.5.7-hppa-11.11.depot texinfo-4.13-hppa-11.11.depot zip-3.0-hppa-11.11.depot |
To create a single depot, run the follow commands:
| cd /tmp/install/ for i in `ls depots/*.depot` ;do swcopy -s /tmp/install/$i \* @/tmp/install/big;done |
Now, to install it, you can use:
| swinstall -s /tmp/install/big |
Listing installed packages in HP-UX
Posted by Lincoln Zuljewic Silva in HP-UX on May 13th, 2009
To list all installed packages on HP-UX, you can use the following command:
|
swlist -l |
