View RSS Feed

All Blog Entries

  1. Inheritane and Friend Functions

    by , 03-26-2013 at 10:22 AM
    The private and protected members of a class cannot be accessed from outside the same class
    but it is not applicable for FRIEND functions
    The friend functions or classes declared with the friend keyword.

    If we want to declare an external function as friend of a class, thus allowing this function to have access to the private and protected members of this class, we do it by declaring a prototype of this external function within the class, and preceding it with the ...
    Categories
    Uncategorized
  2. Unix File security commands

    by , 12-19-2012 at 10:02 AM
    These are the File security commands:

    1)Chmod:
    This command is used to change the access permissions of a file or directory. It is used to control the file and directory access by users.

    Symbolic mode:
    Code:
    chmod[-R][who][+|-|=][mode…] filename
    Absolute mode:
    Code:
    Chmod[-R] mode file
    Before the command:

    Code:
    -r---w-r—test.dat
    After the command:

    Code:
    chmod 0723 test.dat
    $ls -l
    -rwx
    ...
    Categories
    Uncategorized
  3. File handling Commands:

    by , 12-19-2012 at 09:58 AM
    1)MKDir:
    This commnd is used to create a new empty directory

    Syntax:
    Code:
    mkdir directory name
    Example:

    Code:
    $mksdir dir1 dir2 dir3
    Code:
    $mkdir hello
    2)cd command:
    This command is used to change the working directory to the directory

    Syntax:
    Code:
    cd directory name
    Example:
    Code:
    $cd hello
    3)rmdir:
    This command is used to remove the required directory. This remove directory ...
    Categories
    Uncategorized
  4. Linux Sar Command to Monitoring the performance of the CPU

    by , 11-15-2012 at 12:24 PM
    Linux Performance Monitoring and Debugging Tools

    1. SAR
    Sar is the utility used to monitor system real time performance (CPU, Memory, I/O, etc) and is used to Collect performance data in the background on an on-going basis and do analysis on the historical data to identify bottlenecks.
    This utility is a part of the sysstat package.

    By using sar utility we can do the following activities.
    We can find the Collective CPU usage
    Possible to ...
    Categories
    Uncategorized
  5. Memory Management, Virtual Memory and Demand Paging in Linux

    by , 11-15-2012 at 11:54 AM
    Memory Management, Virtual Memory and Demand Paging in Linux

    Managing the memory is one of the most important activity done by Linux kernel.

    In this article we will try to explain the basics of virtual memory and demand paging.

    virtual memory and demand paging are the two important concepts in the memory management.

    Virtual Memory

    This is one of the important feature of memory management. In the early stages of computers ...
    Categories
    Uncategorized
Page 2 of 2 FirstFirst 12