hp-ux

tarring find results on hp-ux

$ find /tmp/a1 /tmp/a1 /tmp/a1/b2 /tmp/a1/b1 /tmp/a1/b1/x1 simply trying find /tmp/a1 -exec tar -cvf dirall.tar {} \; simply doesn't work any help ...

Periodic Script- Daemon-

Hi i have hp-ux and i need delete a specific file every day. then I need to do a shell script or something else with a simple command for example # rm <filename> But i need add this script to init, or convert this script in daemon TO GRANT that every day at 20:00, this script run and delete the file. I guess that the above is the pro...

Alien::SVN build error on HP UX 11.23

when trying ./Build on HP-UX 11.23 to install Alien::SVN, it exits with message: checking build system type... Invalid configuration `n': machine `n' not recognized configure: error: /bin/sh build/config.sub n failed configuring SVN failed at inc/My/SVN/Builder.pm line 108, <STDIN> line 3. Something went wrong with the Subversion config...

In a unix shell, how to get yesterday's date into a variable?

Hi, I've got a shell script which does the following to store the current day's date in a variable 'dt': date "+%a %d/%m/%Y" | read dt echo ${dt} How would i go about getting yesterdays date into a variable? Basically what i'm trying to achieve is to use grep to pull all of yesterday's lines from a log file, since each line in the lo...

Core dump not in sync with gdb stack trace.

I have a program which crashes due to a segmentation fault. The core file is produced. running the core in gdb gives me the following: HP gdb 6.1 for HP Itanium (32 or 64 bit) and target HP-UX 11iv2 and 11iv3. Core was generated by `gcpf1fwcApp'. Program terminated with signal 6, Aborted. I used the command thread app...

Is there an equivalent to pldd for HP-UX PA-RISC

On Solaris and HP-UX Itanium, pldd $process_id will give the shared objects loaded for that process. AIX has procldd and Linux has pmap that have the same functionality. Is there an equivalent for HP-UX PA-RISC? If not - what approach should be taken to writing one. Use ttrace() maybe? ...