[root@alanstudio]# cat /etc/redhat-release

Show the linux redhat OS release version

[root@alanstudio]# free -m

Show the ram and swap status in Mb

[root@~]# hdparm -t /dev/hda

Check the write/read of Hdd buffer

[root@~]# hdparm /dev/hda

Check Hdd parameter

[root@~]# hdparm -c1 -d1 /dev/hda

Open DMA 32 bit for IDE HDD.

[root@~]# iostat -k

Check the IO status of Hdd in kbyte.

[root@alanstudio]# lsmod

List all the module

[root@alanstudio]# ps auxf

Show all processing in tree list

[root@alanstudio]# uptime

Show the server up time and loading

[root@alanstudio]# uname -r
[root@alanstudio]# uname -a

Show the linux kernel and bit version

[root@~]# watch -n 1 cat xxx

Watch the execution and its output per 1 sec.

[root@alanstudio]# which ls

shows the full path/alias of (shell) commands.

[root@alan ~]# ldd /usr/bin/rsync

libacl.so.1 => /lib64/libacl.so.1 (0x0000003e91c00000)
libpopt.so.0 => not found
libc.so.6 => /lib64/libc.so.6 (0x0000003e90c00000)
libattr.so.1 => /lib64/libattr.so.1 (0x0000003e99a00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003e90800000)

To print the shared library dependencies

iostat -x 5 5

To check I/O stat per each device for read/write.
Install it via "yum install sysstat"

Server is hosted by Alanstudio
Linux Operating System

Recommend screen resolution 1024 x 768 / IE / FireFox
Alan Studio © 2007 by Alan Cheung Hin Lun. All rights reserved.