0: Which process has port 22 open? #!/usr/bin/ksh # # PCP (PID con Port) # v1.10 08/10/2010 Sam Nelson sam @ unix.ms # # If you have a Solaris 8, 9 or 10 box and you can't # instal…
BUB.IM
The definition of vim is boundless zeal and excitement. — by cpx, since 2007. Linux, MSWindows, security, networking, and the small dotfiles that make a workstation feel like home.
Found another useful thing on the web. This is the quick guide to rescan and configure newly added LUNS in Linux. To configure the newly added LUNS on RHEL: # ls /sys/class/fc_host…
perl -e 'use POSIX qw(strftime); print strftime "%a %b %e %H:%M:%S %Y",localtime(time()- 3600*24*2);'
#mysql alias mysql="mysql –pager='less -niSFX'"
$ for drive in 0 1 2 3 4 5 6 7 > do > mt -f /dev/rmt/$drive status > done
mysql> pager less; PAGER set to ‘less’ Выводим информацию о текущих установках глобальных переменных: mysql> SHOW VARIABLES; | slow_query_log | OFF | | slow_query_log_…
I skimmed over this thread and I think I can help clarify the innodb, rsync, and lvm situation. The basic issue with just running rsync on the files under a running mysqld is that…