10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a shell script that interfaces with our tape library using IBM's Tape Diagnostic tool called "itdt".
The script does some basic stuff, it queries the tape library, loads tape to/from drive; it knows which inventory slot to pick the tape from based on SLOT=$(($BASESLOT + $TODAY)).
The... (1 Reply)
Discussion started by: tmonk1
1 Replies
2. Shell Programming and Scripting
I have a shell script that interfaces with our tape library using IBM's Tape Diagnostic tool called "itdt".
The script does some basic stuff, it queries the tape library, loads tape to/from drive; it knows which inventory slot to pick the tape from based on SLOT=$(($BASESLOT + $TODAY)).
The... (10 Replies)
Discussion started by: c3rb3rus
10 Replies
3. AIX
Hi,
is any one using nagios monitoring solution on AIX ? if yes, is it supported on AIX 7.1 TL 03 as well ?
I tried to search online and unix.com , could not find it.
Thank you (5 Replies)
Discussion started by: aaron8667
5 Replies
4. UNIX for Advanced & Expert Users
Hi Friends,
I am looking for a opensource/inbuilt server wipe tools similar to DBAN for the server decommissions.
I have several AIX and Linux machines to decom as part of datacenter shutdowns. But these 'DOESNT' have console access and I need to do the wipe remotely. Can you please suggest me... (9 Replies)
Discussion started by: shyam2j
9 Replies
5. AIX
Hi,
What's the good open-source debugger & memory analyzer for C programs in AIX ? (4 Replies)
Discussion started by: SteAlma
4 Replies
6. AIX
Guy's
AIX Monitoring Tool - under preparing .....
I'm working to make and prepare tool to monitor AIX system and my idea it's based on the following outputs
I want command to give me shout outpous about the following ...
CPU load
Memory load
Used load
Number of... (5 Replies)
Discussion started by: Mr.AIX
5 Replies
7. AIX
hi folks,
I am a new to Aix, i worked as sys admin so no idea about software probs, my software team requires Debugging tool for cobol in AIX machine.
can someone tell me the tool and also the installation procedure for the same
Please drag me out from this soon :confused: (1 Reply)
Discussion started by: atulgkwd
1 Replies
8. AIX
I'm search for a disk exerciser / load tool like iometer, iozone, diskx for IBM AIX 5.2 and 5.3
Because of a very bad disk performance on several AIX systems, I need to have a tool which is able to generate a disk load on my local and SAN disks.
Does somebody knows a kind of tool which is... (5 Replies)
Discussion started by: funsje
5 Replies
9. UNIX for Advanced & Expert Users
I compiled my device driver with the profiling option -p but while linking I am getting undefined reference to _mcount.
LD /vobs/femto_drivers/DspBiosLink/dsplinkk/src/dsplinkk.o
Building modules, stage 2.
MODPOST
*** Warning: "_mcount" undefined!
Architechture: ppc32
From... (0 Replies)
Discussion started by: Ashok V
0 Replies
10. AIX
If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies
PROFIL(2) BSD System Calls Manual PROFIL(2)
NAME
profil -- control process profiling
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <unistd.h>
int
profil(char *samples, size_t size, vm_offset_t offset, int scale);
DESCRIPTION
The profil() system call enables or disables program counter profiling of the current process. If profiling is enabled, then at every pro-
filing clock tick, the kernel updates an appropriate count in the samples buffer. The frequency of the profiling clock is recorded in the
header in the profiling output file.
The buffer samples contains size bytes and is divided into a series of 16-bit bins. Each bin counts the number of times the program counter
was in a particular address range in the process when a profiling clock tick occurred while profiling was enabled. For a given program
counter address, the number of the corresponding bin is given by the relation:
[(pc - offset) / 2] * scale / 65536
The offset argument is the lowest address at which the kernel takes program counter samples. The scale argument ranges from 1 to 65536 and
can be used to change the span of the bins. A scale of 65536 maps each bin to 2 bytes of address range; a scale of 32768 gives 4 bytes,
16384 gives 8 bytes and so on. Intermediate values provide approximate intermediate ranges. A scale value of 0 disables profiling.
RETURN VALUES
The profil() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate
the error.
FILES
/usr/lib/gcrt0.o profiling C run-time startup file
gmon.out conventional name for profiling output file
ERRORS
The following error may be reported:
[EFAULT] The buffer samples contains an invalid address.
SEE ALSO
gprof(1)
HISTORY
The profil() function appeared in Version 7 AT&T UNIX.
BUGS
This routine should be named profile().
The samples argument should really be a vector of type unsigned short.
The format of the gmon.out file is undocumented.
BSD
June 4, 1993 BSD