EmbLogic's Blog

Category Archives: Linux Internals and System Programming

compress using tar……

created compressed file using tar also using the following command: tar cvzf myappmy_1.1.tar.gz myapp_1.1

Posted in Linux Internals and System Programming | Tagged | Leave a comment

man page

completed and created man page with the reference of siddarth sir update……

Posted in Linux Internals and System Programming, Uncategorized | Tagged | Leave a comment

Thread synchronization done.

Running 100 applications in background writing and reading on Device… working absolutely fine.  

Posted in Character Driver, Linux Internals and System Programming | Leave a comment

Understanding Linux InterProcess Communication-III: Duplicate Process

The Exec family calls To create a new process, which initially is a near duplicate of its parent process . Often, the new process immediately executes a new program. The act of creating a new process is called forking, and … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

Understanding Linux InterProcess Communication-II: Process Management

Before we should discuss about PIPES and FIFOs. There are is a difference between an “Inter-process Communication Mechanism” and an “Inter-process Communication Resource/Facility”, though it is very difficult to draw a line between them and differentiate between them. Pipes and … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

Understanding InterProcess Communication in Linux: Introduction to Interprocess Communication

Before we dive deep into the subject matter, there are a few things that we should understand: Let’s understand the actual meaning of: IPC. IPC is an abbreviation that stands for “Inter-process Communication”. It denotes a set of system calls … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

To run any command on system boot

I found it only 4 fedora 14… just put the command in a file called /etc/rc.local or put in /etc/rc.d/rc.local or write a script in /etc/init.d/ and reboot the system…. that command will work. Still searching a common method for … Continue reading

Posted in Linux Internals and System Programming | Leave a comment

this program on pipes is not wroking , can anyone tell me why ??

#include #include #include int main() { char buff[10]; char tx[]=”hello wor\n”; int fd[2],t; pid_t pd; printf(“\n %s”,tx); pipe(fd); pd = fork(); if (pd == 0 ) { printf(“\n parent cerated : %d”,getpid()); close(fd[0]); write (fd[1],tx,sizeof(tx)); } else if(pd == 1) … Continue reading

Posted in Linux Internals and System Programming | 3 Comments

Solution: How to Create a man page?

Step 1: type in: “vi myapp.1″ (yes, it’s a “one” at the end it’s NOT an “L”). Step 2: Type it in exactly the way it’s given, maintaining all the spaces and every word of it. .TH MYAPP 1 .SH … Continue reading

Posted in Embedded Linux, Linux Internals and System Programming | 1 Comment

linux…………..

how linux os  is more secure then windows , however the linux is open source and any body easily catch the kernel and access it………………..???????????//

Posted in Linux Internals and System Programming | 1 Comment