Tags:LinuxHow to use the command of "rrdrestore" under linux?

rrdrestore - Restore the contents of an RRD from its XML dump format rrdtool restore filename.xml filename.rrd [--range-check|-r]DESCRIPTION

The restore function reads the XML representation of an RRD and converts it to the native RRD format. filename.xml The name of the XML file you want to restore. filename.rrd The name of the RRD to restore. --range-check|-r...

Operating system - Linux

Tags:Linux Command LineHow to find the biggest files under linux system?

How to find the biggest files under linux system? You may think why we need this function, if you have a limit space and need to free some space for your new documents you will find this is really useful. Because when you have a number of files, you will not know what files should be deleted at first, if you have some large files (such as audio/video clips) inside and you may want to get rid of, this function will be...

Operating system - Linux

Tags:Linux Command LineHow to replace same text in multiple files in linux?

If you have text you want to replace in multiple locations, how to replace same text with new text you want? Well, to do this, there are several ways. To replace the text Windows with Linux in all files in current directory called test[something] you can run the following commands:

perl -i -pe 's/Windows/Linux/;' test*

To replace the text Windows with Linux in all text files in current directory and down you can run...

Operating system - Linux


How to Monitor your servers with SNMP and Cacti? Here will give you some tips:

SNMP (Simple Network Management Protocol) is a protocol for managing networks. Each managed entity in the network will run an snmp server (snmpd) which is going to collect datas from the server such as networking, load, cpu ...

Cacti on the other hand is a frontend to the RRDTool with SNMP support. It collects and keep data in a MySQL database and display them through a PHP web frontend.

This article...

Operating system - Linux

   How do I know if the "NTP" is working or not? 

     Well, there is a easy way to check it. It needs 4 steps to do, see following:

     STEP 1 (Test the current server):

          Try issuing the following command:

          $ ntpq -pn

           remote refid st t when poll reach delay offset jitter
           tock.usno.navy 16 u - 64 0 0.000 0.000...

Operating system - Linux

Tags:LinuxHalt command in linux, descriptions and usage:halt

halt [options]

System administration command: turns off the computer. Insert a note in the file /var/log/wtmp; if the system is in runlevel 0 or 6, stop all processes; otherwise, call shutdown -h.



Suppress writing to /var/log/wtmp.


Call halt even when shutdown -nf would normally be called (i.e., force a call to halt, even when not in runlevel 0 or 6).


Place hard drives in standby mode before halt or power...

Operating system - Linux

How to visit the windows' shared folders from linux?

There are 3 ways to do that, you can:Using Keyboard Shortcut

You can connect to a server by opening the run application window with the Alt+F2 keyboard shortcut. You will just need to specify the server type by adding the protocol at the beginning of the command. For example smb:// will connect to a samba share; other supported protocols are ssh, ftp, sftp, http, and https.

Note: In the example below my server name is playground and the...

Operating system - Linux

How many ways can I install linux? Linux Installation Choices, the different choices of installation media, physical vs. network installs, were compared and contrasted. the installation methods can be categorizes into 4 major categories: 

Method 1:: Clean: installation that does not write to current OS storage media

Method 2:: Dual-boot: peaceful co-existence with current OS on same storage or VM environment

Method 3:: Replacement: overwriting of current OS with Linux on platform storage...

Operating system - Linux

Tags:CbuilderHow to wait for other threads in multi-threaded applications?

If your thread must wait for another thread to finish some task, you can tell your thread to temporarily suspend execution. You can either Wait for another thread to completely finish executing, or Wait for a task to be completed.

To wait for another thread to finish executing, use the WaitFor method of that other thread. WaitFor doesn't return until the other thread terminates, either by finishing its own...

Programming - C++Builder

More Articles...