There is no point in calling nlist if you are going to ignore the address it returns. If nlist isn't working, you need to fix the problem. There is a bit of a standard among system programmers: if you are going to read a kernel strucre called "cnt", you should call the structure in which you store it "cnt".
Hi,
Will anybody tell me what is this 'intransient blocking page faults' in HP-UX, it is in the structure _pst_vminfo in the header file /ust/include/sys/pstat/vm_pstat_body.h? (4 Replies)
I'm new to PERL, but I want to take the page source and write it to a file or standard output. I used perl.org as a test website. Here is the script:
use strict;
use warnings;
use LWP::Simple;
getprint('http://www.perl.org') or die 'Unable to get page';
exit 0;
... (1 Reply)
Hi All,
Sorry to ask this question and i am not sure whether it is possible. please reply to my question. Thanks in advance.
I need a perl script ( or any linux compatible scripts ) to copy the graphical contents of the webpage to a word pad.
Say for example, i have a documentation site... (10 Replies)
Hello,
I've been reading your forums for quite a while and the great amount of information I find here always come in hand.This time however, I need some specific help...
I have a doubt with an AIX server which I'm failing to understand as I'm new to its concept of memory management...
... (8 Replies)
Hi,
OS = AIX 5.3
Large number of page faults recently start to occure on AIX 5.3 lpar with mysql database installed. I need help in setting AIX OS parameter to solve the paging problem and some guidance on interpreting my stats
t
Code:
# vmstat... (5 Replies)
I realise that with GNU 'info' a lot of developers become, dare I say it, quite lazy when it comes to providing a well written man page - and some argue they're not needed at all. But I find, in the products that I develop, that man pages are used more often for quick reference, and therefore the... (1 Reply)
hi guys i hope you can help me with this situation.
i have 2 lpar with aix 7.1 and oracle 11gr2 in grid mode.
when i start nmon to check the current system health i notice that page fault are over 3000/s. than i have opened a case with ibm and they say that the problem is not paging nor... (10 Replies)
Hi guys,
I have a zone on a M5000 server running solaris 10. The zone has an SAP application running on it and facing some performance issues. As part of the troubleshooting, I've been recommended to look for any paging on the OS. Please advise how to look for the paging.
I've been looking at... (4 Replies)
I need help to make a script for Ubuntu to OSCam that copy the text on this website that only contains "C: ip port randomUSERNAME password" and want to exclude the text "C:" and replace the rest with the old in my test.server file.
(line 22) device = ip,port
(line 23) user =... (6 Replies)
Discussion started by: baxarn
6 Replies
LEARN ABOUT OSX
kvm_nlist
kvm_nlist(3KVM) Kernel VM Library Functions kvm_nlist(3KVM)NAME
kvm_nlist - get entries from kernel symbol table
SYNOPSIS
cc [ flag... ] file... -lkvm [ library...]
#include <kvm.h>
#include <nlist.h>
int kvm_nlist(kvm_t *kd, struct nlist *nl);
DESCRIPTION
The kvm_nlist() function examines the symbol table from the kernel image identified by kd (see kvm_open(3KVM)) and selectively extracts a
list of values and puts them in the array of nlist structures pointed to by nl. The name list pointed to by nl consists of an array of
structures containing names, types and values. The n_name field of each such structure is taken to be a pointer to a character string rep-
resenting a symbol name. The list is terminated by an entry with a null pointer (or a pointer to a null string) in the n_name field. For
each entry in nl, if the named symbol is present in the kernel symbol table, its value and type are placed in the n_value and n_type
fields. If a symbol cannot be located, the corresponding n_type field of nl is set to 0.
RETURN VALUES
The kvm_nlist() functions returns the value of nlist(3UCB) or nlist(3ELF), depending on the library used.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO kvm_open(3KVM), kvm_kread(3KVM), nlist(3ELF), nlist(3UCB), attributes(5)NOTES
Although the libkvm API is Stable, the symbol names and data values that can be accessed through this set of interfaces are Private and are
subject to ongoing change.
SunOS 5.10 2 May 2002 kvm_nlist(3KVM)