Tuesday, April 28, 2009

How to Install All of your Ubuntu 8.10( Intrepid) Packages to Ubuntu 9.04 (Jaunty)

Click to the above image to view the post. There is a chance for missing some symbols , So Post it as image.

Saturday, April 25, 2009

What is in side Google Servers - Details of Google Servers

BEN JAI , who designed many of Google's servers.
Google's big surprise: each server has its own 12-volt battery to supply power if there's a problem with the main source of electricity. its data centers have been composed of standard shipping containers--each with 1,160 servers and a power consumption that can reach 250 kilowatts.

The Google server was 3.5 inches thick--2U, or 2 rack units, in data center parlance. It had two processors, two hard drives, and eight memory slots mounted on a motherboard built by Gigabyte. Google uses x86 processors from both AMD and Intel, Google uses the battery design on its network equipment, too.

Read more here

Wednesday, April 22, 2009

Easy Trick to save Flash and Youtube Video in ubuntu Linux

With the following 3 steps you can save your youtube and flash videos

Step-1. Open Mozilla or any of your web browser and open web page with the video that you would like to download. Wait until the video loads completely. Eg: YouTube, you can see a lighter red indicator bar reached the right end side.

Step-2. Open /tmp folder (Places-->Computer-->Filesystem-->tmp). Here you can see the flash video that you have just downloaded. The name of the downloaded video file has the word "Flash" on it.

Step-3. Rename the video file with a .flv extension and save it to any folder you like.

Saturday, April 18, 2009

Thursday, April 16, 2009

What is new in Ext4 Filesystem

Ext4 is a pure 64bit Filesystem
Ext4 supports individual files upto 16TB
Ext4 supports File systems of 1 Exabyte (EB)(1,048,576 Terabytes) by using 48-bit data structures.
Ext4 is backward compatible with ext2 and ext3 (means you can mount this filesystems as ext4, existing data will not lose)
Ext4 supports upgrade compatibility, so you can easly upgrade your ext2 and ext3 filesystems to ext4.
ext4 having features such as, extents, journaling checksumming, block allocation, delayed allocation, faster fsck, on-line defragmentation, and larger directory sizes (up to 64,000 files).

Read More here

Wednesday, April 1, 2009

Howto Enable Process Accounting in Ubuntu: Acct will log user process

If you Enable process accounting in your system, it will help you to keep track of your user processes. It is very useful for System administrators for keeping log of your users.

in Ubuntu Process accounting can be done by installing utility called Acct

$ sudo apt-get install acct

$ sudo touch /var/log/pacct - make a log file for process accounting

$ sudo accton /var/log/pacct - enable process accounting on


$ /etc/init.d/acct start

For viewing the Process Information Use the following command

Display details about users' connect time

$ ac
ac command displays a report of connect time in hours based on the logins/logouts.

ac - Print total connection time.
ac -dp - display daily (-d) connection totals by person (-p)

Display information about previously executed user commands

$ sudo lastcomm john - will display the commands executed by user john

$ sudo lastcomm rm - search and display log by command rm

$ sudo lastcomm pts/1 - search and display log by terminal name

Print Accounting statistics

$ sudo sa
sa command will display information about previously executed commands, The information can also be summarized on a per-user basis

The output fields are labeled as follows:

cpu sum of system and user time in cpu seconds
re “real time” in cpu seconds
k cpu-time averaged core usage, in 1k units
avio average number of I/O operations per execution
tio total number of I/O operations
k*sec cpu storage integral (kilo-core seconds)
u user cpu time in cpu seconds
s system time in cpu seconds
Display ouput per user
$ sudo sa -u

Display the number of processes and number of CPU minutes on a per-user basis
$sudo sa -m

By using sa command and looking at re, k, cp/cpu time you can find out suspicious activity or user and command who is eating your CPU and Memory . An increase in CPU/memory usage is indication of problem.

see more here http://www.gnu.org/software/acct/manual/html_mono/accounting.html