Displaying 1 result from an estimated 1 matches for "uszmpwslp014lc".
2014 Jun 03
1
parsing out adjacent text
hey all,
I'm trying to figure out how to use apache's mod_status module to figure
out which of the web servers in a farm of six are processing more requests
than others.
I'm writing a script to grep out requests per second from the status
module like this:
[root at uszmpwslp014lc ~]# GET http://$(hostname -i)/server-status | grep
-i requests/sec
<dt>4.08 requests/sec - 80.9 kB/second - 19.8 kB/request</dt>
That works ok. And next I'm grepping it back down and awking it to just the
part I'm interested in:
[root at uszmpwslp014lc ~]# GET http://$(host...