RPM Based Linux Flavors like CentOS need additional information in the Init script in order to work properly with chkconfig : # description: Description of the script # processnam…
#!/usr/bin/perl # wgrep.pl - windowed grep utility #!/usr/bin/perl # wgrep.pl - windowed grep utility use strict; use IO::File; use IO::Handle; my ($before,$after,$show_stars,$show…
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…
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>…
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…
http://www.webdavsystem.com/ajaxfilebrowser