Thanks Anand !!! for the useful tip.
we can use acctcom command with option -h to find
out % of CPU time used by a process during its execution.
thanx
hecker
How can one find the %CPU Usage for a process. I don't want to use TOP command as it seems that the statistics provided by this command are based on some kind of hysteresis. I want to find the CPU processing time taken by a process upto max accuracy.
Thanx,
Hecker
I am not able to use commands like MORE from my terminal while using GVIM window.
e.g.
cmd from GVIM window :
:!grep name * | more
then it rolls over all the matches found until end and doesn't stop on pg boundary as it does in normal case when I run it from outside gvim i.e shell prompt.
thats right but in case if we try to allocate a big chunk of memory using malloc which is larger than the available biggest contiguous free block in memory. What will happen in that case ? So can we be always sure that memory block returned by malloc is contiguous ?
Yah Anna, Rotovegas is quite right . Actually even I have faced same problem sometimes. I just forgot to mention it so while using gcc or cc also mention -lnsl as an option on the command line.
Hi Anna,<br><br>I hope you might have recoverd from this problem by now. Any way I feel that your<br>problem is related to PATH variable settings. I feel that the PATH specified on your<br>host m/c does not include correct search PATH for sys/socket.h and it may be different for differnet m/c...
Like we say that compiler of C is written in C. How is that possible? How the 'c' language code of compiler will be translated to executable? <br><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.