UNix System Adminitrator Page
 
GOOGLE ADD
Crontab explained deeply
http://adminschoice.com/docs/crontab.htm
 
Comparision of shell commands (PDF)
 
Solaris TRUSS explained
 
Linux Shortcuts and Commands
 
 
Finding information about a installed Hard Drive in linux
fdisk -v : To check the fdisk version
fdisk -l /dev/sda : To check the disk sda partition table
fdisk -l /dev/hda : To check the disk hda partition table
 
How to check HDD information using Smart
root@srvr# /usr/sbin/smartctl -i /dev/hda
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: WDC WD800JB-32JJC0
Serial Number: WD-WMAM9C074154
Firmware Version: 05.01C05

Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 6
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sat Feb 18 09:06:02 2006 EST
SMART support is: Available - device has SMART capability.
SMART support is: Disabled
SMART Disabled. Use option -s with argument 'on' to enable it.
 
Enabling smart monitoring for HDD in linux
root@srvr# /usr/sbin/smartctl -s on /dev/hda
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
root@srvr#
 
Monitoring Hard Disks with SMART
http://www.linuxjournal.com/node/6983/print
 
Sorting file size in a directory
du -ksl * | sort -nr
du -ks *|sort -nr|more

to make this as an alias, add the line in your .cshrc file
alias bigfiles 'du -ksl * | sort -nr
 
Finding memory & swap info
# cat /proc/meminfo
 
Creating Swap in Linux System
http://www.tldp.org/LDP/sag/html/swap-space.html
 
Changing the Default Crontab Editor nano -> vi
# set | grep EDITOR
EDITOR=/bin/nano

# which vi
/usr/bin/vi

# export EDITOR=/usr/bin/vi
# set | grep EDITOR
EDITOR=/usr/bin/vi
_=EDITOR
#
 
Fedora Core 3 Linux Services
http://www.lboro.ac.uk/computing/security/fedora-03-services.html
Fedora, Linux list of daemons with descriptions
 
How to start/stop/status A service at booting
Synatx : chkconfig [--level levels] name

example:
chkconfig --list iptables
chkconfig --add iptables
chkconfig --level 2345 iptables on
service iptables status
Untitled Document
Terms & Conditions | Copyright © 2004-2007