In the term software or computer programming, it has a set of instructions (in simple or complex form) called a program. These instructions are also called statements, which occur sequentially or in either a conditional way or in an iterative way. To handle such types of statements some flow controls are required. These flow controls […]
Archives for February 2022
C Input Output Statements
In C Language input and output function are available as C compiler functions or C libraries provided with each C compiler implementation. These all functions are collectively known as Standard I/O Library function. Here I/O stands for Input and Output used for different inputting and outputting statements. These I/O functions are categorized into three processing […]
C Operators
One reason for the power of C is its wide range of useful operators. An operator is a function that is applied to values to give a result. You should be familiar with operators such as +,-,/. Arithmetic operators are the most common. Others operators are used for comparison of values, a combination of logical […]
Introduction to C Language
As a Programming Language, C is rather like Pascal or Fortran. Values are stored in variables. Programs are structured by defining ad calling functions. Program flow is controlled using loops, if statements and functions calls, Input and Output can be directed to the terminal or to files. Related data can be stored together in arrays […]
C File Input Output
File is not the new concept. File is a more flexible approach than the previous data entry approach. Files are the mega data structure in information processing. Storage of information and its retrieval are the vital components of system design and information system. By using files data can be stored on the disks and can […]
modprobe Command Options
The modprobe command is used to add and remove modules from the currently running kernel. Note that it also attempts to load module dependencies. Syntax: # modprobe [options] [module_name] Key Options for the modprobe Command: -c displays the current modprobe configuration. -q runs in quiet mode. -R displays all modules that match an alias to […]
How to Read Audit Log in Linux
In this post, we will see how to read the audit logs and what each line and field means. For example audit.log file logged 4 lines as follows : type=SYSCALL msg=audit(1640033159.053:177988798): arch=c000003e syscall=2 success=no exit=-13 a0=7ffc736c18a0 a1=0 a2=1b6 a3=24 items=1 ppid=130071 pid=130082 auid=1001 uid=1001 gid=1002 euid=1001 suid=1001 fsuid=1001 egid=1002 sgid=1002 fsgid=1002 tty=(none) ses=318813 comm=”pidstat” exe=”/usr/bin/pidstat” […]
How to Find Filesystem Inode Utilization in Linux
Most Linux filesystems utilize an index node (inode) data structure to reference filesystem objects such as files and directories. Each filesystem object is allocated an inode within the inode table that is used to store its various attributes and metadata. As additional files are created within a filesystem, inode usage increases and may possibly become […]