HP UNIX Tips

How do you tell if a system is in trusted mode or not?

/usr/lbin/getprdef -r


swinstall not finding target:-
swinstall needs to be able to do a reverse lookup of the hostname. If DNS is not
resolving properly try to rename /etc/resolv.conf and ensure that /etc/hosts has a
fully qualified domain name. If this still does not work try to restart swagentd:
# /sbin/init.d/swagentd stop
# /sbin/init.d/swagentd start
If you have had to break the install part way through you may need to remove the
file in /var/adm/sw/products/swlock.

How to Check filesystem type and block size details:-
Use fstyp command to find file system type and block size details
Example:-
#fstyp -v /dev/vg00/lvol6
vxfs
version: 5
f_bsize: 8192
f_frsize: 8192
f_blocks: 643072
f_bfree: 319115
f_bavail: 316622
f_files: 87744
f_ffree: 79776
f_favail: 79776
f_fsid: 1073741830
f_basetype: vxfs
f_namemax: 254
f_magic: a501
fcf5f_featurebits: 0
f_flag: 16
f_fsindex: 9
f_size: 643072

How to kill process accessing particular filesystem:-

#fuser -uck /filesystem

Post a Comment

0 Comments