≡ Menu

October 2010

9 Linux ethtool Examples to Manipulate Ethernet Card (NIC Card)

Ethtool utility is used to view and change the ethernet device parameters. 1. List Ethernet Device Properties When you execute ethtool command with a device name, it displays the following information about the ethernet device. # ethtool eth0 Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supports [...]

{ 15 comments }

5 Best Point and Shoot Digital Cameras

These are the best selling point and shoot digital cameras. If you are getting ready to buy a gift for your family members for the holiday season, you might want to consider these easy to use point and shoot digital cameras. All these are 10 mega pixels or above with image stabilization. Did we miss [...]

{ 11 comments }

Troubleshooting Using dmesg Command in Unix and Linux

During system bootup process, kernel gets loaded into the memory and it controls the entire system. When the system boots up, it prints number of messages on the screen that displays information about the hardware devices that the kernel detects during boot process. These messages are available in kernel ring buffer and whenever the new [...]

{ 8 comments }

bzip2 command is used for compression and decompression of files. The main advantage of bzip2 is the best compression size. bzip2 vs gzip: bzip2 will compress better than gzip. Speed of bzip2 is somewhat slower than gzip and zip. bzip2 provides high rate of compression with reasonable speed. There are several Linux bz commands available [...]

{ 4 comments }

Installing software packages on HPUX can be little painful when it has lot of dependencies. depothelper utility will help you to download and install the software packages and all it’s dependencies automatically. 1. Install depothelper Download depothelper from depothelper-2.00. Unzip, and install it as shown below. # swinstall -s depothelper-2.00-hppa-11.31.depot 2. Use depothelper to install [...]

{ 0 comments }

If your server has two HBA cards connected to EMC SAN storage device, you can implement load-balancing, and fail-over on the HBA cards using the EMC PowerPath software. Powermt management utility helps you manage I/O paths from the server to the EMC storage device. In this article, let us discuss how to use powermt command [...]

{ 24 comments }

Programmers should handle all kinds of errors to protect the program from failure. In C programming language, there is no direct support for error handling. You have to detect the failure and handle the error. In C programming language, return values represents success or failure. Inside a C program, when a function fails, you should [...]

{ 5 comments }

Linux Beginners Guide to NFS Mount Using Exportfs

Using NFS (Network File System), you can mount a disk partition of a remote machine as if it is a local disk. This article explains how to export a file system to a remote machine and mount it both temporarily and permanently. 1. Export File System to Remote Server using exportfs To export a directory [...]

{ 4 comments }