[OpenAFS] getting cache usage?

Jason Edgecombe jason@rampaginggeek.com
Wed, 30 Jan 2008 13:45:00 -0500


Jeffrey Altman wrote:
> Jason Edgecombe wrote:
>> Hi,
>>
>> I've read ( and updated) the cmdebug man page. I'm looking for a way to
>> see how much of the afs cache is being used by (non)expired items. Does
>> cmdebug -cache do that? If not, what should I use?
>
> What does non-expired mean?
>
> Data is cached and even if there is no callback registered with a file
> server for the associated object the data may still be valid.
>
> Although I suspect you want "fs getcacheparms"
I guess non-expired meaning valid.

fs getcacheparms is what I want.

Is there a remote command to do that like cmdebug does?

Thanks,
Jason