From the mind of Emil Soleyman-Zomalan

To content | To menu | To search

Thursday 8 March 2007

Native Christians Massacred: The Ottoman Genocide of the Assyrians during World War I

One of my friends has sent me a research paper written by Hannibal Travis of Florida International University College of Law titled "Native Christians Massacred": The Ottoman Genocide of the Assyrians during World War I.

Please read it, discuss it, and forward it on to other interested readers.

Unix Commands to Know and Use

I will be updating this entry with commands that I have come to use throughout my system administration and engineering work. I hope that it is of some use to readers who stumble on this site. 

  1. Watch for changes in active and inactive connections in the Linux Virtual Server kernel table
    watch -n 5 "ipvsadm -L -n"
  2. List the types and amount of TCP states in the linux networking subsytem
    netstat -tan |awk '{print $6}'|perl -ne 'chomp; $a{$_}++; END { print map({ "$_:$a{$_}\n" } sort keys %a); }'
  3. List the SYN_RECV state per IP address
    netstat -tan |grep SYN_RECV |awk -F '[ :][ :]*' '{print $6}' | perl -ne 'chomp; $a{$_}++; END { print map({ "$_: $a{$_}\n" } sort key
    s %a); }'

  4. CHMOD all of the files (not directories) in a directory
    find . -type f -exec chmod a+r \{\} \;
  5. CHMOD all of the directories (not files) in a directory
    find . -type d -exec chmod a+rx \{\} \;
  6. Find the largest file in the filesystem excluding NFS mounted shares
    find / -fstype nfs -o -type f -ls | sort +6n -r | less

  7. Find the largest files in the filesystem
    find / -xdev -type f -ls | sort +6n -r | less
  8. Remove the CVS directories that populate a source directory
    find ./ -name CVS -type d -exec rm -fr {} \; -- find ./ -name .cvsignore -exec rm -f {} \;

Wednesday 28 February 2007

Nagios Alert Templates

Some of you may have first or second-hand knowledge of Nagios and the types of alerts it sends out to your Network Operations Center (NOC) or similarly functioning department. You will also notice that the alerts are difficult to read and understand at first glance -- a usability issue. I have come up with two similar looking but different templates: one is text-based and the other is HTML-based.

The HTML-based template allows the alert header to be color coded for ok, warning, unknown, and critical status. For example, the below alert message contains a green header and up arrow for the ok status. The compressed archive contains the different types of status alerts and accompanying icons.

Nagios HTML Alert
 
Nagios Alert Text 



License: Creative Commons Attribution-Share Alike 3.0  License
Download: Alerts - HTML and Text (11Kb)

Creative Commons License

Saturday 4 November 2006

Gnome-terminal Bug: Duplicate Profile Name

I'm beginning my work on Bug 363609 for gnome-terminal. Read the bug report for more information.

I'll post my findings to this entry ...

UPDATE: I'm back working on this issue. I am tracking down the last few code paths that will lead to crashes. I hope to have some time to fix those.

page 2 of 2 -