HP-UX

HP-UX NFS mount

#showmount -e server -> To know the filesystem exported by that server and to whom.
#showmount -a server -> To list the clients currently mounted the exported filesystem.
mount -F nfs server:/exp_imp/exp/bdd1 /mnt/bdd1

link1 link2

By WladyX on 9 July, 2010 | General, HP-UX | A comment?

HP-UX crontab: you are not authorized to use cron

Login as root
Edit the /usr/lib/cron/cron.allow file
Add “oracle” at the end.
Logout and login as “oracle” user again.

source

By WladyX on 3 June, 2010 | HP-UX | A comment?

extendfs on /usr

Perform a shutdown -r -y 0 when you can take the system down. When the system is coming up, interrupt the boot process when indicated. You should be brought to the step where you can specify where to boot from. Just enter a bo pri, and when the system asks you to interact with ISL, enter Y. Once at the ISL prompt, you can issue a hpux -is to enter single user mode, in which you can execute your expansion of /usr.

lvextend -A y -L 20480 /dev/vg00/lvol7 && \
umount /dev/vg00/lvol7 && \
extendfs -F vxfs /dev/vg00/rlvol7 && \
mount -F vxfs -o ioerror=mwdisable,delaylog,nodatainlog,dev=40000007 /dev/vg00/lvol7 /usr

source

By WladyX on 13 May, 2010 | HP-UX | A comment?

How to find RAM size in HPUX

/usr/contrib/bin/machinfo | grep "Memory"

source

By WladyX on 28 April, 2010 | HP-UX | A comment?

How to check CPU in HP-UX from command line

#ioscan -k |grep processor |wc –l

source

By WladyX on | HP-UX | A comment?

Change hostname on HP-UX

hostname hpuxdev11
uname –S hpuxdev11
#(node name)
vi /etc/rc.config.d/netconf

HOSTNAME=”hpuxdev”
OPERATING_SYSTEM=HP-UX
LOOPBACK_ADDRESS=127.0.0.1

/sbin/init.d/net start

also it is a good ideea to change the name in /etc/hosts.

source

By WladyX on 10 March, 2010 | General, HP-UX | A comment?

Check if there is anything in the DVD Drive HP-UX

# diskinfo /dev/rdsk/c1t3d0

source

how to set the kernel parameters in hpux

E.g.:

/usr/sbin/kctune -h -B vps_ceiling=64

see also

How to mount ISO images on HP-UX, Solaris and Linux

By WladyX on 6 January, 2010 | AIX, General, HP-UX | A comment?

Configuring X11 forwarding with HP-UX

# vi /opt/ssh/etc/sshd_config
and make sure "X11Forwarding yes" is uncommented. If you made a change to this file, restart the daemon:
# /sbin/init.d/secsh stop
# /sbin/init.d/secsh start

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1092967

By WladyX on 9 December, 2009 | General, HP-UX, Ssh, X11 | A comment?