Useful Programs and Scripts
Below we have provided a number of useful shell
scripts and other pieces of code. This code is supplied as is
and no guarantee is expressed or implied.
AIX Code
This code is specific for AIX. It has been tested with
AIX 4.3 but may require modification to work with later
versions. N.B.: Trinem is an IBM Business partner - click
here for details.
| libtrace |
A
'C'/PowerPC assembler program that traces library
calls made to dynamically linked libraries. You
can include any external library function by including
the name and parameters of the function in the
control file. Effectively, this gives AIX 4.3 "truss"-like
functionality. |
| gp |
A
simple process lister for AIX. Just dumps the
contents of the process table - no sort, no options.
Works when "ps" is locking up due to
AIX bugs/full process table. |
| inf_vgda |
A
'C' program that allows the manipulation of the
VGDA area of an LVM managed physical disk. Allows
disks to be "hot swapped" (if you know
what you're doing!) |
| rsb |
A
program that allows the "Superblock"
of a JFS filesystem to be read and dumped and
also allows the disk blocks pointed to by a specified
i-node to be sent to standard out. If the i-node
refers to a file that has been deleted then this
allows a file to be "undeleted". |
General code
General useful code that should be compatible with most
machines.
receive
(c
version,
perl version) |
Opens
a port on the machine and copies all data arriving
on that port to standard output. |
send
(c
version,
perl version) |
Takes
all data from standard input and sends it to the
specified port on the specified machine. |
|