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

Error in calling one make target from another

$make --- Will have normal build $make CAdvisor Above will do following steps: 1) Update variable CC, now it should become "cadvise -pdb mypdb +wlint +wall aCC" 2) Run all with updated CC option CC = aCC CFLAGS = -c #-Wall LDFLAGS = SOURCES =…
Dev
  • 5
  • 1
0
votes
2 answers

how to set python environment variable in HP-UX OS?

I am new in HP-UX. I am trying to working with python in HP-UX. I have successfully install python download package from hp-ux package But I can not set environment variable. Python successfully found in "/usr/local/bin". when I tried python…
Zahed
  • 73
  • 2
  • 9
0
votes
1 answer

using apache http server on HP-UX OS.we are facing an issue where httpd count is not going down

httpd count taken with ps -ef|grep httpd|wc -l is very HIGH Normally it should be within 100-150 but it now going high to even 2000 when we increased Maxclients value to 2000. Whatever be the value of Maxclients,when issue occurs httpd count goes…
0
votes
0 answers

Determine what define(s) were set when compiling with gcc

Does anyone know the command to use, if I want to look in an executable compiled with gcc to determine if there were any variables defined for use by #define. Thank you,
evraz001
  • 31
  • 2
  • 6
0
votes
1 answer

Geting java.awt.AWTError: Can't connect to X11 window server on HP-unix with JRE-8

on running the GUI based java application using JRE 8 on HP-UX I am getting the following error: Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server using 'ravkumar-t430.apac.tibco.com:1.0' as the value of the DISPLAY…
user3820339
  • 151
  • 1
  • 4
  • 11
0
votes
2 answers

oracle table entry does not exist

while installing sap on 3 tiered architecture, I need to install database instance (oracle) and central instance(sap) and two different machines. after completing database install and proceeding with central instance installation, the setup is…
Himanshu Sourav
  • 700
  • 1
  • 10
  • 35
0
votes
1 answer

Duplicating the file descriptor with dup2 and then closing it with close

I have one file descriptor(basically socket descriptor) example sockfd. I use dup2 to command (void) dup2(sockfd,0); then i close the descriptor close(sockfd); Now i try to receive message on receive recv(0,buf,sizeof(buf),0); But it is not working…
user
  • 2,694
  • 6
  • 24
  • 25
0
votes
1 answer

Get CPU and Memory Info In Different HPUX unix Servers

I am trying to make a bash script to get CPU and Memory information in different Unix servers and pipe them into a single text file in the local server. The script returns something (result), but the result was not accurate when I check each of the…
the Killerx
  • 35
  • 1
  • 6
0
votes
1 answer

Find and copy the two most recent files added to a directory with a specific format

I'm currently writing a ksh script that will run every 5 minutes. I want to select the two most recently added files within a directory that have a specific format. The format of the file should be: OUS_*_*_*.html. The files should then be copied…
Marcus Koz
  • 255
  • 5
  • 21
0
votes
1 answer

ps -o not working in HP-UX ia64 11.26 machine

ps -o etime,pid,tty,comm -u "$user" | while read etime pid tty comm This is the code snippet of my script and here ps -o command not applicale in HP unix.But it is available in solaris and aix. So,for getting this is there any other options…
user1507
  • 41
  • 3
  • 10
0
votes
1 answer

Why does this code crash on HPUX?

I've written a small program that resembles the problem I'm facing in my project. The question is, why does it crash when run on HP-UX platform ? Error : si_code: 1 - BUS_ADRALN - Invalid address alignment Code : int main() { uint8_t *cmd ; …
Manoj Hirway
  • 131
  • 1
  • 7
0
votes
2 answers

How to select files that were added to a directory in the past 5 mins - HP-UX

I need to select all files that were added to a specific directory in the past 5 mins and copy them over to a different directory. I am using HP-UX OS which does not have support for amin, cmin, and mmin. B/c of this, I am creating a temp file and…
Marcus Koz
  • 255
  • 5
  • 21
0
votes
0 answers

Script to reset user password (HP-UX)

I am trying to write a shell script to reset a user password. It will accept 2 arguments, 1 old password and the new password. I have used expect and the script works. However, my tech folks do not allow me to install expect in the production…
Wes Ong
  • 15
  • 5
0
votes
4 answers

KSH: sed command to search and replace last occurrence of a string in a file

I have tried to search for last occurrence in a file using sed. In HP-UX tac option is not available. For Ex: Below is the data in file, A|2121212|666666666 | 2|01|2 |B|1111111111 |234234234 |00001148| B|2014242|8888888888| 3|12|3 |B|22222222222…
Srinivas
  • 21
  • 1
  • 1
  • 5
0
votes
1 answer

find: -exec not terminated with ';'\\ when trying to delete some old files

i am using the following syntax on an HPUX machine, and have no luck removing older files, getting the following error: find: -exec not terminated with ';'\ find /path/ -type f -mtime +90 -name "*.tgz" -exec rm {} \ ;\ any suggestions?
Ciprian
  • 97
  • 1
  • 1
  • 10