-
Recent Posts
Archives
Categories
Meta
Monthly Archives: November 2009
System resources (over) utilization
http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html Sander van Vugt is Linux Master, Trainer and Author
ps
Options -e show all proccesses -f full description -F extra full -u user list only processes belonging to user –forest lists processes as a tree structure -T show the threads with SPID -L show the threads with LWP/NLWP columns -C … Continue reading
yum
Repositories The DAG repository ATrpms repository RPMforge repository FreshRPMS repository Dries repository Relevant paths /etc/yum.conf /etc/yum.repos.d Installs a package yum install package Checks for updates yum chech-update [pack] Updates a package yum update package Information yum info package Listing packages … Continue reading
rpm
Installs the pack verbosely and printing 50 hash marks rpm -ivh pack Forces a pack install even if the dependencies are not met –force Searches all the installed packages rpm -qa Searches to what package a file belongs rpm -f … Continue reading
exim commands
Show the mail queue exim -bp Process the mail queue (non force) exim -q Process the mail queue forcing delivery except for the frozen messages exim -qf Process the mail queue forcing even the frozen messages into delivery exim -qff … Continue reading
diff
Lists differences between 2 files -i case insensitive -y list on columns -w ignores whites (spaces) -B ignores spaces -c full compare
file
Lists the file type file file_in_question Lists the file type without changing the atime file -p file_in_question
stat
Lists size, owner, group, device, inode, file type, file perms, atime, ctime, mtime about file stat file
wc
Counts the lines from a file wc -l file Counts the words from a file wc -w file Counts the chars from a file wc -m file