1. 至/root/bin目錄下,新增一shell script的檔案,名為diskspace.sh,內容如下:
#!/bin/bash
df -h | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5 " " $1 }' | while read output;
- Mar 04 Tue 2008 15:23
轉貼: 每日檢查硬碟的使用量,當到達90%時寄出Alert mail
- Mar 02 Sun 2008 22:55
轉貼: Windows FTP Servers - Free FTP Server Software
http://compnetworking.about.com/od/ftpfiletransfer/tp/aatp_winftpserv.htm
裡頭除了有講filezilla,zftp以外
- Feb 28 Thu 2008 09:33
PHP Obfuscator and Encoder
# PHP Obfuscator and Encoder
http://www.raizlabs.com/software/phpobfuscator/
- Feb 27 Wed 2008 07:36
VirtualBox Bridge Configure
Host: Windows XP SP2
Guest: Centos 4.4
- Feb 19 Tue 2008 20:08
FOG - Free, Ghost-like Cloning Solution
http://sourceforge.net/projects/freeghost/
- Feb 19 Tue 2008 20:03
[VirtualBox] Free VMWare
http://www.virtualbox.org/