Tag : grep
Hey all, I wrote a very basic script to determine if cassandra db is running. Im setting a variable called pid to the output of a ps | grep like to grab the pid of the cassandra process.#!/bin/bash pid=$(ps -ef | grep cassandra | grep -v grep | g..
hey all, Im trying to figure out how to use apaches mod_status module to figure out which of the web servers in a farm of six are processing more requests than others. Im writing a script to grep out requests per second from the status module like th..
We have a load balancer/session server that manages sessions in small files. I did a grep on the directory of session files and the server load went from 0.50 to 10.x, for all intents and purposes we were down until I canceled the grep.According to t..
Recent Comments