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 compute total free physical memory on hp-ux

I would like to either make a shell script or c program that computes the free memory in similar fashion as command free does on linux, for hp-ux. On hp-ux default installation, only commands that I know which can calculate the free memory are…
Petr
  • 13,747
  • 20
  • 89
  • 144
0
votes
1 answer

event_new() function fails on hpux itanium

I'm trying to debug a code that is using a libevent library. In that library, there is a function event_new that is suppose to create an event_cb. Somehow after I dispatch the event base, the event_cb cannot be called or accessed. This problem only…
Mohd Fikrie
  • 197
  • 4
  • 21
0
votes
2 answers

GNU package mutually dependent

I want to install autoconf in a HP-UX server, I downloaded autoconf-2.58 and ran configure and got the following: So I downloaded m4-1.4 and tried to install it. configure is okay, but running make I got: So m4-1.4 requires autoconf be installed ?…
CDT
  • 10,165
  • 18
  • 66
  • 97
0
votes
1 answer

How to look for heap/stack corruption on HPUX?

valgrind isn't available on hpux, otherwise I'd use that. I've compiled on Linux and I'm not getting the same segfault. What tools are available on HPUX for watching for heap/stack corruption?
David Mulder
  • 7,595
  • 11
  • 45
  • 61
0
votes
1 answer

How to convert string param to date var in HP-UX?

How to convert string param to date var in Hewlett-Packard UNIX (HP-UX)? date -d date: illegal option -- d Can not use -d I need the following: the_date=`date` date_in_seconds=$($the_date+"%s") Any insight?
yuris
  • 1,109
  • 4
  • 19
  • 33
0
votes
1 answer

Has anybody tried to install Liferay Portal CE on HP-UX?

I have developed portal based on Liferay Portal CE 6.1.1ga2 (bundled version with tomcat 7.0.27). It worked fine on my windows machine with java x64 version 1.6.0_31 and on linux server with Red Hat Enterprise Linux Server release 5.4 (Tikanga) and…
Denis Alimov
  • 2,861
  • 1
  • 18
  • 38
0
votes
1 answer

KSH script on HP-UX runs SSH with commands. Script evaluates environmental variables before running on server

Here is a snip of the script: ssh $(hostname | cut -f1 -d1)2 " echo 'Secondary Node '; OH=$(env | grep ORACLE_HOME | cut -c13-55); CN=$(env | grep CONTEXT_NAME | cut -c14-40); cd $OH/appsutil/scripts/$CN; ./myscript.sh…
에이바바
  • 1,011
  • 11
  • 36
  • 60
0
votes
1 answer

How can I download HP-UX 11i v1/v2/v3 iso or vmware file?

I want to some test on HP-UX 11i v1/v2/v3.But I cant find any download link or information. Please help me about this because I ve searched for more than 3 hours? Thanks.
user3086226
  • 93
  • 1
  • 7
  • 18
0
votes
1 answer

csh issue retrieving input from multiple lines

The following script is being run on a HP-UX box that has only csh. #!/bin/csh -fx set todaysDate = `date +%m%d%y-%H:%M` echo -n Paste the email information here: set input = $< set info = `echo $input > jcc.$todaysDate` sed…
sayayinx
  • 21
  • 4
0
votes
1 answer

libpthread version mismatch on HP_UX

I have multithreaded application, it is working fine at my development server (HP-UX). When it is deployed to client server it gives the following error: . Process 16448. Starting (CONT) Thread: 0 /usr/lib/pa20_64/dld.sl: Unsatisfied code ymbol…
QMG
  • 719
  • 2
  • 7
  • 16
0
votes
1 answer

ps utility does not show the year a process was started

I am doing some work on a fairly old system and need to know when a couple of processes started. When I use "ps -ef" one says October 18 and the other March 23. We haven't got to October 18 this year so I'm not sure if this is October 18 last year…
MikeKulls
  • 873
  • 1
  • 10
  • 22
0
votes
3 answers

proc - Connect to remote oracle database

I'm trying to connect to oracle DB on remote server: userid = getenv("ORACLE_USER"); oracle_password = getenv("ORACLE_USER_PASSWORD"); db_name = getenv("DB_NAME"); EXEC SQL CONNECT :userid IDENTIFIED BY :oracle_password USING :db_name; I get an…
Refael
  • 6,753
  • 9
  • 35
  • 54
0
votes
1 answer

CPU User time and System time on AIX

How can I get CPU user time and system time for each cpu on AIX. I know I can get this value from cat /proc/stat on a linux machine, and from pstat_getprocessor() on an HP-UX machine. Is there a way to get this same metric on an AIX machine. $ cat…
Yogesh
  • 2,198
  • 1
  • 19
  • 28
0
votes
1 answer

get thread count on HP-UX

how can I get thread count on HP-UX I am using ps -eLf| grep java | wc -l and ps -L -p $PID |wc -l on liunx and solaris, but it seems can't use on HP-UX I have tried ps uH p $PID on HP-UX, but it seems can't too. Does any one have solution for…
0
votes
1 answer

Hp-Ux.Shell.Using variables in "if"

Recently I've got confused by the following situation. What is the difference between two if usage: Case 1 amount=10 if [[ $amount -eq 10 ]] then echo "something" fi script output: $ ./1.sh something Case 2 if [[ amount -eq 10…
SergeyT
  • 65
  • 1
  • 8