LICENSE NEWS README
Raindrops Aggregate Aggregate::LastDataRecv Aggregate::PMQ LastDataRecv Linux ListenStats Middleware Middleware::Proxy Struct Watcher

Methods

#total

class Raindrops::ListenStats

Used to represent the number of active and queued sockets for a single listen socket across all threads and processes on a machine.

For TCP listeners, only sockets in the TCP_ESTABLISHED state are accounted for. For Unix domain listeners, only CONNECTING and CONNECTED Unix domain sockets are accounted for.

active connections is the number of accept()-ed but not-yet-closed sockets in all threads/processes sharing the given listener.

queued connections is the number of un-accept()-ed sockets in the queue of a given listen socket.

These stats are currently only available under Linux

Public Instance Methods

total () source

the sum of active and queued sockets

Parent: Struct.new(:active, :queued)
Pages Classes Methods


mail archives: https://bogomips.org/raindrops-public/
	http://ou63pmih66umazou.onion/raindrops-public 
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.raindrops 
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.raindrops 
public: raindrops-public@bogomips.org / private: raindrops@bogomips.org
source code: git clone git://bogomips.org/raindrops.git
	git clone https://bogomips.org/raindrops.git