Monday, January 3, 2011

Do You Defrag Your Hard Disk Drive

Defragmentation is a process that helps to reduce the amount of fragmentation in your file systems. Same as file fragment, disk fragments, they are created by the allocation of file in the magnetic disk.

defrag

This happens when we create, delete, move, update and copy files from one location to another. This is because our computer system cannot or have not enough contiguous space to store a complete file as a unit and instead puts parts of it in gaps between other files. In long time period, the accumulation of fragments in hard disk become bigger and bigger, it will affects the system performance, your will feel the processing become slower and slower. In the end, system slowdown, system files crash, or even more serious will decrease hard disk life span.

So, I would like to introduce a helpful application called Advanced Defrag to help you do disk defragmentation.

By using Advanced Defrag, it will assist you in analyze and defrag your hard disk completely and thoroughly. How does it work? It will search for any hard disk bad sector, unresolved file, removes any infected and corrupted file. Then it will defrag the entire related file in same location. By doing this, it will effectively maximize your system performance and improve computer system efficiency.

Besides that, it will also enhance your windows operating system, accelerate the launching time of the program and improve the file access speed. This is because hard disk no longer needs such a long time to search for a data file in different location. At the same time, it will also extend our hard disk life span. You can save up the money for other changes or further upgrade on the hard disk.

At last, I strongly recommend for Advanced Defrag. It is a user-friendly application. However, the most important is it really does done a good job on defragmentation and efficiently speed up our computer system.





Text-Processing Utilities In Linux

Text processing is different than word processing. In word processing, text is edited and manipulated in a “What-You-See-Is-What-You-Get” (WYSIWYG) environment. This enables you to produce printed copies of the text, complete with features such as graphics and tables.

Linux stores files in plain-text format. This allows you to use different processing, or filtering, utilities on the text. These utilities let you format, analyze, and manipulate text in many different ways. For example, you can format pages and paragraphs, check spelling, add page numbers and headers, and count the lines, words, and characters that a file contains.

Text-processing utilities

text processing utilities
text processing utilities

The general command syntax used for text-processing commands is

command [option ] filename(s)

Reading files
To work with files, you need to know what information they contain. One way of doing this is to use the cat command to display the contents of a file on your terminal screen. This command provides a number of options.

Options for the cat command

text-processing utilities

Viewer commands
A quicker way of viewing the contents of a file is by using viewer commands, which display the information at the start or end of a file. Examples of viewer commands include head and tail.

By default, the head command displays the first 10 lines of a file, and the tail command displays the last 10 lines of a file. Additional options can be used with these commands to view more specific areas of a file. For example, you can use the -n option with the commands to specify the number of lines they must display.

Pager commands
If a particular file is longer than one screen, it may scroll past too quickly for you to read it. You can scroll through documents at your own pace by using pager commands, which display documents one screen at a time. Examples of pager commands include less and more.

The more command is the original pager command and derives from the Berkeley version of UNIX. It enables you to move through a document in a forward direction only.

The less command was developed to replace the more command and provides a wider range of options for viewing files.

Pager command options

pager command option

Ubuntu eBook Collection

When I google around some latest Ubuntu OS, found a collection of Ubuntu eBook. For those who can read eBook and fans of Open Source, this series of Ubuntu eBook is a best collection for you.


Here the list of eBook

List of these ebooks:

Addison Wesley – Moving to Ubuntu Linux (2006)
Apress – Beginning Ubuntu Linux 3rd Edition (2008)
Apress – Beginning Ubuntu Linux 4th Edition (2009)
Apress – Beginning Ubuntu LTS Server Administration 2nd Edition (2008)
Apress – Beginning Ubuntu Server Administration, From Novice to Professional (2008)
Apress – Pro Ubuntu Server Administration (2009)
Apress – Ubuntu on a Dime, The Path to Low-Cost Computing (2009)
McGraw-Hill – How to Do Everything Ubuntu (2008)
McGraw-Hill – Ubuntu Server Administration (2008)
McGraw-Hill – Ubuntu, The Complete Reference (2008)
No Starch – Ubuntu for Non-Geeks 2nd Edition (2007)
No Starch – Ubuntu Linux for Non Geeks (2006)
O’Reilly – Learning Debian GNU Linux (1999)
O’Reilly – Ubuntu Hacks (2006)
O’Reilly – Ubuntu Hacks (2006)
Pragmatic – Ubuntu Kung Fu (2008)
Prentice Hall – A Practical Guide to Ubuntu Linux (2007)
Prentice Hall – The Official Ubuntu Book (2006)
Sams – Ubuntu 7.10 Linux Unleashed 3rd Edition (2008)
Sams – Ubuntu Unleashed 2008 Edition (2008)
The Ubuntu Packaging Guide

Thomson Course Technology – Introducing Ubuntu, Desktop Linux (2008)
Ubuntu Desktop Guide
Ubuntu Pocket Guide and Reference (2009)
Unofficial Ubuntu Starter Guide
Wiley – Hacking Ubuntu (2007)
Wiley – Ubuntu Linux Bible (2007)
Wiley – Ubuntu Linux For Dummies (2007)
Wiley – Ubuntu Linux Secrets (2009)
Wiley – Ubuntu Linux Toolbox, 1000+ Commands for Ubuntu and Debian Power Users (2008)

Download Ubuntu Ebook Collection:
hxxp://ho*tfile.com/dl/19291496/7542101/Ubuntu_ebook_collection.part1.rar.html
hxxp://hotfil*e.com/dl/19292673/243a760/Ubuntu_ebook_collection.part2.rar.html
hxxp://hot*file.com/dl/19292847/42ec0cc/Ubuntu_ebook_collection.part3.rar.html
hxxp://h*otfile.com/dl/19293117/d98b4b8/Ubuntu_ebook_collection.part4.rar.html

How To Choose Unix [Part 1]

While the Linux variant of UNIX is fast becoming a desktop operating system, UNIX’s multiuser capabilities make it ideally suitable in a server role.

choose unix

When tasked as a web or database server, a properly configured UNIX system will provide unparalleled periods of uptime, requiring little service. The structure of UNIX means that in the case of a hardware failure, sections of a data structure can be taken offline, replaced and put online again without shutting down the system. This makes UNIX a good choice for mission critical applications.

UNIX’s multi-user capabilities make it highly resistant to attack. It’s designed in such a way that even if a malicious party did gain access to the system, their activities would be restricted to the user account they had access to, leaving them unable to damage critical system resources.

For this reason, there are very few viruses that target UNIX systems, and even fewer that pose any real threat. In fact, most UNIX virus scanners, for example, those running on mail servers – do most of their work removing viruses intended for other operating systems, to which they are immune.

UNIX is also long term cost effective; because by design it’s independent of the hardware it runs on. It will obviously run faster on more powerful hardware, but it does not require powerful hardware to begin with, so existing computers in your network rarely become obsolete.

Which Unix to use
Brand names aside, UNIX comes in two main variants: commercial distributions and open source distributions. Each has it’s own distinct features and advantages that need to be carefully considered when choosing which product is right for you.

Commercial UNIX
Commercial UNIX has the distinct advantage of having IT vendor’s support. When something goes wrong in the system, there’s usually someone you can call that will help you with the problem you’re having.

Commercial distributions often adhere to established standards, so chances are high that the software you need will run reliably on your system. Commercial UNIX often utilizes proprietary code to ensure that the system is as stable as possible.

Some distributors write commercial UNIX specifically for a particular set of hardware. Examples of this include Sun’s Solaris for their SPARC range, and IBM’s AIX for their pSeries. The advantage of this approach is that the software can be highly optimized for
that hardware, giving maximum performance and a greater level of stability.

Using commercial UNIX with proprietary code does mean that the software will be guaranteed scalable, but it also means you may be locked into a particular upgrade path and can only use hardware from one specific company.

Open Source UNIX
Open source UNIX is a hotbed of emerging technology. Because the code is open and available, you can compile UNIX for just about any hardware. It is free, because open source UNIX is distributed under the GNU General Public License (GPL).

The GPL allows you to make any modifications you see fit to the code in order to improve on any system component, provided you make your changes available to the rest of the open source community under the same license, and provide them with the modified source. GPL software has no warranty of any kind.

FreeBSD, a widely used open source UNIX, works a little differently. The bulk of its code is covered by the GPL, but FreeBSD incorporates functionality from several proprietary modules, including some from the original version of BSD. So FreeBSD is covered by the GNU GPL, the BSD copyright, and has restrictions on the redistribution of several proprietary components. Ultimately this makes FreeBSD a bit of a hybrid.
One of the fastest growing UNIX variants is Linux, the UNIX-clone created by Linus Torvalds. It is particularly interesting in that it has been ported to many different platforms, from desktop machines to PDAs and mobile phones. With the arrival of UNIX desktops, such as Gnome and KDE, Linux has started to make inroads in the desktop computing market as well.

You can download open source versions of UNIX, including FreeBSD and Linux, without paying for them. But because of the terms of the GPL, you usually cannot get support for such distributions.

However, because of the wide user base, you can get support for open source UNIXes by turning to the Web, where there is a wealth of documentation and user group expertise to draw from. Alternatively, you can choose to buy commercial support from a company that
specializes in supporting open source UNIX.

Also, the flexibility to compile code for any processor doesn’t guarantee that the software will be compatible with other hardware in your system, such as the particular brand of graphics card or network hub you have. However, if you search the Internet you will often find that there is a driver project underway by others who have encountered the same difficulty.

After get known on which UNIX to choose, commercial UNIX, and open source UNIX, will talk about “Brands of commercial UNIX“, “Brands of open source UNIX” on How to Choose Unix [Part 2]

How To Choose Unix [Part 2]

Last month, I have come across how to choose Unix, with which UNIX to choose, commercial UNIX, and open source UNIX, lets see how the “Brands of commercial UNIX“and “Brands of open source UNIX”.

choose unix

Brands of commercial UNIX
Some of the most famous and widely used brands of UNIX include Sun’s Solaris and Hewlett Packard’s HP-UX.

Solaris is a binary-compatible operating system, which means that Sun have gone to some lengths to ensure that one version of their UNIX will run on all of their hardware. Solaris also features integrated Java support, although Java can be downloaded for any UNIX
distribution.

Sun also manufacture UNIX for Intel hardware as well as their own proprietary hardware.

By comparison, HP manufacture four different versions of their operating system, each fine tuned for a specific purpose. Hewlett Packard’s UNIX variants all support both RISC architecture and the new breed of Itanium chips from Intel.

Other commercial UNIX variants include IBM’s AIX and Silicon Graphics’s IRIX system.

Brands of open source UNIX
There are an increasingly large number of offshoots of open-source UNIX. However, two names are significant: BSD and Linux.

BSD UNIX is one of the oldest forms of UNIX in existence, and pioneered such technologies as the TCP/IP stack and virtual memory. It’s widely in use across the Internet as a web server.

Linux is a port of the UNIX kernel to i386 (Intel) hardware, and is one of the fastest growing and most widespread UNIXes in use today. In fact, some hardware vendors who traditionally developed proprietary UNIX systems now offer the choice of shipping their
hardware with Linux installed. For example, even though IBM have their own proprietary UNIX, they now offer the option of shipping their xSeries servers with Linux pre-installed.

As a conclusion on choosing Unix, UNIX comes in two main flavors: commercial and open source. The strength of commercial UNIX lies in its support and stability, while open source’s strength lies in innovation and portability. Well known commercial UNIXes include Sun Solaris and Hewlett Packard’s HP-UX. Well known open-source UNIXes include BSD and Linux.





Hide File Under Your JPG Image

This is a simple trick to hide your file under the Jpeg image. if you have any confidential file, you able to hide it and save it into pen drive to transfer. Once people steal your file, they have no idea to open. I get know this trick from a blog name Cypherhackz.net

  1. Prepare a Jpeg image (Hello.jpg), a document that you need to hide (confidential data. txt), i put both of this file in to a folder call “testing” under C drive
  2. Zip the both file, name it as zip
  3. Open a Comman prompt , go to the director ( C:/testing/>), type this “copy /b hello.jpg + zip.zip iCalvyn.jpg”
  4. You will found a new image name iCalvyn. jpg apear, this file contain the both of the image hello. jpg and confidential data. text insite. To open it, open this image iCalvyn. jpg with winzip, you will get the file in site.
  5. Complete, so just send this iCalvyn.jpg to the target audience. Once people obtain this image, he/she does not know what is actually hide behind.

Your PC Performance

Already 2 night i did not sleep well, my company server have some minor issue and unstable since Friday night. I need to dail-in there to monitor on the server status.

My server act weird since friday night, the network are slow, the application on workstation are running slow while transaction. When Saturday morning, everything goes normal and my phone are quite,no call from hotel, i have a peacefully saturday and having my shopping nicely. Nearly evening, the morning shift duty manager have sms me, said that the system are well.

Same as saturday night,very peaceful, no call from my company, and i was having my VCD at home till 2am, since next day are sunday ma, noneed work. Who knows sunday morning 8am get a urgent call, said that the system was down on morning 5am… Damm!!! no life for my sunday. So i have ask them to contact the application support personel and they dail in to indexing (some thing like defrag) the system, it take quite long time to do, normally it took 45Min, but today it took 1 and half hour. After indexing still the same, some more worst, the application cannot run at the workstation, totallay cant load at all.

All the GSA (Guest Service Relation) are panic when the system slow, the guest start to make noice with the slow check in and check out. Some more this moning the system down, they need to do manually. Really pity them lo~ some time get scold by those “non understanding stupid” guest.

I have no choice, support on phone also cant solve the issue, so i need to go there and see what can i do. (Sunday working, no Ove time, no allowance and no…nothing, suck benefit)

How to check your PC performance
Previously when i dail-in on morning, i saw the performance in WINDOWS TASK MANAGER are act weired (my server). The percentage are very high. so how i check the system performance, just right click behind start menu, go to TASK MANAGER

Click on the performance tab, you will see the CPU Usage and PF Usage. Last time when my academic time, one of my teacher told us, the Commit Charge (blue circle)Â must not more then Physical Memory (red circle). Commit charge are the current load program that occupied your RAM and the Physical memory are the memory you have.

Once your Commit Charge more the the Physical Memory, your PC will start slow down. You also able to see which program occupied the RAM by click on processes tab, at the list of program, Mem Usage (blue circle) are the memory occupied by certain program or application

For my case (all the picture are my home PC, not Company server), the Rtvscan.exe current consume 39MB of RAM, if i feel not neccessary there, just click End Process, the program are out. But remember that not all process able to end, once end some needed process, the PC will shut down within 30second. If not mistaken is the svhost.exe

On the other hand, if you see the CPU Usage at performance tab are high, some time near 90% to 100%, your PC are very lack and hang. you also able to check which application use the most at the processes tab, the CPU (Yellow Circle) show the number, normally it will be 99 on those application that consume most CPU Usage

Back to my case
When i arrive company, the indexing is just finish, but the application at workstation are still cant load… slow like hell. At this moment, a light bulb apear in my mind, imediate i shut down all server, plug out the power cable (to ensure no electrict and the memory buffer able to release), same to my switches, close the power, wait for 5 minute and restart everything. That all, everything goes fine after that.

IÂ back to the Performance tab at TASK MANAGER, the CPU usage are still high, suspected are some spyware in there, occupied the CPU Usage. Damm, loss my whole morning there.

Related Posts Plugin for WordPress, Blogger...