pub enum Stat {
Show 20 variants
Pid(u32),
Uptime(u32),
Time(u32),
Version(String),
PointerSize(usize),
RUsageUser((u32, u32)),
RUsageSystem((u32, u32)),
MaxConnections(u32),
CurrConnections(u32),
TotalConnections(u32),
RejectedConnections(u64),
ConnectionStructures(u32),
Bytes(u64),
TotalItems(u64),
CurrItems(u64),
CmdGet(u64),
CmdSet(u64),
IncrHits(u64),
DecrHits(u64),
Other {
name: String,
value: String,
},
}
Variants§
Pid(u32)
Process id of this server process.
Uptime(u32)
Number of secs since the server started.
Time(u32)
Current UNIX time according to the server.
Version(String)
Version string of this server.
PointerSize(usize)
Default size of pointers on the host OS (generally 32 or 64).
RUsageUser((u32, u32))
Accumulated user time for this process (seconds:microseconds).
RUsageSystem((u32, u32))
Accumulated system time for this process (seconds:microseconds).
MaxConnections(u32)
Max number of simultaneous connections.
CurrConnections(u32)
Number of open connections.
TotalConnections(u32)
Total number of connections opened since the server started running.
RejectedConnections(u64)
Conns rejected in maxconns_fast mode.
ConnectionStructures(u32)
Number of connection structures allocated by the server.
Bytes(u64)
Current number of bytes used to store items.
TotalItems(u64)
Total number of items stored since the server started.
CurrItems(u64)
Current number of items stored.
CmdGet(u64)
Cumulative number of retrieval reqs.
CmdSet(u64)
Cumulative number of storage reqs.
IncrHits(u64)
Number of successful incr reqs.
DecrHits(u64)
Number of successful decr reqs.
Other
Orphan stat.