Issue with AIX 5.3 and nlist/nlist64/knlist


 
Thread Tools Search this Thread
Operating Systems AIX Issue with AIX 5.3 and nlist/nlist64/knlist
# 1  
Old 03-03-2005
Issue with AIX 5.3 and nlist/nlist64/knlist

I have encountered a problem that I cannot resolve. We have two
different AIX 5.3 boxes. On one box, regardless of whether it is
booted in 32 bit mode or 64 bit mode, I can obtain kernel metrics (i.e,
using kernel symbol names sysinfo or avenrun) via the nlink or nlink64
system call. On the second machine, these calls fail. I have never
seen these calls fail before. The machines do have different patches
applied but nothing is obvious as to why the kernel symbol names would
not be present on the second machine. My understanding is that these
kernel symbol names should be there. Both machines are functioning
fine. Does anyone have an idea as to the cause of this problem?
Thanks in advance.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX 7.1 gcc 4.8.5 issue

hey guys , after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036... (17 Replies)
Discussion started by: yahia
17 Replies

2. Programming

Gcc 4.5.8 on AIX 7.1 issue

after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 Replies

3. HP-UX

Ftp command nlist not supporting in sftp

Hi, We are using HP-UX. Previously we were using ftp to connect to remote list the text file name and copy into local file with .ls extension. For this we are using nlist RBOBAR*.txt DMSFT.ls now we want to convert the integration with sftp. So In sftp nlist command is not supported. How can we... (8 Replies)
Discussion started by: Pelins
8 Replies

4. AIX

GIT issue in AIX 6.1

Hello, I recently installed GIT 1.8.1 on my AIX 6.1 machine referring to AIX Open Source Packages | Main / git website and am facing a few issues with it. Now if I login as root and issue git commands like git --version I get the response as shown : git version 1.8.1And I have tried creating... (4 Replies)
Discussion started by: gaugeta
4 Replies

5. AIX

AIX FTP issue

Hi, I ftpd "binary" mode into a AIX server and transferred .tar.tar files. When i untar using "tar -xvf <filename>.tar.gz" It shows "tar: 0511-169 A directory checksum error on media; 0 not equal to 70568." Please Help!! (3 Replies)
Discussion started by: Priya Amaresh
3 Replies

6. AIX

AIX Networking Issue

Hello, I'm trying to set up an internet connection on an IBM RS/6000 7043-140 machine with AIX v 5.1. The problem is that no matter if it is setup to receive an IP address from another DHCP server or has a static IP set, it seems to act as a DHCP server that assigns a random IP address with a... (3 Replies)
Discussion started by: Xsystem
3 Replies

7. AIX

AIX password issue

Hi, My server is an AIX server. Whenever a new user is created through smitty, the first time he logs in, he has to change his password. But i want to disable it and to enable the password expiry to a month. (i.e) after every month, he has to change his password. Any help in this matter... (1 Reply)
Discussion started by: mac4rfree
1 Replies

8. AIX

Issue "Error 404" when upgrade AIX 5300-05-CSP-0000 to AIX (5300-09-02-0849)

Please read my issue! My old server using: - AIX system operating (5300-05-CSP-0000) - WebSphere 6.1.0.21 (Fix Pack 21) After I've upgraded version AIX - AIX system operating (5300-09-02-0849) - WebSphere 6.1.0.21 (Fix Pack 21) I have 1 issue when I access home page: "Error... (0 Replies)
Discussion started by: gamonhon
0 Replies

9. AIX

knlist API on AIX 5.3

Hi, I have written an application which reports the CPU information like user cpu%, sys cpu%, idle cpu% and wait cpu%. The application is built on an AIX 5.1 machine. The appliaction runs fine on AIX 5.1 and 5.2 and their results match with that of the topas command. But when I run the... (1 Reply)
Discussion started by: allthanksquery
1 Replies

10. AIX

Problem with knlist in AIX 5.3 for Power5 processor

Hi all, I have a AIX 5.3 Installation on the Power5 processor. I am using the knlist API for getting the details of the CPU details like user cpu, kernel cpu, idle cpu and wait cpu. My code is working fine on other Installations of AIX like PowerPC_POWER4 but it is giving wrong values on Power5... (0 Replies)
Discussion started by: rajesht
0 Replies
Login or Register to Ask a Question
nlist_pa(3C)															      nlist_pa(3C)

NAME
nlist_pa: nlist(), nlist64() - get entries from name list on PA-RISC systems SYNOPSIS
nlist() Command: [flag]... cfile... nlist64() Command: [flag]... cfile... [library]... Remarks The use of symbol table type and value information is inherently nonportable. The use of or should reduce the effort required to port a program that uses such information, but complete portability across all HP-UX implementations cannot be expected. This manpage describes and for PA-RISC systems. For and on Integrity systems, see nlist_ia(3C). DESCRIPTION
and have basically the same functionality except that uses the structure and can process SOM or ELF files. uses the structure and can only process SOM files. The or function examines the name list in the executable file whose name is pointed to by file_name, and selectively extracts a list of values and puts them in the array of structures pointed to by nl. The array of structures initially contains only the names of variables. Once the or function has been called, the variable names are augmented with symbol information. The list is terminated by a null name, which consists of a null string in the variable-name position of the structure. The name list of the file is searched for each variable name. If the name is found, the symbol's type, scope, and value in the file is inserted into the name list structure. For if the file searched is an ELF file, the section index is also inserted. For and SOM files, the subspace index is inserted. On wide-mode systems, the symbol value is 64-bit. If the file searched is a SOM file, then the value field is zero padded. If the name is not found, the fields in the name list structure are set to 0. The structures and are defined in the include file See a.out(4) and nlist(4) for further description of the symbol table structure. The file must have the organization and symbol table described for an file in a.out(4). The information is extracted from the symbol table used by the linker, ld(1). On machines that have such a file, this subroutine is useful for examining the system name list kept in file In this way programs can obtain system addresses that are up to date. RETURN VALUE
All structure fields are set to 0 if the file cannot be found or if it is not a valid object file containing a linker symbol table. and return: An error occurred. Success. WARNINGS
The header file is automatically included by for compatibility. However, including is discouraged if the only information needed from is for use by or If is included, the line may need to follow it. SEE ALSO
ld(1), elf(3E), a.out(4), nlist(4). STANDARDS CONFORMANCE
PA-RISC Systems Only nlist_pa(3C)