Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vmstat doesnt work bos.acct installed

Status
Not open for further replies.

steenb

Technical User
Apr 25, 2001
31
DK
(h50) oracle > vmstat
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
read: There is a request to a device or address that does not exist.
(h50) oracle > which_fileset vmstat
/usr/bin/vmstat bos.acct 4.3.3.0
/usr/ucb/vmstat -> /usr/bin/vmstat bos.compat.links 4.3.1.0
(h50) oracle > lslpp -l bos.acct
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.acct 4.3.3.0 COMMITTED Accounting Services

Path: /etc/objrepos
bos.acct 4.3.3.0 COMMITTED Accounting Services
(h50) oracle >

How to I find out why vmstat doesnt work ?
regards
Steen
BTW monitor works ...
 
What is your oslevel ? Did you reboot after install bos.acct ? If not, you need to.

Bill.
 
Hi Bill
thx for quick answer
>>
(h50) oracle > oslevel
4.3.3.0
(h50) oracle >
(h50) oracle > uptime
05:19PM up 34 days, 19:24, 3 users, load average: 0.30, 0.30, 0.38
(h50) oracle >
<<
as U can see I dont reboot frequently, but Im &quot;quite&quot; sure that I did reboot after bos.act was applied. Any way to make sure that I did reboot after bos.act ? other than reboot ...
regards
SteenB
 
Compare

who -b

with

lslpp -h bos.acct

That will give you last boot time and date/time the fileset was installed.

Bill.
 
One last thought...
If you did reboot after the install....
Perhaps you did a migration from an eariler version...your PATH may have another copy of vmstat (an old version) before the new version? /usr/bin/vmstat

#which vmstat
may help?
 
aixqueen: It's easy to see why you're listed as a top forum member....nice suggestion.

BV :)
 
Hi
first : the reboot
>>
(h50) oracle > who -b
. system boot May 03 21:55
You have mail in /usr/spool/mail/oracle
(h50) oracle > su -
root's Password:
# lslpp -h bos.acct
Fileset Level Action Status Date Time
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.acct
4.3.3.0 COMMIT COMPLETE 04/19/01 15:20:45

Path: /etc/objrepos
bos.acct
4.3.3.0 COMMIT COMPLETE 04/19/01 15:20:46
#
<<
so bos.acct was committed 190401 1520 and the last reboot was 0305.
the version :
>>
# which vmstat
/usr/bin/vmstat
# echo $PATH
/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin
#
<<
So my path doesnt point to anything else than the default place for vmstat ...
As aixqueen pointed out : good suggestion.
any other ideas ?
regards
SteenB
 
>>
(h50) oracle > vmstat 3 3
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
read: There is a request to a device or address that does not exist.
(h50) oracle >
<<
I begin to think that this might be &quot;a hardware configuration issue&quot;, how to I check that vmstat is quering hardware that I have ? or is it plain silly ?
regards
SteenB
 
I think a call to IBM is in order. That is probably your quickest route to resolving this.

Bill.
 
Yep IBM may be the fastest way......

you might want to check the diag -a command and
also the alog -o -t boot| more
and see if there are any errors when the machine came
up ..........anything without a return code 0?
. also errpt -a and look for errors in your system....
 
I might consider a reboot ...it will tell you if there are any errors...
maybe something new developed....
 
I'll contact IBM
thx for the help
regards
SteenB
 
Looking at the man page for vmstat (3rd paragraph) it looks like vmstat obtain some statistics through the /dev/kmem device file. See if you have such a file and whether the permissions are correct. My /dev/kmem permissions are:
cr--r----- 1 rot system 2, 1 Mar 07 1999 /dev/kmem

 
AIXers.

I have the same problem. Cannot run vmstat.

# vmstat
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
read: There is a request to a device or address that does not exist.

I did reboot and do have a bos.acct, /dev/kmem file, however, as mentioned by aixqueen on the other thread, oslevel and fileset version is strange.

# oslevel
4.3.0.0

# lslpp -l |grep bos.acct
bos.acct 4.3.2.1 COMMITTED Accounting Services
bos.acct 4.3.1.0 COMMITTED Accounting Services

What should I do?
 
lslpp -l bos.rte.commands

Take the level from that output and put it into an:

oslevel -l <version from above>

Post the results.

Bill.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top