Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by hecker

  1. hecker

    How to find CPU Usage

    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
  2. hecker

    How to find CPU Usage

    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
  3. hecker

    Gvim help

    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.
  4. hecker

    Memory allocation in C

    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 ?
  5. hecker

    Socket - call function

    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.
  6. hecker

    Socket - call function

    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...
  7. hecker

    Memory allocation in C

    Does Malloc allocate contigous memory locatio ? .In general wot is the criterion followed by this function to allocate memory ?
  8. hecker

    How do we write compiler of a language in same language ?

    Like we say that compiler of C is written in C. How is that possible? How&nbsp;&nbsp;the 'c' language code of compiler will be translated to executable? <br><br>&nbsp;&nbsp;

Part and Inventory Search

Back
Top