Setup RSYSLOG
HOW TO SETUP RSYSLOG TO LISTEN ON UDP AND TCP AND SAVE LOGS TO FOLDER BASED ON IP Testing with rsyslog server (syslog port 514 on udp and tcp), and pointing clientRead More…
HOW TO SETUP RSYSLOG TO LISTEN ON UDP AND TCP AND SAVE LOGS TO FOLDER BASED ON IP Testing with rsyslog server (syslog port 514 on udp and tcp), and pointing clientRead More…
COPY OF SITE – I have an OCD thing about thinking peoples sites might be down one day, so I copy paste the material out, but I still give full credit whereRead More…
WHATS USING SAMBA ################## LSOF ARTICLE: Here —-cheat sheet—- lsof -c smbd for i in `pidof smbd`; do echo “====PID $i====”; echo COUNT: `ls /proc/$i/fd | wc -w`; ls -lah /proc/$i/fd/; done cdRead More…
OS BITS ON LINUX/DEBIAN 64 or 32 bit ################################## So your on this step of your debian install: http://www.debian.org/CD/http-ftp/#stable When you pick the debian distro to download it asks for amd64 armelRead More…
BEST WAY TO DOWNLOAD FULL WEBSITE WITH WGET UPDATED NEW ARTICLE HERE: wget – new article covers this and also how to download from directory/browseable websites. NOTE: below worked when my site wasRead More…
How to combine/merge 2 or more folders virtually(sym/hardlinks): ################################################################# ################################################################# URL: http://unix.stackexchange.com/questions/40634/in-ubuntu-is-there-a-way-to-virtually-merge-two-folders-without-unionfs-or-aufs Lets say you have a Movies1 and Movies2 folder and you want their contents to be visible through a MoviesRead More…
Want to monitor how fast space is being cleared or used up. The resolution of this script isnt as good as I prefer it to be, I put 60 seconds to getRead More…
Redirecting Linux IO with SSH Redirecting STDOUT from LOCAL MACHINE to FILE in another MACHINE Example use would just be to copy a file. Another would be to list the contents ofRead More…
Imagine this: You stuck in a USB drive, you go in to try and write something or delete something and it says its read only filesystem. You type mount and notice theRead More…
–TEST SPEED WITH EXT3– Go to where the filesystem you mounted is at: # cd /mnt/r55 -WRITE TEST:- ZEROS DATA: # dd if=/dev/zero of=testfile0 bs=8k count=10000; sync; Hit CONTROL-C after 5 secondsRead More…