How OS loads process in memory to execute ?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How OS loads process in memory to execute ?
Prev   Next
# 1  
Old 03-05-2010
How OS loads process in memory to execute ?

Hi,

I was Googling to get info "How OS loads process into its memory to execute?" i mean when i execute ./<exename> , How OS exectes it?

It will be better if i tell my intention,
In my $LOGNAME saveral process are running, among all of these two process are my target process. Basically I want to tag these two process some how as easily i can manage these two process by C++ code.

Do not want to execute system call frequently.

Any Suggestion/Link?

Rgds,
ashokd
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Process to read a new file entry and execute a command

I need to develop a process/daemon which will constantly monitor a file for new entry and execute a command. for eg, there is a file /var/log/inotify.log When a new entry like below gets appeneded to this file, execute the command as follows. /home/user/public_html/bad.php|CREATE ... (2 Replies)
Discussion started by: anil510
2 Replies

2. Linux

How execute exactly one process?

Hi everyone , i'm working with extremely precision timers in a project but i cant get all the precision that i need 'cause the scheduler and other processes use the processor at "the same time" (multiplexing) and 1ms isn't a 1ms is more or less 1ms . There is some way to execute only a process and... (3 Replies)
Discussion started by: bacesado
3 Replies

3. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies

4. Emergency UNIX and Linux Support

CPU and memory utilization of a process, by process name

Can someone please help me with a script that will help in identifying the CPU & memory usage by a process name, rather than a process id.This is to primarily analyze the consumption of resources, for performance tweaking. G (4 Replies)
Discussion started by: ggayathri
4 Replies

5. Shell Programming and Scripting

To execute next UNIX command after ending SFTP process.

Hi, I am trying to run a simple UNIX command after i successfully executed SFTP command as shown below. ----------------------------------------- echo 'Step-1' sftp -vvv -b path exit echo 'Step-2' ------------------------------------------ In above script it executes from the 1st... (3 Replies)
Discussion started by: gautamc
3 Replies

6. AIX

Process using the most memory

Hi:- Is there an easy way to find out which process is consuming the most memory on an AIX server? Thanks, (5 Replies)
Discussion started by: janet
5 Replies

7. HP-UX

How to find memory used by a process

Hi, Can anyone help me out in writing the shell scrip which monitors a process which is running and gives me the output of the memory being used by the process, I have the requirement of monitorig the memory usage of the process when it is running. Please help me out (3 Replies)
Discussion started by: vijayagiri
3 Replies

8. Shell Programming and Scripting

Memory in Use by a process

How do I find the amount of memory being consumed by a particular process on AIX 5L.. Thank you (0 Replies)
Discussion started by: khopdi
0 Replies

9. UNIX for Dummies Questions & Answers

Memory used by a process

Hello all 'top' command shows the top 15 processes in terms of CPU usage. Is there any other command in UNIX ,that will show the top processes in terms of memory usage ? or is there a command, that will give me the memory usage of a particular process ,if I pass the process id as a... (3 Replies)
Discussion started by: luft
3 Replies

10. UNIX for Dummies Questions & Answers

Memory used by a particular process

how to get memory used by a particular process in unix? (3 Replies)
Discussion started by: superprogrammer
3 Replies
Login or Register to Ask a Question
MEMBAR_OPS(3)						   BSD Library Functions Manual 					     MEMBAR_OPS(3)

NAME
membar_ops, membar_enter, membar_exit, membar_producer, membar_consumer, membar_sync -- memory access barrier operations SYNOPSIS
#include <sys/atomic.h> void membar_enter(void); void membar_exit(void); void membar_producer(void); void membar_consumer(void); void membar_sync(void); DESCRIPTION
The membar_ops family of functions provide memory access barrier operations necessary for synchronization in multiprocessor execution envi- ronments that have relaxed load and store order. membar_enter() Any store preceding membar_enter() will reach global visibility before all loads and stores following it. membar_enter() is typically used in code that implements locking primitives to ensure that a lock protects its data. membar_exit() All loads and stores preceding membar_exit() will reach global visibility before any store that follows it. membar_exit() is typically used in code that implements locking primitives to ensure that a lock protects its data. membar_producer() All stores preceding the memory barrier will reach global visibility before any stores after the memory barrier reach global visibility. membar_consumer() All loads preceding the memory barrier will complete before any loads after the memory barrier complete. membar_sync() All loads and stores preceding the memory barrier will complete and reach global visibility before any loads and stores after the memory barrier complete and reach global visibility. SEE ALSO
atomic_ops(3) HISTORY
The membar_ops functions first appeared in NetBSD 5.0. BSD
February 11, 2007 BSD