Linux size is part of GNU binutils.

This utility is very helpful for programmers to analyze the data from the executable files (or object files).

By default, this will provide the section size, total size for the given file name.
(more…)

Sysadmins use robots.txt file to give instructions about their site to google bots or web bots. This is called The Robots Exclusions Protocol.

Crawling is the process by which Google and other search engines discovers new and updated pages to be added to the Google index.

The program that does the fetching is called Googlebot (also known as a robot, bot, or spider). Googlebot uses an algorithmic process: computer programs determine which sites to crawl, how often, and how many pages to fetch from each site.
(more…)

This tool helps the System Administrators to manage their assets and software easily.

Easily deployable and manageable with rich features like software deployment, reports, network scanning and more makes the life easier.
(more…)

In bash shell, using bind command you can view and modify the readline keybindings.

You can also set a value to a readline variable, or macro, or function.

You can either put this in the .inputrc, you can add it using the bind command rom the command line.

In the command line, by default it uses the emacs keybinding, but you can change it to vi keybindings.
(more…)

check_ping command is a Nagios plugin that is used to check the ping output of a remote server.

Based on the ping output, you can decide to set certain warning and critical threshold level, based on which Nagios can send notifications to you.

If you’ve installed Nagios from source, you’ll find all the default plugins under /usr/local/nagios/libexec directory.
(more…)

After you’ve installed RabbitMQ server, if you don’t pay attention, depending on the usage, the log files will get filled-up very quickly.

On my server, within a month, my RabbitMQ server log file reached around 5GB in size.

Log files will be located under $RABBIT_HOME/var/log/rabbitmq directory.

The name of the log file will be “rabbit\@dev-db.log”. dev-db is the name of my server where the RabbitMQ server is running.
(more…)

Compress is one of the compression utilities available on Linux.

This command does the compression and reduces the file size using the Lempel-Ziv algorithm.

The compressed file extension that is created by this utility is .Z
(more…)

check_ftp plugin is used to verify the status of your remote FTP server.

If you’ve installed Nagios from source, check_ftp command will be located in the /usr/local/nagios/libexec directory.
(more…)

From your java application, under certain circumstances, you might be getting “java.io.FileNotFoundException: Too many open files” error message.

There are two typical solutions to it:

  1. Check your application logic and make sure it is not opening too many files unnecessarily (for example, In a loop there is file open, but it is not getting closed anywhere)
  2. Increase the open files limit on your system.

(more…)

If you have not updated PCI IDs on your system in while, it is a good idea to keep it updated once in a while.

If you notice that lspci command is not displaying the proper device name for any of the devices that are connected to your PCI bus, this might be because the PCI IDs on your system is not current.

To update the PCI IDs, use update-pciids command.
(more…)