[16] in Info-AFS_Redistribution

home help back first fref pref prev next nref lref last post

Oh, btw.

daemon@ATHENA.MIT.EDU (Michael T. Stolarchuk)
Thu Nov 15 19:33:28 1990

To: nydick@pookie.psc.edu
Cc: Info-AFS@transarc.com
Date: Thu, 15 Nov 90 19:29:18 -0500
From: Michael T. Stolarchuk <mts@terminator.cc.umich.edu>


Since there is a rx protocol entry called getstatistics, and since the
parameters you described are returned by that call, and since it isn't
hard to write code to issue those primitives, I have a command which
dumps the contents of the getstatiscs at your client *without*
modification of the file server.

It is not derived from the fsprobe code, but it could have used that
code.  Because of fsprobe's organization, it made the problem more
complex as opposed to less complex.  The hard part was modifying
rxgen to make routines to display the contents of structures
(so I wouldn't have to write them each time I wanted to display
contents of .xg-ed structures)

The command can be pointed at any file server (just like scout)
Since your machines are up, here are some numbers:

emptys.ifs% rstat afsrv1.psc.edu
 CurrentMsgNumber:0
 OldestMsgNumber:0
 CurrentTime:658715043
 BootTime:658684414
 StartTime:658682212
 CurrentConnections:108
 TotalViceCalls:23799
 TotalFetchs:17365
 FetchDatas:1804
 FetchedBytes:668985830
 FetchDataRate:3082884
 TotalStores:2814
 StoreDatas:2209
 StoredBytes:0
 StoreDataRate:0
 TotalRPCBytesSent:0
 TotalRPCBytesReceived:-1
 TotalRPCPacketsSent:0
 TotalRPCPacketsReceived:0
 TotalRPCPacketsLost:0
 TotalRPCBogusPackets:0
 SystemCPU:399603
 UserCPU:203905
 NiceCPU:0
 IdleCPU:7237523
 TotalIO:98356
 ActiveVM:33160
 TotalVM:129024
... output truncated to make for a shorter message...

Obviously, the command isn't interesting because it can display these
values, its interesting because (like fsprobe) it can be used to collect
these numbers (structures) and do something with them.

mts. the snail.

home help back first fref pref prev next nref lref last post