hp-ux Questions
14
Solved
On SunOS there is pargs command that prints the command line arguments passed to the running process.
Is there is any similar command on other Unix environments?
9
Solved
Several processes with the same name are running on host. What is the cross-platform way to get PIDs of those processes by name using python or jython?
I want something like pidof but in python. ...
Windswept asked 15/2, 2009 at 10:23
9
Solved
I need to find out what ports are attached to which processes on a Unix machine (HP Itanium). Unfortunately, lsof is not installed and I have no way of installing it.
Does anyone know an alternat...
Balladry asked 24/9, 2008 at 8:20
17
Solved
I've got a shell script which does the following to store the current day's date in a variable 'dt':
date "+%a %d/%m/%Y" | read dt
echo ${dt}
How would i go about getting yesterdays date into a ...
4
Solved
I'm new to Sonar, and i was trying to install Sonar 2.8 on my server (Linux 64 on HP-UX)
When i tried to launch it (sonar.sh start) i got the following message
[myHomeDirectory]/sonar/2.8/bin/lin...
0
I am building openssl-1.0.2f with openssl-fips-2.0.12 (I am going to talk about this configuration in the following lines, but at the end of the post I'll specify all the configurations that I trie...
5
I'm using bash to build a script where I will get a filename in a variable an then with this variable get the file unix last modification date.
I need to get this modification date value and I can...
2
Solved
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.
7
Solved
Can anybody tell me how to activate RTTI in c++ when working on unix.
I heard that it can be disabled and enabled.
on my unix environment,how could i check whether RTTI is enabled or disabled?
I a...
3
I'm trying to compile an XS into perl [ed(ikegami): which is to say he's using ::MakeMaker's make perl to create a perl with a C vendor library statically linked in ] but when I do, the new version...
1
I still struggling to compile a C console application, the compiling procedure still failing with the error below:
"Main.c", line 51: error #2040: expected an identifier
extern "C" void TreatRec...
1
Solved
I have a tar archive which contains several text files. I would like to write a script to display (stdout) the content of a file without extracting it to the current directory.
Actually I would li...
2
Solved
When I use vi to analyze log files, it sometimes is stuck with the error: 'Line too long'. I can watch the file using more, but that's not what I want.
The command view leads to the same result an...
1
I am using HP-UX. I want to disable buffering on stdout to ensure that every line of code is printed in case of core dump with below command:
setvbuf(stdout, NULL, _IONBF, 0); // turn off bufferin...
2
Solved
I'm seeing stty, not a typewritter messages on hpux (despite an interactive terminal check?), and am guessing that these are due to the stty lines in my .kshrc file:
case $- in
*i* )
stty hupcl i...
3
Solved
I need to get the stack information of my C application in certain points. I've read the documentation and searched the Net but still cannot figure out how I can do it. Can you point to a simple pr...
Diastase asked 10/6, 2009 at 11:44
8
Solved
I have a C application we have deployed to a customers site. It was compiled and runs on HP-UX. The user has reported a crash and we have obtained a core dump. So far, I've been unable to duplicate...
1
© 2022 - 2024 — McMap. All rights reserved.