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
0 answers

Converting string value to epoch time in Unix Ksh shell

Can somebody please tell me how to do string value conversion to epoch time in ksh shell (HP-UX). My string value is of format "20170610 08:18:30". I was able to do this in bash using date -d"$stringdate $stringtime" +%s. Also date +%s doesn't work…
0
votes
3 answers

How to obtain cache line size on commercial UNIX OSes from a C/C++ program?

It is easy enough to find the answer for Windows, Linux and OSX on the web, but how about on commercial UNIX operating systems like AIX (on POWER), HP-UX (on Itanium) and Solaris (on SPARC). Experimenting with false cache line sharing code is not…
okun
  • 338
  • 3
  • 10
0
votes
1 answer

0403-057 Syntax error at line 21 : `fi' is not expected

I can't find the root cause of this script's error. Can anybody help me? Thanks in advance. Here is the whole script detail. #!/bin/sh CWD=`pwd` LAUNCH_DIRECTORY=`eval dirname $0` cd $LAUNCH_DIRECTORY LAUNCH_DIRECTORY=`pwd` cd $CWD if [ -d…
Unik Meng
  • 1
  • 1
0
votes
1 answer

Is it possible to compile/link to occi with gcc on HPUX?

We have Oracle 11 running on HP-UX 11.31 and gcc 4.4.3. It seems that there is no way to link to occi, because it was built with aCC. Is there any workaround for this? I had the silly idea that I could somehow build a library that basically proxied…
Cliff
  • 1,621
  • 1
  • 13
  • 22
0
votes
1 answer

Which shell /sbin/sh is in hp-unix?

I am new to hp-unix .I typed the command echo $SHELL and got output as /sbin/sh what shell is it I googled and found it to be default shell for root user but the name of the shell please
Njoi
  • 365
  • 1
  • 6
  • 16
0
votes
0 answers

Analyzing Core dump for memory leak

I have several core dump files created by manually killing a memory leaking process. I'm trying to open it with GDB, however gdb reports that (no debuggung symbols found). From what I understand, that means that the program was compiled without -g…
Lone_Wanderer
  • 179
  • 1
  • 3
  • 16
0
votes
1 answer

Skip Startup Scripts on Hp-UX

Is there a way to bypass start-up scripts on HP-UX B.11.31 from rc directories. I am looking for some commands or boot mode which would do this. Thank you, Alex
Alex
  • 1,054
  • 6
  • 25
  • 42
0
votes
2 answers

issue in script for server log analysis

I want to do server.log analysis for error and i want before 10 line and after 10 line of that error so below script is giving error in Hp-ux,please provide alternate solution: grep -A 10 -B 10 "ERROR" server.log >> /tmp/Test.log
0
votes
1 answer

Net::SFTP::Foreign doesn't work for connectiong to Windows host from HP-UX

I use $ftp = Net::SFTP::Foreign->new(%args); to sftp to Linux machine from HP-UX. It works with no problems. When I try to connect to an SFTP server installed on Windows, it does not work $ftp->error contains Connection to remote server is broken…
Alex
  • 1,054
  • 6
  • 25
  • 42
0
votes
0 answers

How to convert multiline sed to a oneline sed on HP-UX

I'm want to remove all newline characters in a file between two XML tags using sed on HP-UX in KornShell (ksh). I used sed and got what I want except that when I turn the multi-line command to a single line (one-liner) it fails. The file looks like…
Praveen Lobo
  • 6,956
  • 2
  • 28
  • 40
0
votes
1 answer

Ansible, HP-UX, ImportError: Failed to load /usr/local/lib/python2.7/lib-dynload/binascii.sl

Trying run ansible ping on HP-UX host, but receive python error. All librarys and priveleges is OK. ansible -vvvv -i ./servers all -m ping output PUT /tmp/tmpxQfBr5 TO //.ansible/tmp/ansible-tmp-1471342470.57-207842142718136/ping
rjhdby
  • 1,278
  • 13
  • 15
0
votes
0 answers

Unsatisfied symbol in file libssl.a on HPUX64

I'm facing below issue while building my code 64-bit on Hpux machine the same worked fine for 32-bit. aCC -AA -mt +DA2.0W ../obj/batch.o ../obj/DataFileReader.o \ -L../../../../lib -lg1client -lopentop-accmt -lPocoXML -lcrypto -lssl -o…
user2331283
0
votes
2 answers

Awk Array Loop translation

While working on a HP UX storage migration project, I found an awk statement as following ioscan -funNCdisk | \ awk '{a[NR]=$0} $0~s {f[NR]++} END {for (j=1;j<=NR;j++) if (f[j]) for (i=j+C;i<=j+C;i++) \ print a[i]}' C=1 s="NetApp" It appears it…
Insan Kim
  • 1
  • 1
0
votes
2 answers

Compiling NCURSES src on HPUX

I am trying to compile ncurses-5.7 from source and after running ./configure I get the following error: configure: error: Your compiler does not appear to recognize prototypes. You have the following choices: a. adjust your compiler options …
Ibrahim
  • 1,247
  • 3
  • 13
  • 21
0
votes
1 answer

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…
mealnor
  • 115
  • 2
  • 8