Hi,
I need to call an API (GetUsageDetails)from inside a shell script which takes an input argument acct_nbr.
The output of API will be like :
<usageAccum accumId="450" accumCaptn="PM_125" inclUnits="1410.00" inclUnitsUsed="744.00" shared="true" pooled="false" prorated="false"... (1 Reply)
Hi all,
I would like to know if an API for compress (.Z) exists in C ?
I want to write a program which process a large number of data files with efficient compression at the end.
Thanks
http://fedora.unix.com/images/misc/progress.gif (4 Replies)
If anyone is interested I just released a new version that contains an API for collecting any kind of data you want and to include it in the user interface, data files and even be able to send it via sockets to other tools. Of course you need to be a perl programmer to use it...
A second... (0 Replies)
Hi,
I've just been experimenting with AIX's ldapsearch utility - I've been successfully using it to retrieve information from an Active Directory, however, I need to make similar calls from a C program.
Is there a suitable LDAP API on AIX which will give me similar capabilties to the... (3 Replies)
Machine and OS : IBM 7044-170 AIX 4.3.3
Hi, everyone
I have a question , pls help me to resolve. In IBM AIX , how to obtain the CPU Load and other infomations by System API Fuction.
Wait for your reply ......., Thanks. (0 Replies)
disktab(4) Kernel Interfaces Manual disktab(4)NAME
disktab - Disk description file
SYNOPSIS
#include <sys/disklabel.h>
DESCRIPTION
The disktab database describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk.
The format is patterned after the termcap terminal database. Entries in a disktab file consist of a number of : (colon) separated fields.
The first entry for each disk gives the names which are known for the disk, separated by | (vertical bar) characters. The last name given
should be a long name fully identifying the disk.
The following list indicates the normal values stored for each disk entry: Type Description str Type of disk (for example, removable, win-
chester) str Type of controller (for example, SMD, ESDI, floppy) num Number of sectors per track num Number of tracks per cylinder
num Total number of cylinders on the disk num Number of sectors per cylinder, nc*nt default num Number of sectors per unit, sc*nc
default num Sector size in bytes, DEV_BSIZE default bool Controller supports bad144-style bad sector forwarding num Rotation speed,
rpm, default 3600 num Sector skew per track, default 0 num Sector skew per cylinder, default 0 num Headswitch time, usec, default 0
num One-cylinder seek time, usec, default 0 num Sector interleave (n:1), default 1 num Drive-type-dependent parameters num Boot block
size, default BBSIZE num Superblock size, default SBSIZE num Block size for partition `a' (bytes) num Block size for partition `d'
(bytes) num Block size for partition `e' (bytes) num Block size for partition `f' (bytes) num Block size for partition `g' (bytes)
num Block size for partition `h' (bytes) num Fragment size for partition `a' (bytes) num Fragment size for partition `d' (bytes)
num Fragment size for partition `e' (bytes) num Fragment size for partition `f' (bytes) num Fragment size for partition `g' (bytes)
num Fragment size for partition `h' (bytes) num Offset of partition `a' in sectors num Offset of partition `b' in sectors num Offset of
partition `c' in sectors num Offset of partition `d' in sectors num Offset of partition `e' in sectors num Offset of partition `f' in
sectors num Offset of partition `g' in sectors num Offset of partition `h' in sectors num Size of partition `a' in sectors num Size of
partition `b' in sectors num Size of partition `c' in sectors num Size of partition `d' in sectors num Size of partition `e' in sectors
num Size of partition `f' in sectors num Size of partition `g' in sectors num Size of partition `h' in sectors str Partition type of
partition `a' (4.2BSD file system, swap, etc.) str Partition type of partition `b' str Partition type of partition `c' str Parti-
tion type of partition `d' str Partition type of partition `e' str Partition type of partition `f' str Partition type of partition `g'
str Partition type of partition `h'
EXAMPLES
The following is an example disktab entry:
rz25|RZ25|DEC RZ25 Winchester:
:ty=winchester:dt=SCSI:ns#62:nt#9:nc#1492:
:oa#0:pa#131072:ba#8192:fa#1024:
:ob#131072:pb#262144:bb#8192:fb#1024:
:oc#0:pc#832527:bc#8192:fc#1024:
:od#393216:pd#146437:bd#8192:fd#1024:
:oe#539656:pe#146437:be#8192:fe#1024:
:of#686096:pf#146437:bf#8192:ff#1024:
:og#393216:pg#439311:bg#8192:fg#1024:
:oh#0:ph#0:bh#8192:fh#1024:
FILES
/etc/disktab
RELATED INFORMATION
Functions: getdiskbyname(3)
Files: disklabel(4)
Commands: disklabel(8), newfs(8) delim off
disktab(4)