Re: vmstat and sar problem

From: Support (support@XIATECS.NET)
Date: Wed Dec 10 2003 - 00:36:27 EST


Nice to know, but the /proc filesystem does not exist in 4.3

Sukhjeet Singh

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Robert Binkley
Sent: Tuesday, December 09, 2003 10:36 PM
To: aix-l@Princeton.EDU
Subject: Re: vmstat and sar problem

Also, non-privileged users (without setuid/setgid executables) cannot
enjoy
the advantages it provides. With this in mind, and the need for many
users
to access certain pieces of data typically contained within the kernel,
developers designed the /proc interface. /proc is a filesystem provided
by
the kernel that acts as an interface to certain in-kernel data
structures.
It also acts as a sysctl interface, but that is not within the scope of
this
article. Several kernel variables reside in /proc itself, but perhaps
the
most useful data comes from examining /proc/pid where pid is the pid of
the
process you want to examine. Within /proc/pid the owner of the process
is
also the owner of the files, so a user can easily examine his or her own
processes. A number of useful files reside within /proc/pid including:

environ the current environmet of the process
stat process statistics
statm memory process statistics
mem the memory belonging by the process
These files can be read and parsed like any other file. These are, of
course, all the variables that the kernel developer felt it necessary
and
safe for the individual users to have access to. It's nowhere as
flexible or
extensible as access to /dev/kmem, but it provides access to the most
necessary kernel data structures in a more safe manner than /dev/kmem
(and
its respective APIs) does.

Robert Lee Binkley
5009 Silver Oak
Sherwood ark 72120
** rbinkl@comcast.net <mailto:rbinkl@comcast.net>
** ************
** ************

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU]On Behalf Of
Support
Sent: Tuesday, December 09, 2003 9:08 PM
To: aix-l@Princeton.EDU
Subject: Re: vmstat and sar problem

This usually means that the commands are not at the same level as the
kernel. Did you install a ML level or some fixes that require a reboot?
Try to reboot the server and see if the problem still occurs.

Sukhjeet Singh

-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of
Rick YEH
Sent: Tuesday, December 09, 2003 9:51 PM
To: aix-l@Princeton.EDU
Subject: vmstat and sar problem

Hello AIXer,
    We have a system running AIX4.3.3 ML9 and when I type "vmstat" and
"sar"
command, the system show me as follows,

# vmstat
vmstat: 0551-129 knlist failed.#

# sar 2 4
sadc: 0551-109 Warning: The kernel data structures are not consistent.
sadc: 0551-109 Warning: The kernel data structures are not consistent.

AIX mail 3 4 000B9A5D4C00 12/10/03

10:45:19 %usr %sys %wio %idle
sar: 0551-211 Specify a positive integer for the time change.
sar: 0551-211 Specify a positive integer for the time change.
sar: 0551-211 Specify a positive integer for the time change.
sar: 0551-211 Specify a positive integer for the time change.

Can someone tell me what happen with the system? Thanks!

Rick



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:23 EDT