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

How can I get executable filename from core file in HPUX?

I couldn't find any answer for this question from stackoverflow.com yet. % uname -a HP-UX rx3600 B.11.31 U ia64 2782985371 In linux, I can get the filename from core dump file as below. "gserver" is the executable binary filename I'm looking for…
cloudrain21
  • 649
  • 5
  • 17
1
vote
1 answer

Error: Unable to initialize GTK+, is DISPLAY set properly?

I am using HP-UX server for code coverage using bullseye. When I run ./CoverageBrowser binary I am getting below error message. 18:28:01: Error: Unable to initialize GTK+, is DISPLAY set properly? echo $DISPLAY :11.0 I have enabled X11Forwarding as…
giri
  • 21
  • 1
  • 5
1
vote
1 answer

Source file for a function definition

I am working for a very complex application deployed on Unix(HP-UX) having C/C++ source file count>10-15k. I wish to know if i can search exact file's name having defintion of a specific user defined function. there are lot of such functions called…
1
vote
0 answers

Is it possible to start python thread from inside Vim under HP-UX?

I've compiled Python 2.7.10 and Vim 7.4 with Python support (HP-UX 11.31 ia64). Everything seems to be working well except for threads. Here's simple example. from threading import Thread from time import sleep def threaded_function(arg): for i…
notdoneyet
1
vote
0 answers

How to change the password of a user on HP-UX server that can access the options as arguments

Good day! I have a trouble when I want to change the password of a user on HP-UX server. I used: Server:/home/testoo#sudo /bin/passwd arun Changing password for arun Last successful password change for arun: NEVER Last unsuccessful password…
SWdream
  • 215
  • 2
  • 3
  • 10
1
vote
1 answer

How to create shared library with gcc in hp-ux?

I try to create a shared library with gcc compiler on hp-ux. I use these commands: gcc -Wall -fPIC -std=gnu99 -c *.c gcc -shared -Wl -o my_library.so *.o Everything compiles without warnings or errors, but when I try to use that library, I get an…
polis
  • 795
  • 7
  • 23
1
vote
2 answers

awk's END block behaviour on HP-UX

Why does awk 'END{print}' file return an empty string? I've checked the file and it does not end with empty line. I'm on HP-UX.
DimitriosP
  • 106
  • 1
  • 8
1
vote
2 answers

Retrieve IP address in HP-UX?

I am using below to retrieve ip address for my Linux (Centos) host and print to a file:- ip route get 8.8.8.8 | awk 'NR==1 {print $NF}' Can anyone confirm how can I do the same in HP-UX? uname -a on by box shows this:- HP-UX tsth6038 B.11.23 U ia64…
1
vote
1 answer

syntax error at line 354 : `=~' unexpected in hp unix

my code is somehow like- if [[ ! $FIRST=~ ^/ ]] then FIRST="${SECOND}/${FIRST}" fi and i am getting below error while running the script in HP UNIX- syntax error at line 354 : `=~' unexpected. It seems to work fine in linux. Does…
1
vote
2 answers

using "for" command in hp unix

The below for doesn't work in hp-ux. However, it works on redhat machine. could please let me know what is incorrect here? #/bin/ksh Rowcount=`wc -l $acList | awk -F " " '{print $1}'` for ((i=1; i<=Rowcount; i++)); do . . . Error i'm getting is: …
ShravanM
  • 323
  • 1
  • 7
  • 21
1
vote
3 answers

process identification

Let's say i have 15 processes/daemons running in the background. let's say one of the process has dumped the core. how could i identify which process has dumped the core. i am using hpux!
Vijay
  • 65,327
  • 90
  • 227
  • 319
1
vote
1 answer

What does __ (two underscores) stand for in Hpux C program

I see the following code in HPUX C program: extern int fcntl __((int, int, ...)); _LF_EXTERN int creat __((const char *, mode_t)); These lines are compiled using aCC. Could somebody let me know the meaning of 2 underscores after fcntl and…
Chandu
  • 1,837
  • 7
  • 30
  • 51
1
vote
3 answers

Why can't I pipe the output of uuencode to mailx in a single Perl open statement?

Here's my code that is not working: print "To: "; my $to=<>; chomp $to; print "From: "; my $from=<>; chomp $from; print "Attach: "; my $attach=<>; chomp $attach; print "Subject: "; my $subject=<>; chomp $subject; print "Message: "; my…
CheeseConQueso
  • 5,831
  • 29
  • 93
  • 126
1
vote
1 answer

Unix @ symbol does not work

I'm using a HP-UX B.11.31 U and I needed to acess sqlplus but for some reason when I write a @ unix erases the line. So when I try to copy past user/pass@//host:port/SID I get //host:port/SID.
1
vote
3 answers

HP-UX: regular expression repetition does not work?

I want to pick up those rows whose 4th filed is not empty. But the following RE did not work: ^\([^,]*,\)\{3\}[^,][^,]*,.*$ Then I tried to print the captured groups, the result confused me. It seems that the repetition does not work. Would anyone…