View RSS Feed

Maha

  1. Data Structures

    by , 03-26-2013 at 09:40 AM
    Data Structures
    Using the groups of sequential data can be restrictive in C++. To avoid the sequential data there is an introduction of data structures
    Data structures
    A data structure is a group of data elements grouped together under one name. These data elements, known as members, can have different types and different lengths. Data structures are declared in C++ using the following syntax:
    Code:
    struct structname {
    
    Datatype1 member1;
    Datatype2
    ...
    Tags: 1'", 1axa7a? Add / Edit Tags
    Categories
    Uncategorized
  2. Unix File security commands

    by , 12-19-2012 at 09: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 08: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 11:24 AM
    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 10: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