Questions tagged [hp-ux]

HP-UX (Hewlett-Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on UNIX System V (initially System III) and first released in 1984.

HP-UX (Hewlett-Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on UNIX System V (initially System III) and first released in 1984.

Resources

368 questions
1
vote
1 answer

Sometimes, LD_PRELOAD in HPUX and Solaris cannot take effect

I get some problem about LD_PRELOAD. When I use LD_PRELOAD in HPUX and Solaris, I found that I cannot attach my open64/open/creat64/creat function in /usr/bin/touch, but my unlink can take effect in /usr/bin/rm, why? I have do a simple test: int…
littletiny
  • 11
  • 3
1
vote
2 answers

How to extract version from tnsping output in AIX, SunOS, Linux and HP-UX

I want to fetch 10.2.0.4.0 from tnsping output in AIX, so I wrote tnsping tucson | grep Version | awk '{print $9}', but sometimes in other platforms like Linux the column varies, so I cannot use {print $9} everywhere. Is there a way such that The…
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
1
vote
1 answer

rsync command is not working when executing from remote ssh

rsync command is not working when executing it from a remote host. Jenkins node tries to execute few commands on a remote server, but when running the rsync command I am getting below error sh: rsync: not found. The rsync command works successfully…
1
vote
3 answers

Find files modified within one hour in HP-UX

I'm searching through the manual page for find I can't see a way to run a command which will find all files modified within an hour. I can see only a way to do it for days.
Vladimir
  • 417
  • 5
  • 20
1
vote
7 answers

How to preserve data between executions of program

I am running a perl script on a HP-UX box. The script will execute every 15 minutes and will need to compare it's results with the results of the last time it executed. I will need to store two variables (IsOccuring and ErrorCount) between the…
Malfist
  • 31,179
  • 61
  • 182
  • 269
1
vote
1 answer

Failures bulding Perl 5.32.1 on HP-UX (hpia11.31) - related to failed regex evaluations

I'm attempting to build Perl 5.32.1 on an hpia11.31 system and am getting what appear to be failures in regex evaluations. For instance, make_patchnum.pl fails because a regex intended to pull the filename from a heredoc instead returns the entire…
lthemick
  • 316
  • 2
  • 7
1
vote
0 answers

VI editor “ESC” + X” do not work correctly

For some reason when I am on VI MODE editing a file, when I do a SHIFT+A to append and write something next to that, example tabs 81234. When I try to do ESC then x to delete the 1234 it doesn't work. First when I hit ESC cursor stays next to the 4,…
Mr Robot
  • 29
  • 3
1
vote
3 answers

Get yesterday date in Unix - KSH script

The below command is used for getting the yerterdays date in Unix Ksh on HP UX DATE_STAMP=`TZ=CST+24 date +%m/%d/%Y` Can somebody let me know what does "CST + 24 date " in above command do?
UnixQue
  • 13
  • 1
  • 1
  • 3
1
vote
0 answers

Not able to compile LibXML in 64 bit HPUX

We were trying to compile the LibXML module for perl in 64 bit HPUX machine. We ran the .configure like below: ./configure --prefix=/software/opt/HPUX11/ia64/libxml2-2.7.7 --target=ia64-hpux The compiler is set to 64 bit: export CC="cc +DD64" Then…
Liju Mathew
  • 871
  • 1
  • 18
  • 31
1
vote
2 answers

HP-UX: Threads per process

is there a command on HP-UX to check and view all the threads related to a process/task. ps -m isn't supported.
Shree
  • 4,627
  • 6
  • 37
  • 49
1
vote
1 answer

HP-UX cc uses a default setting to allow null dereferences, is that possible in gcc with RHEL?

From the HPUX cc, c89 - C compiler man page: -z Do not bind anything to address zero. This option allows runtime detection of null pointers. See the note on pointers below. -Z Allow…
Kyle
  • 97
  • 5
1
vote
1 answer

replace sub-string with last special character, being (3rd part) of comma separated string

I have a string with comma separated values, like: 742108,SOME-STRING_A_-BLAHBLAH_1-4MP0RTTYE,SOME-STRING_A_-BLAHBLAH_1-4MP0-,,, As you can see, the 3rd comma separated value has sometimes special character, like the dash (-), in the end. I want to…
Kostas75
  • 331
  • 1
  • 4
  • 13
1
vote
1 answer

python - remote hosts timezone vs local

I'm building a web frontend for remote logs monitoring, having to manage about 10 different geographic locations I've bumped into the 3 headed hellhound some of you already have. Is there any way to get from a remote HPUX shell variable the…
Joao Figueiredo
  • 3,120
  • 3
  • 31
  • 40
1
vote
1 answer

Programatically capture prints from child process at parent so they don't go to stdout

I do have a C++ program that runs on HPUX and Linux. My program creates 2 child process, parent waits for both child process to finish. When I execute my program form run directory as follows, run> myProgram I get prints from both child process +…
usustarr
  • 418
  • 1
  • 5
  • 21
1
vote
0 answers

Supra Database Abnormal Termination

I have a SUPRA Database (Version 2930) running on HP-UX B.11.31 U ia64, but suddenly the log shows this message: 7 190523 071547 R -1 8880 1 cld_irupt : received son term pid : value = 8913 7 190523 071547 R -1 8880 1 cld_irupt …