From de7094af68ef0d6b83dd19100afc62a4ed5ab27e Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 14 Apr 2003 09:18:36 +0000 Subject: Document NET CACHE (This used to be commit d1cd95e6b7d2c0e73595d8f19b994da43ca4217d) --- docs/docbook/manpages/net.8.sgml | 60 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 3 deletions(-) diff --git a/docs/docbook/manpages/net.8.sgml b/docs/docbook/manpages/net.8.sgml index f4f75d0c88..45bb3bcbcd 100644 --- a/docs/docbook/manpages/net.8.sgml +++ b/docs/docbook/manpages/net.8.sgml @@ -527,10 +527,64 @@ or workgroup. Defaults to local domain. CACHE -Interface to samba's internal gencache functions. For debugging -purposes only. +Samba uses a general caching interface called 'gencache'. It +can be controlled using 'NET CACHE'. - +All the timeout parameters support the suffixes: + + +s - Seconds +m - Minutes +h - Hours +d - Days +w - Weeks + + + + + +CACHE ADD <replaceable>key</replaceable> <replaceable>data</replaceable> <replaceable>time-out</replaceable> + +Add specified key+data to the cache with the given timeout. + + + + +CACHE DEL <replaceable>key</replaceable> + +Delete key from the cache. + + + + +CACHE SET <replaceable>key</replaceable> <replaceable>data</replaceable> <replaceable>time-out</replaceable> + +Update data of existing cache entry. + + + + +CACHE SEARCH <replaceable>PATTERN</replaceable> + +Search for the specified pattern in the cache data. + + + + +CACHE LIST + + +List all current items in the cache. + + + + + +CACHE FLUSH + +Remove all the current items from the cache. + + -- cgit