04-25-2010
I, like many of the other replies, am not fully understanding what you are trying to do here. This data is available via existing tools.
But... if you are interested in rolling your own* you can write against the PerfStat API. Virtually all the performance stats on AIX come from this source. It is really easy to write against and the documentation on InfoCenter should be sufficient for anyone who can read/write C.
[* Insert disclaimer here: "Those who do not know of a Unix utility are destined to re-write it, badly."]
There is some sample source for the (netinterface portion of) LibPerfStat API here:
ifstat
(See a link to the source at the very bottom of the page)
The page also includes some commentary on syntax problems in the AIX supplied header files for LibPerfStat as encountered with GCC.
10 More Discussions You Might Find Interesting
1. IP Networking
hello everybody
how are u all.
this is mine first post on such a great and big forum.
and probably in a wrong section :confused:
i need to know about any squid monitoring tool for *.nix.
i will be very greatful for ur reply. (2 Replies)
Discussion started by: usman156
2 Replies
2. UNIX for Dummies Questions & Answers
Hi guys,
I have 8 Tru64 machines here and i want to monitor them. What open source tool i can use? Like i want to monitor the hard disk space,memory,connectivity etc. Before im using Nagios, is this applicable to UNIX?
tnx.
jeff (1 Reply)
Discussion started by: jefferson
1 Replies
3. AIX
Has anyone here had experience with a product called "SMARTS" from EMC? I am told by the SMARTS admin that he is having trouble gathering SNMP info from these AIX boxes (which are running AIX 5.3.8), because AIX uses SNMPv3 by default. We had to switch it to SNMPv1 just to get SMARTS to... (0 Replies)
Discussion started by: Kent Stevens
0 Replies
4. Infrastructure Monitoring
Hi all,
Please let me know the most using, perfect unix monitoring tool and the link for downloading the tool. It should have network server monitoring on all aspect(working users, memory usage, working services, disk space etc).
Thanks
Rath (3 Replies)
Discussion started by: ratheeshp
3 Replies
5. Solaris
Hi All,
I was wondering if there is any Network Monitoring Tool for Solaris 10 to monitor a network having hybrid operating systems. I just googled it without success.
Hope, experts will guide me to get it.
Thanks,
Deepak (0 Replies)
Discussion started by: naw_deepak
0 Replies
6. Infrastructure Monitoring
Hi All,
I was wondering if there is any Network Monitoring Tool for Solaris 10 to monitor a network having hybrid operating systems. I just googled it without success.
Hope, experts will guide me to get it.
Thanks,
Deepak (7 Replies)
Discussion started by: naw_deepak
7 Replies
7. Red Hat
Hello,
Please let me know the best and descriptive network monitoring tools available for a linux enviornment. (3 Replies)
Discussion started by: mitchnelson
3 Replies
8. Infrastructure Monitoring
hello everybody,
please could you tell me what is the best monitoring tool "Free" to monitoring sun servers in my DC.
BR, (1 Reply)
Discussion started by: maxim42
1 Replies
9. 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
10. UNIX for Advanced & Expert Users
We have AIX and RHEL. Need suggestion for system monitoring tool for AIX and RHEL. Free or paid is fine as I would like to compare. Thank you (3 Replies)
Discussion started by: kiasu
3 Replies
LEARN ABOUT DEBIAN
test::valgrind::tool::memcheck
Test::Valgrind::Tool::memcheck(3pm) User Contributed Perl Documentation Test::Valgrind::Tool::memcheck(3pm)
NAME
Test::Valgrind::Tool::memcheck - Run an analysis through the memcheck tool.
VERSION
Version 1.13
DESCRIPTION
This class contains the information required by the session for running the "memcheck" tool.
METHODS
This class inherits Test::Valgrind::Tool.
"requires_version"
This tool requires "valgrind" 3.1.0.
"new callers => $callers, ..."
Your usual constructor.
$callers specifies the number of stack frames to inspect for errors : the bigger you set it, the more granular the analysis is.
Other arguments are passed straight to "Test::Valgrind::Tool->new".
"callers"
Read-only accessor for the "callers" option.
"parser_class $session"
This tool uses a Test::Valgrind::Parser::XML::Twig parser in analysis mode, and a Test::Valgrind::Parser::Suppressions::Text parser in
suppressions mode.
"report_class $session"
This tool emits "Test::Valgrind::Tool::memcheck::Report" object reports in analysis mode, and "Test::Valgrind::Report::Suppressions" object
reports in suppressions mode.
SEE ALSO
Test::Valgrind, Test::Valgrind::Tool.
AUTHOR
Vincent Pit, "<perl at profvince.com>", <http://www.profvince.com>.
You can contact me by mail or on "irc.perl.org" (vincent).
BUGS
Please report any bugs or feature requests to "bug-test-valgrind at rt.cpan.org", or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Test-Valgrind>. I will be
notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Test::Valgrind::Tool::memcheck
COPYRIGHT & LICENSE
Copyright 2009,2010,2011 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.4 2011-08-25 Test::Valgrind::Tool::memcheck(3pm)