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
2
votes
2 answers

CPAN Module Installation Fails

Trying to install certain CPAN modules on HP-UX (May 2017), but getting an error: # cpanm ExtUtils-MakeMaker-7.30.tar.gz --> Working on ExtUtils-MakeMaker-7.30.tar.gz Fetching file:///home/users/root_user/CPAN/ExtUtils-MakeMaker-7.30.tar.gz ...…
Rutnet
  • 1,533
  • 5
  • 26
  • 48
2
votes
1 answer

What is the bash equivalent of `modpath` in csh?

This is the error that I got. modpath: Command not found. I'm suspecting that it's because modpath is a csh command but not the right syntax for bash. So, I want to know what's its equivalent in bash. Thanks! modpath - change global search path…
ccsalison
  • 331
  • 1
  • 2
  • 10
2
votes
1 answer

Does platforms like Solaris, HP-UX, IBM-AIX etc support Unix Domain Socket without need for socket file, like Linux?

I am working on a project which runs on different platforms including Linux, Solaris, HP-UX & IBM-AIX. When we create a new socket using socket(), system creates pathname socket and also, creates a file in some temp directory. I am trying to set up…
shahidbits
  • 121
  • 10
2
votes
3 answers

How do I get shell prompt back after execute script

i'll need some help to get back the prompt, right now i'm executing this block and don't throw me back the prompt, i'm using & at the end for run this command as a background task. how can get back to prompt after execute the script. #!/bin/sh sudo…
Fulvio
  • 925
  • 2
  • 13
  • 21
2
votes
1 answer

Date format not recognized while returning results

select * from table where trunc(value1)=to_date('25-AUG-15','DD-MON-YY'); This is fine select * from table where trunc(value1)=to_date('25-AUG-15','DD-Mon-YY'); This returned as well although the valid value should be 25-Aug-15 Even this…
user1502952
  • 1,390
  • 4
  • 13
  • 27
2
votes
2 answers

How to find Shared Memory Limits and Semaphore Limits in Solaris,HP-UX and AIX?

I'm using the following commands to find Shared Memory Limits and Semaphore Limits in Linux. To find Shared Memory Limits I used this command: ipcs -lm and I got the following output: ------ Shared Memory Limits -------- max number of segments =…
Kavi Chinna
  • 237
  • 2
  • 7
  • 18
2
votes
4 answers

tarring find results on hp-ux

$ find /tmp/a1 /tmp/a1 /tmp/a1/b2 /tmp/a1/b1 /tmp/a1/b1/x1 simply trying find /tmp/a1 -exec tar -cvf dirall.tar {} \; simply doesn't work any help
soField
  • 2,536
  • 9
  • 36
  • 44
2
votes
2 answers

sed command not updating text file

Would like to ask because I'm having an issue with sed command in unix scripting. #!/bin/sh cnt=2 sed '1 c\ $cnt' test.txt I want to replace the first line of text file test.txt with the value of variable cnt which is 2. How can I pass the variable…
user3051523
  • 45
  • 1
  • 2
  • 5
2
votes
3 answers

How to remove series of lines in a file on hp unix using awk or sed or grep

My report looks like: Report B566 company name .................................... Page 1 Name address pin John ny 1111 Dave ma 1112 .... .... .... .... .... .... .... …
ShravanM
  • 323
  • 1
  • 7
  • 21
2
votes
1 answer

how to get the memory mapping for a core on Linux/HPUX (pmap)

On solaris i can run the pmap command on a core file to get the memory map of a crashed process. Unfortunately the pmap command available on HPUX and Linux doesn't provide this option. Any pointers how i can get this information on these platforms?
Frank Meerkötter
  • 2,778
  • 2
  • 20
  • 26
2
votes
1 answer

Cross platform shell script to find all files to a maxdepth

Using GNU find, I can use the -maxdepth option to specify a specific depth to search for files. Unfortunately, my command needs to run on HP-UX, AIX, and Solaris as well which don't support the -maxdepth option. I have found that I can run find…
ben
  • 243
  • 1
  • 12
2
votes
1 answer

Insert an empty space in a txt output HP-UX

I need to insert a space line in a hp-ux script, that will generate a text output. in that text file i will append 2 other text files and would like to have spaces between the input. I have the test, test1 and test2 and use cat to append the content…
Ciprian
  • 97
  • 1
  • 1
  • 10
2
votes
2 answers

Equivalent of fesetflushtozero() on various Unices

HP-UX's libc has the function fesetflushtozero to switch floating-point behavior between “gradual underflow” and “flush to zero”. Despite combing through documentation and man pages of several Unix libc's (including glibc), I have yet to find how to…
F'x
  • 12,105
  • 7
  • 71
  • 123
2
votes
1 answer

How to extract .depot file on HPUX?

How can I extract extract a .depot file on HPUX? The .depot file is a tarred dir stucture, with some of the files gzipped under the same name as original. Note that my environment is quite limited - I can't have root, I don't have…
Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
2
votes
0 answers

-Bhidden_def, imported but not exported warnings from linker

HP-UX' linker complains, when I use -Bhidden_def, that std:: stuff is not exported but it is imported by (my) shared library, e.g.: /usr/ccs/bin/ld: (Warning) Symbol "std::basic_string,std::allocator>::npos" is not…
wilx
  • 17,697
  • 6
  • 59
  • 114