Showing posts with label HP UX. Show all posts
Showing posts with label HP UX. Show all posts

Monday, July 6, 2009

Install Legato client on HP-UX 11

Download the archive onto the HP-UX server.

tar -xvf nw75sp1_hpux11_ia64.tar.gz
swinstall -s /hpux11_ia64/NetWorker.pkg

Follow the directions from the install screen.

Then, to start the program, run the startup script of /sbin/init.d/networker or /opt/networker/bin/nsrexecd

Tuesday, April 7, 2009

Take a network trace on HP UX

I needed to take a trace on an HP UX server the other day. These are the commands that I used:

nettl -tn 0x30800000 -e ns_ls_ip -tracemax 99999 -f /tmp/networkTrace

Then to kill it before it got to 99999 lines, I used the command

nettl -tf -e all

Then I analyzed /tmp/networkTrace with Wireshark.

Tuesday, March 31, 2009

Grep entire directories

To find a phrase that could be found somewhere in the current directory, use the command:

grep -r -i searchString ./

For example:

grep -r -i splunk /etc

This would search the entire /etc filesystem for any line with the word "splunk" located therein. Another way to do this would be the command:

find / -type f -print | xargs grep splunk

It works well with HP-UX and other Unixes.