Search Results

Search: Posts Made By: slash_blog
Forum: HP-UX 11-09-2011
1,843
Posted By slash_blog
Build issues on HP-UX
I am trying to build a software on HP-UX (HP-UX 11.00). It links against Xerces and Xalan libraries (amongst others).

I am getting the following errors during the final linking phase.
Can...
Forum: AIX 11-02-2011
6,122
Posted By slash_blog
Problem using ioctl (SIOCGIFCONF and SIOCGARP)
I am writing some portable code to print Interface, its IP address, and its MAC (Hardware) address. It is working on three platforms (viz, Linux, Solaris and HP-UX). However, it is creating problems...
2,542
Posted By slash_blog
The thing is the lines I am reading and...
The thing is the lines I am reading and displaying are XML tags. The child script is supposed to display one final tag at the end based on the output processed so far. So it needs to handle the exit...
2,542
Posted By slash_blog
Killing a subshell
I am calling a script from with another script and reading its output one line at a time (using <childscript> | while read line) in the parent script. If the output exceeds a predefined number of...
Forum: Programming 08-08-2008
8,008
Posted By slash_blog
I realize even this wont work for programs that...
I realize even this wont work for programs that use ttys instead of stdin for input.

For example sudo prompts for password and doesn't use stdin. Any ideas??
Forum: Programming 08-07-2008
8,008
Posted By slash_blog
Thanks! Yes this should work for the wait part....
Thanks! Yes this should work for the wait part. :)

But is there still a way to detect if the process is waiting on input?
Because if this is possible this will really help us in the long run.
Forum: Programming 08-07-2008
8,008
Posted By slash_blog
Could you elaborate on the strace or tusc part....
Could you elaborate on the strace or tusc part. As per my understanding they are unix commands, however I need to do something programmatically because we are doing a C fork in calling the command....
Forum: Programming 08-07-2008
8,008
Posted By slash_blog
Detecting if command is waiting for input
Hi,

After doing a fork and executing a shell, we execute (third party) commands which are essentially non-interactive. But some of them ask for input, under some (unforeseeable) circumstances....
11,940
Posted By slash_blog
Here is the final solution: Add the...
Here is the final solution:

Add the following rule to /etc/ipf/ipfnat.conf

rdr dnet0 from 10.218.141.156/32 to 10.218.147.210/32 port = 1521 -> 10.218.146.230 port 1521 tcp


and execute ...
11,940
Posted By slash_blog
Just in case somebody is interested: rdr...
Just in case somebody is interested:

rdr dnet0 10.218.108.141/32 port 1521 -> 10.218.146.230 port 1521
will do just that if we store this rule in a file and use ipnat -f <file>.

Now I need...
11,940
Posted By slash_blog
Port forwarding
Hi

I want to set up port forwarding from one network to another network. I already have this configured on the Linux box using iptables.

iptables -t nat -A PREROUTING -p tcp -i eth1 --dport...
Forum: Solaris 02-14-2008
12,107
Posted By slash_blog
Solaris counterpart of /etc/security/limits.conf
Hi,

How can we set per user core file size, etc in solaris, i.e. I want solaris counterpart/equivalent of linux /etc/security/limits.conf.

TIA
Forum: Programming 06-07-2007
7,978
Posted By slash_blog
I think on some UNIX flavors the documented...
I think on some UNIX flavors the documented command to get the platform is uname -p and not uname -m. The uname() call produces output which is more synonymous with uname -m. So while this works for...
Forum: Programming 06-07-2007
7,978
Posted By slash_blog
But none of them gives processor architecture :(
But none of them gives processor architecture :(
Forum: Programming 06-07-2007
7,978
Posted By slash_blog
It is there but it doesn't give platform...
It is there but it doesn't give platform type/architecture :(
Forum: Programming 06-07-2007
7,978
Posted By slash_blog
Platform type in Unix
Hi all,

How does one get the platform type in UNIX (for e.g. sparc/i386)? I need an function call and not the command like uname -p.

thanks!
Forum: HP-UX 05-25-2007
2,284
Posted By slash_blog
Information about kernel modules
Hi all,

what do kernel modules libaudit, klog and strlog do?

Specifically I want to determine if it was possible for us to determine if kernel level auditing is enabled at all?

regards
Forum: HP-UX 05-15-2007
14,801
Posted By slash_blog
ACC Compiler
Hi,

Can anybody guide as to whether the aCC compiler for RISC (9000/785) be used with ia64 processor?
Showing results 1 to 18 of 18

 

Featured Tech Videos

All times are GMT -4. The time now is 03:04 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy