aix

multiple backups in AIX

how to take multiple backups on the same tape media? for example: backup -0uf /dev/rmt0.1 /etc backup -0uf /dev/rmt0.1 /var backup -0uf /dev/rmt0.1 /tmp it works, but the problem how to get archive number 2 and restore it? i used tctl -f /dev/rmt0.1 fsf 2 ? but it doesnt work i used mt too also no answer and what is the defaulr accou...

Idle Session in aix

where in AIX is timeot set for a telnet session? I need to keep each session open indefinitely. I check the following files /etc/security/login.cfg /etc/security/.profile /etc/profile and my login files either TMOUT=0 or i remove it form these files, but idle session still went out? there is any services to start and stop for that? Than...

Best practices for building and packaging on AIX.

Does anyone know where i can find some best practices guide for building and packaging C applications on AIX. I m using the xlc compiler and make. Thanks ...

tar behaviour is different on same type of OS

I am trying to untar a file on AIX 52 box and is successfull on one but fails on same OS but another box. Though ulimit is very well set to unlimited. Checked for tar version, ldd and cksum all of it match. Is there anything more to look into? How to arrive at its differences? ...

Get the path of link that it points to?

Is it possible to get the abolute path of the link that it is pointing to? Is there any simple system command? I need for all of the following OS HP-UX 11i, 1123u, 1123i AIX 5.2 and 5.3 Suse Linux 10 Solaris 10 ...

Is there some place to download an AIX mod_jk binary?

I needed to front tomcat with apache on AIX, but there is nothing in http://www.apache.org/dist/tomcat/tomcat-connectors/jk/binaries/aix and googling around was unsuccessful. I eventually built it from source (painful as there is bureaucracy around getting the compilers installed at this large corporate). But shouldn't this binary downl...

How to mkdir only if a dir does not already exist?

I am writing a script to run under the korn shell on AIX. I'd like to use the mkdir command to create a directory. But the directory may already exist, in which case I don't want to do anything. So I want to either test to see that the directory doesn't exist, or suppress the "File exists" error that mkdir throws when it tries to create ...

tput: unknown terminal

I'm on AIX-6.1 and I'm trying to make use of tput inside my $PS1. I've confirmed I can't even run tput from the commandline. Following is my session: # tput unknown terminal "xterm" # echo $TERM xterm # tput -T ansi unknown terminal "ansi" In fact, ... # ls /usr/lib/terminfo/x x1700 xl83 xterm+pcc3 xterm+pcfkeys xterm-88c...

How to runtime debug shared libraries?

Can anyone tell me how to do runtime debugging on shared libraries? I need to runtime-debug a function in my shared library, but its called by another program. How can I do something like dbx with shared libraries? I m using dbx on AIX. is gdb better than dbx for what I m trying to do?. ...

how to get the command line args passed to a running process on unix/linux systems?

On SunOS there is pargs command that prints the command line aruguments passed to the running process. Is there is any similar command on other Unix environments? ...

how to locate syslog on AIX machine

I have a machine that does not have the syslog in the usual place. How would I go about locating it? ...

msemaphore on linux?

AIX (and HPUX if anyone cares) have a nice little feature called msemaphores that make it easy to synchronize granular pieces (e.g. records) of memory-mapped files shared by multiple processes. Is anyone aware of something comparable in linux? To be clear, the msemaphore functions are described by following the related links here. ...

AIX deployment : installp or rpm?

I am deploying a large set of perl/shell/sql code on AIX. these could be (and are) different applications with their own dev teams, source control repos, etc. I am lazy and want to make deployments/roll-backs easier - and I am digging towards rpm packaging with all it's +/- benefits. AIX native system of packaging is installp (with bf...

how to restrict root access to folders on aix?

I want to restrict access to certain folder on aix. even root user should be restricted to access certain folders. for e..g i have user - aixuser and root on aix 5.3 server and i have a folder - myfolder. i want only aixuser to have access to this folder and not root. how can i do this? ...

Writing Kernel extensions for AIX.

Hi All, I am about to embark on a journey to write some kernel extensions for AIX 6.1. I would be very very great full to the community ,if they could provide me some assistance in finding books , articles , blogs..whatever info i can get. I have already checked the IBM site. But I need more info. Thanks for your answers. ...

does anyone have any idea on trusted aix 6.1?

does anyone have any idea on trusted aix 6.1? What i would like to know is that , if we can prevent root user to access files of other users say 'aixuser' if 'aixuser' has a file 'aixuser.txt'. Can we prevent root from accessing this file in trusted aix mode. What i have read from the IBM manuals is that we dont have a root user in tr...

AIX kernel programming help needed

What is the system call table variable name in the AIX kernel? I know it's called sys_call_table[] in the Linux kernel. I am new to kernel programming. But I need to know in which variables in the kernel the system calls addresses are stored... ...

How to intercept system calls on aix 5.3 or aix 6.1?

How to intercept system calls on aix 5.3 or aix 6.1? ...

AIX xlC implementation of STL significantly slower than other platforms?

Something that takes 1 second to run on Linux takes 45 seconds to run on AIX. I haven't dug directly into that code but as a test grabbed a small application that does very little from another SO question: int main ( int argc, char **argv) { int i = 0; std::vector<int> vec; vec.push_back(6); vec.push_back(-17); vec.push_back(12); for ...

How do you re-export a original system call with a different name on aix?

How do you re-export a original system call with a different name on aix? ...