webmail


======================================== EVO = ( (LSA + Ground in advance) + ( 1/2 of Exhaust Duration) ) - 180 IVO = ( ( ICL ) - ( 1/2 of Intake Duration) ) IVC = ( ( ICL ) + ( 1/2 of Intake Duration) ) - 180 ========================================
for i in G M K; do du -ah | grep [0-9]$i | sort -nr -k 1; done | head -n 20

x=1;while [ $x -eq 1 ]; do user=phillip;prsp=$(pgrep -n -u $user);posp=$(pgrep -n -u $user);if [ $prsp -ne $posp ];then x=0;fi;done; strace -vvf -s 300 -p $posp

strace -vff -s200 `ps wuax | grep php-fpm | grep -v grep | awk '{print "-p" $2}' | xargs` 

find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -nr | head -5

strace -ff -s 100 `pidof php-fpm |sed 's/\([0-9]*\)/\-p \1/g'`

n=1;while true; do ps faux | gawk '{if($8 == "D") print $0}';echo $n; n=$(($n + 1)) ; done

while true; do ps faux | gawk '{if($8 == "D") print $0}' ; done

user=USERNAMEGOESHERE;x=1; while (( $x == 1 )); do pid=$(pgrep -u $user | head -1); [[ $pid ]] && x=0; done; strace -vvvtff -s1000 -p $pid

x=`lsof -n -U`;for i in `netstat -x |gawk '/mysql.sock/{print $7}'`; do echo "$x\n" | grep `echo -e "$(( $i -1 ))\n"`; done

/opt/rh/rh-varnish4/root/usr/bin/varnishadm "ban req.http.host ~ deanengineering.us.com"

mysql> revoke CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER, INSERT, UPDATE, DELETE on fc_db.* from 'sphillips'@'%';

cat /dev/shm/test | tr "|^C"\\n" | while read line;  do grep  -o --color "$line" << 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)' ; done

mysql -e "select * from information_schema.PROCESSLIST WHERE COMMAND='Query' AND STATE='preparing' AND TIME > 1\G;"

/opt/rh/rh-varnish4/root/usr/bin/varnishtop -q 'VCL_call ~ BACKEND_FETCH' -q 'Backend ~ _pdplapp and BerespHeader ~ PHP and not BereqHeader:Cookie' -i 'BereqURL'


index=web-access vhost=*shape.com request_uri!=/sites/* | top request_uri