2009年12月3日 星期四

Linux Service - Monitoring tools

Cacti
* http://www.cacti.net/
* written in PHP

MRTG
* http://oss.oetiker.ch/mrtg/
* written in Perl

Embedded Linux - scratchbox/MontaVista

http://www.scratchbox.org/

A brief summary of features:
* Scratchbox is used by Maemo development platform (Nokia 770). But it is not restricted to that use.
* Supports ARM and x86 targets (PowerPC, MIPS and CRIS targets are experimental)
* Especially Debian is supported, but Scratchbox has also been used to cross-compile eg. Slackware for ARM.
* Provides glibc and uClibc as C-library choices
* Uses either QEMU or a real target hardware to execute cross-compiled binaries (extremely useful when cross-compiling software which uses autoconf & co.)



MontaVista Linux
http://www.mvista.com/

2009年12月2日 星期三

Linux Command - source

read the linux bash scripts
# source script files
e.g.
# source $HOME/.bashrc
# source $HOME/.cshrc
# source crosstools-env.sh

Network Routing and IP info

Show myIP (NAT server reflexive IP address)

http://www.dheart.net/ip/

http://ipid.shat.net/

http://www.ip-adress.com/

Show the routing info in Taiwan (from TWNIC)
http://map.twnic.net.tw/bwimages/dirFDCy2009s1m1/pageDisplayConnect.htm

Show the ip geography and your ip info
http://dir.twseo.org/ip-check.php

Linux Command - man, less

man -S section command
e.g.
# man -S 1 ls

Show all man pages
# man -a netstat

specified the man page to display, less is the default PAGER/BROWSER of man
# /usr/bin/less -is pure-ftpd.8

man config file
/etc/man.config

2009年12月1日 星期二

Linux Command - rdesktop

A tool that can help you to connect to Windows Terminal from linux client
http://www.rdesktop.org/

>> install the remote desktop client
# yum install rdesktop.i386

>> connect to Windows Server
# /usr/bin/rdesktop IP:port
e.g. /usr/bin/rdesktop 1.2.3.4:5678

Linux Command - readlink

readlink - display value of a symbolic link

Just display the real program, not the soft link
# readlink -f $(which gcc)
/usr/bin/ccache

# readlink -f $(which tcpdump)
/usr/sbin/tcpdump