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
0
votes
1 answer

How to do time profiling of a C program in HP-UX?

I want to do a time-based profiling of an application written in C on HP-UX. I want to see which function is taking maximum amount of time, slowing down the operational duration. Is there a way to do it? I know I can use -p option in Linux and…
Mariners
  • 499
  • 8
  • 18
0
votes
1 answer

Unsafe C functions in HP-UX Environment

We are developing one scheduler application in the C Programming language. We are using the HP-UX environment to compile and deploy the code. During the yearly external audit of application, we received one report that contains following number of…
0
votes
1 answer

is there the way to get environment variable in HP-UX by pid

I want to know the method the way to get environment variable in HPUX from pid by ps command, file, or programming. it is possible to get variable # /proc/$pid/environ in environ or ps e -ww -p $pid in linux # ps ewww pid in aix # pargs in…
raphael
  • 1
  • 4
0
votes
1 answer

HP-UX repairing a stale extent on a mirrored disk set with a failing primary disk

I have an HP-UX 10.20 system with a mirror disk pair. I recently had a failed disk, which I'll refer to as "the bad disk". I had to remove it from the system in order to boot successfully. I went through the procedure of replacing it with a new…
a344254
  • 571
  • 2
  • 9
  • 20
0
votes
1 answer

backup command on HP-UX fail

I have two biggest file and i am trying to take backup of them to a tape drive. the operate system is HP-UX and the directory of the tape drive is /dev/rmt/2m. The command that i perform for backup was tar cvf /dev/rmt/2m file1 and after that the…
endrimi
  • 1
  • 1
0
votes
1 answer

C strchr works with NULL value on HPUX but segfaults on RHEL

I'm moving some code from HPUX 11.11 to RHEL 7.5 and it includes a function that uses strchr. On HPUX it runs fine, and on RHEL there is a segmentation fault. I isolated the code and created the following simple test, with the subsequent results. …
Kyle
  • 97
  • 5
0
votes
0 answers

Scala Built Tool in HP UX

I was trying to install sbt on HPUX by downloading zip file https://www.scala-sbt.org/download.html During Installation i encountered below error ""Caused by:…
0
votes
2 answers

popen() system call hangs in HP-Ux 11.11

I have a program which calculates 'Printer Queues Total' value using '/usr/bin/lpstat' through popen() system call. { int n=0; FILE *fp=NULL; printf("Before popen()"); fp =…
Niranjan G
  • 41
  • 1
  • 6
0
votes
0 answers

SIGSEGV Java fatal error when i tried start JBOSS standalone

I can not start jboss service and i got this error log : A fatal error has been detected by the Java Runtime Environment: SIGSEGV (11) at pc=c000000015adc5b0, pid=5164, tid=8 JRE version: Java(TM) SE Runtime Environment (7.0) (build…
aldiyudha
  • 19
  • 2
0
votes
1 answer

What is the command to get ospatches and Network conf in HPUX-PARISC?

Some examples in other systems ospatches in HPUX-IA64 is "swlist -l fileset" ospatches in Linux is "/sbin/ifconfig -a" Network Configuration in Linux is "/sbin/ifconfig -a" I want a equivalent ospatches and Network conf command for HPUX-PARISC.
AabinGunz
  • 12,109
  • 54
  • 146
  • 218
0
votes
1 answer

Any system call in C to change the permission of a file in HP-UX

Any system call in C to change the permission of a file in HP-UX??
user205688
  • 153
  • 1
  • 1
  • 7
0
votes
1 answer

DB2 queryDataSize above 32767 is ignored on HP-UX machine

Hi I have been using DB2 10.5 LUW deployed on HP-UX machine, the driver is db2jcc I think the version is 4.19.66 in combination with Spring Data. I have two configurations of my Datasource in both places I try to increase the queryDataSize jdbc…
Alexander Petrov
  • 9,204
  • 31
  • 70
0
votes
2 answers

64-bit program segmentation fault on HP-UX PA RISC

I am using 3 HP-UX PA RISC machines for testing. My binary is failing on one PA RISC machine where as others it working. Note that, even though binary is executed with version check i.e. it just print version and exit and don't perform any other…
Sach
  • 659
  • 8
  • 20
0
votes
1 answer

cat file inside mymail@mail.com, showing the multiple lines (and not single line)

I have created a file with some different lines of text, like for example: 2345, someinfo1, someinfo2, someinfo3 3567, someinfo1, someinfo2, someinfo3 7812, someinfo1, someinfo2, someinfo3 where someinfo1, someinfo2 and someinfo3 are usually (if…
Kostas75
  • 331
  • 1
  • 4
  • 13
0
votes
1 answer

specifying the right perl version for git

We want to install git on our system which runs HP UX 11.31 and the standard version of Perl (5.8.8e) which comes with the system. It is of utmost importance that the perl command keeps referring to Perl 5.8.8e so that our scripts run fine. Git has…
bluppfisk
  • 2,538
  • 3
  • 27
  • 56