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

Does Boost 1.64 support HP-UX?

I read about the platform that boost supports on the boost homepage. However, I do not know if it supports HP-UX. http://www.boost.org/doc/libs/1_64_0/libs/log/doc/html/log/installation.html#log.installation.supported_compilers Supported compilers…
YunjinJang
  • 165
  • 2
  • 7
1
vote
2 answers

Most efficient way to parse xml and extract data into a table

Some context on what I'm trying to achieve. Currently on a locked down HPUX box with bash and perl at my disposal however, I've got no experience with perl. Input is a dump of hex and xml in the following format (0 to n): MQGET of message number…
1
vote
3 answers

KSH measure elapsed time

I am trying to find the day difference from the last time a password was rest to the current. So i have this so far. I am trying to just convert that date to days so i can subtract the current date in days - the last reset date in days and get a…
user3753693
  • 225
  • 1
  • 5
  • 13
1
vote
1 answer

Shell - replace only number on specific line with number from another file

I am working on a Shell script and I need to replace only number on line 13 with a number from another file. file1: line1 line2 ... Text: 95% ... file2: 98.4256 The result should look like this: file1: ... Text: 98.4256% ... Basically I…
Jack Payne
  • 49
  • 1
  • 1
  • 6
1
vote
1 answer

wget command not found in hp-ux box, looking for alternative

I am using hp-ux box and want to use wget to test a url is up or down. I am getting an error wget not found, samething happened with curl command. please suggest what can i use instead of wget and curl.
1
vote
2 answers

Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data

I get this error while loading a lib with dlopen(): Cannot dlopen load module '/usr/lib/pa20_64/libpthread.1' because it contains thread specific data. I looked this up on google and the following export fixed it. export…
rahul
  • 2,269
  • 3
  • 28
  • 31
1
vote
1 answer

File count within directories in unix using recursive approach

Problem Statement: To list down the count of files within a directory. Note: A directory may either contain a sub-directory or files but not both. Need to list count of files directory wise. Here is the piece of code. #!/usr/bin/sh…
user3004
  • 19
  • 2
1
vote
2 answers

Install ansible on HP UX

I'm new to ansible and I'm trying to figure out if there is a way to install ansible on HP-UX 11.31 machine. I tried google it, but I was not able to find if / how it can be done. I have Python installed on the machine. Thanks, Boaz.
Boazsh
  • 11
  • 3
1
vote
0 answers

OCaml native compiler for HP-UX IA64

Is there a way to build a stable OCaml native compiler for HP-UX IA64? I stumbled upon the comment below on https://news.ycombinator.com/item?id=6711348 We actively use/used OCaml in production on SPARC/Solaris, POWER/AIX, HP-UX/IA64. (The…
1
vote
1 answer

Grep "-C" command on all machine

I am using grep -C 1 "matching string" "xty.pom" This works on Linux machines, but the same code is not working on other platforms like AIX, SunOS_x64, HPUX. Is there any alternative to this so that same code logic works on all the platforms?
abhay kumar
  • 379
  • 1
  • 3
  • 12
1
vote
1 answer

Unable to to see multiple CAs certificates in Apache 2.2

A newbie to Apache. I have tried to implement multiple SSL CA Certs on my HP-UX, Apache 2.2 web server but, whenever I try to hit my site with a secondary CA cert, the site doesn't recognize it. For example, I have DoD root certificates and ORC…
Bart
  • 11
  • 3
1
vote
2 answers

Inserting a line in the beginning of a file using sed in HP-UX

I am trying to insert a line in the beginning of a file using sed. I tried below commands : sed -i '1s/^/LINE TO INSERT\n/' test.txt sed: illegal option -- i --> Error thrown sed '1i/^/LINE TO INSERT\n/' test.txt sed: Function 1i/^/LINE TO INSERT\n/…
Ritesh
  • 314
  • 7
  • 19
1
vote
3 answers

How to define _FILE_OFFSET_BITS & _LARGE_FILES macro for Solaris and HP-AIX

I Have a C Program as follow. I don't what to use stat64 instead of stat in both Solaris & HP-AIX. I want to build this Program this on both Solaris & HP-AIX. #include "zunx.h" #include /* * NAME: zunx_file_exists * * PURPOSE: …
user2623906
1
vote
1 answer

ld: Can't find library for -lc

I am trying to build a C program using static flag (linking statically ). While I am trying to do so linker throws an error "can't find library for -lc". Machine I am using is HP-UX. I am unaware which library it requires and where I can find it so…
theartist33
  • 470
  • 1
  • 6
  • 13
1
vote
0 answers

Python. install setuptools on HP-UX

I have to install setuptools on HP-UX machine. I haven't pip or other packets manager installed. (I tried to install pip but it require setuptools). On the machine there is only python 2.7 and for security reason i haven't access to internet from…
user3402702
  • 91
  • 1
  • 11