HP-UX

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 | 1 comment

Remove and list software in HP-UX

#swlist -> lists complete set
#swlist -l bundle -> lists all bundles
#swlist -l product -> lists all products
#swlist -l patch -> lists all patches

To uninstall software
#swremove

http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1260361356620+28353475&threadId=1343115

Porting And Archive Centre for HP-UX

Erase Varible stty erase ^H

By WladyX on 8 October, 2009 | HP-UX | A comment?

Manually change date and time on HP-UX

You have to use the below command.
date [-u] [mmddhhmm[[cc]yy]]
date -u 032912202008

mm – Month number [01-12].
dd – Day number in the month [01-31].
hh – Hour number (24-hour system) [00-23].
mm – Minute number [00-59].
cc – Century minus one [19-20].
yy – Last two digits of the year number [70-99, 00-37 (1970-1999, 2000-2037)]. If omitted, the current year is used.

IT Resource Center forums – Manually change date and time on HP-UX

By WladyX on 7 August, 2009 | HP-UX | A comment?

Time zone in HP-UX

By WladyX on | HP-UX | A comment?