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
votes
1 answer

How to enable leaks in gdb which is debugging a running process?

I am using GDB to debug a running process using #gdb -p . Now I would like to set some break points and want to get leaks information. But I'm getting an error as below. (gdb) info leaks Leak detection is not enabled now. If I try to set heap flags…
-1
votes
2 answers

Convert bash script into HP-UX os compatible

{ lineno1=`grep 'CustCare_CR*' /Abhi_data/Copy_test_demo/T2.txt` echo $lineno1 var1=`sed -e 's#.*Backuped_CustCare/\(\)#\1#' <<< "$lineno1"` echo $var1 path1="/CATALINA_HOME/Backuped_CustCare/$var1" #echo $path1 cd $path1 pwd } When I run this…
Abhijeet
  • 1
  • 2
-1
votes
1 answer

Unix - Need to display directory last modified time

need to display the directory's timestamp - Last modified time of the directory
-1
votes
4 answers

Find nth row using AWK and assign them to a variable

Okay, I have two files: one is baseline and the other is a generated report. I have to validate a specific string in both the files match, it is not just a single word see example below: . . name os ksd 56633223223 some text.................. some…
ShravanM
  • 323
  • 1
  • 7
  • 21
-1
votes
1 answer

How to check if an argument is a string in unix

I am calling a script with argument as "incr": script.sh incr I need to check if the argument passed is "incr" or not. Also, "incr" can be any argument,not necessarily the first. For ex : script.sh -l incr Any general way to check if any argument…
6055
  • 439
  • 1
  • 4
  • 14
-1
votes
1 answer

java compatibility on HP Unix

Is java on HP Unix a clone of an existing JDK implementation (oracle, IBM etc.) or is it a new implementation? Do I have to fear any compatibility issues on HP-UX?
Don Miller
  • 141
  • 1
  • 9
-2
votes
1 answer

how to find the difference b/w to dates stored in a variable in shell script ( KSH shell )

In hp-ux as there is no GNU date available, i.e the -d and -s options of the date command are not available. How do I find the difference between two given dates in days (as we do in Solaris or bash shell)?
vini
  • 87
  • 12
-3
votes
1 answer

Equivalent output in HP-UX. Already have script ready for Linux Centos

I am new to HP-UX and never worked on Ksh/Csh. Have been working with bash on Linux for quite some time now. I have below few code snippets to extract system information from Linux centos and dump to a CSV as output. Would appreciate if someone can…
1 2 3
24
25