Questions tagged [aix]

AIX (Advanced Interactive eXecutive, pronounced "a i ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

AIX (Advanced Interactive eXecutive, pronounced "a i ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms. Originally released for the IBM 6150 RISC workstation, AIX now supports or has supported a wide variety of hardware platforms, including the IBM RS/6000 series and later IBM POWER and PowerPC-based systems, IBM System i, System/370 mainframes, PS/2 personal computers, and the Apple Network Server. AIX is based on UNIX System V with 4.3BSD-compatible extensions. It is one of four commercial operating systems that are presently certified to The Open Group's UNIX 03 standard. (The others are macOS, Solaris and HP-UX.) The AIX family of operating systems debuted in 1986, became the standard operating system for the RS/6000 series on its launch in 1990, and is still actively developed by IBM. It is currently supported on IBM Power Systems alongside IBM i and Linux. AIX was the first operating system to utilize journaling file systems, and IBM has continuously enhanced the software with features like processor, disk and network virtualization, dynamic hardware resource allocation (including fractional processor units), and reliability engineering ported from its mainframe designs.

References:

http://en.wikipedia.org/wiki/IBM_AIX

http://www-03.ibm.com/systems/power/software/aix/index.html

703 questions
107
votes
7 answers

How to strip multiple spaces to one using sed?

sed on AIX is not doing what I think it should. I'm trying to replace multiple spaces with a single space in the output of IOSTAT: # iostat System configuration: lcpu=4 drives=8 paths=2 vdisks=0 tty: tin tout avg-cpu: % user % sys %…
WernerCD
  • 1,314
  • 3
  • 10
  • 11
82
votes
6 answers

Getting size with du of files only

How can I get the size of all files and all files in its subdirectories using the du command. I am trying the following command to get the size of all files (and files in subdirectories) find . -type f | du -a But this prints out the folder sizes as…
Shardul Upadhyay
  • 923
  • 1
  • 6
  • 5
37
votes
3 answers

Add a path in $PATH globally for every user

Do we have anyway to add a path globally so that each user gets it in $PATH. I want to add path of ANT so that each user doesn't need to add it in his $PATH variable.
Ahmad
  • 547
  • 1
  • 5
  • 9
36
votes
4 answers

Find a file when you know its checksum?

I have the md5sum of a file and I don't know where it is on my system. Is there any easy option of find to identify a file based on its md5? Or do I need to develop a small script ? I'm working on AIX 6 without the GNU tools.
Kiwy
  • 9,415
  • 13
  • 49
  • 79
20
votes
4 answers

Skip first 3 bytes of a file

I am using AIX 6.1 ksh shell. I want to use one liner to do something like this: cat A_FILE | skip-first-3-bytes-of-the-file I want to skip the first 3 bytes of the first line; is there a way to do this?
Alvin SIU
  • 303
  • 1
  • 2
  • 5
17
votes
5 answers

How to run a fresh version of AIX in a Virtual Machine with a Linux host?

I need to learn about AIX, and I only have a laptop with Fedora 14/VirtualBox on it. Is there any chance that I could run an AIX guest in my VirtualBox? My laptop has an Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz, and I read that it only runs on…
LanceBaynes
  • 39,295
  • 97
  • 250
  • 349
14
votes
5 answers

Under AIX, how can I get the full path of a program bound to a port?

Under Linux I can use netstat -tulpnw and ps, like so: # netstat -tulpnw | grep :53 tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1482/named udp 0 0 127.0.0.1:53 …
LanceBaynes
  • 39,295
  • 97
  • 250
  • 349
13
votes
1 answer

How to determine CPU features on PowerPC and Power 8 (and above)?

We can examine /proc/cpuinfo on Intel and ARM machines to learn cpu features, like AES and SHA. I need to do the same for PowerPC under both AIX and Linux. Testing with Linux is shown below. The output is produced by GCC112 on the compile farm. $…
user56041
12
votes
2 answers

Problem while running "newgrp" command in script

I want to change the working group in my script. So I wrote a line newgrp test_grp1 in my script. But my script is automatically exited after running this line. Are there any solution to overcome this problem? #/bin/ksh ... newgrp…
chanchal1987
  • 686
  • 3
  • 9
  • 16
11
votes
3 answers

Preventing propagation of SIGINT to Parent Process

Considering a scenario where a Parent program (could be a C++ program or a Shell Script) executes a Child shell script, when we hit Control+C (or whatever character is configured to be the INTR character) while the Child Shell Script is executing, a…
Guddu
  • 223
  • 2
  • 5
11
votes
1 answer

Making sense of the output from sar on AIX

I'm trying to understand some data that has been pulled from SAR. I have three main questions about this. Ultimately, I'd like to determine how many CPUs were idle at each sampling interval across a cluster of servers. Many of the CPUs are not…
JimmyJames
  • 113
  • 8
10
votes
4 answers

Package manager for AIX

While installing Subversion on AIX (version 7.1) from the official site, there are dependencies I need to resolve first before I can proceed to install the subversion package. While installing the dependencies package, there are a bunch of other…
huahsin68
  • 1,847
  • 8
  • 22
  • 25
10
votes
2 answers

Redirect terminal output to image file

I need to programmatically run some unix commands and get the output in a image file, the format could be png or jpeg (jpg). The commands are run in an AIX (IBM *nix) machine. I don't have permission to install new packages, however I think there a…
10
votes
2 answers

where is the location of stdin, stdout, stderr file descriptor in AIX(unix)

In my Linux environment, the file descriptors are located on /dev/fd. Where is the location of stdin, stdout, stderr file descriptor in AIX(unix). I couldn't find them.
asleea
  • 237
  • 1
  • 3
  • 7
10
votes
2 answers

xargs doesn't use my "ls" alias

On AIX (but this happens on HP-UX as well), I have GNU ls in my path and it is also aliased as ls. When I use xargs, it instead uses the standard Unix ls instead of the alias. For example (flocate is a function which finds the exact path of the…
elbarna
  • 12,050
  • 22
  • 92
  • 170
1
2 3
46 47