Search:

Type: Posts; User: trancedeejay

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    2,085

    How to start program from subfolder

    HI
    OS Linux, C programming
    I have one folder itTestMenu in which are folders with programs. In program folders are executable files like a.out and similar. So main folder is a menu in which are...
  2. Replies
    7
    Views
    3,505

    HI Problem is that the program uses for the...

    HI
    Problem is that the program uses for the first argument:
    `free -om | grep 'Mem:' | awk '{print $4}'`

    so the first argument is char - but should be the result of mentioned code that is...
  3. Replies
    7
    Views
    3,505

    HI I found out that really is an integer problem...

    HI
    I found out that really is an integer problem - function returns character so that's why program returns error.
    How can I start program that will return integer values? Please help me I need...
  4. Replies
    7
    Views
    3,505

    Can you give me one option to start it? now is...

    Can you give me one option to start it?
    now is execvp(cmdPath,cmd)
    So there is path and arguments in the second.
    Arguments and path are located in a txt file.
    If I would be a professional...
  5. Replies
    7
    Views
    3,505

    /* * memtester version 4 * * Very simple...

    /*
    * memtester version 4
    *
    * Very simple but very effective user-space memory tester.
    * Originally by Simon Kirby <[email protected]> <[email protected]>
    * Version 2 by Charles Cazabon...
  6. Replies
    7
    Views
    3,505

    Executing a program

    HI
    I have problems with executing memtester from another program.
    I'm using Public release version of memtester and I added it to a menu, so that one of the test is memory test and you just press...
  7. HI I found out that meminfo doesn't display real...

    HI
    I found out that meminfo doesn't display real data. Free -m does.
    First I run function free -m to see how much free memory available and then I put the exact number into memtester and memtester...
  8. HI Memtester is allready written, I just have to...

    HI
    Memtester is allready written, I just have to add a part that you don't have to type amount of memory to check, but memtester checks all free memory himself, and you have to put memory size in MB...
  9. total: used: free: shared: buffers: ...

    total: used: free: shared: buffers: cached:
    Mem: 516644864 27402240 489242624 0 2265088 16936960
    Swap: 0 0 0
    MemTotal: 504536 kB
    MemFree: 477776...
  10. No manual entry for getfreemem Obviously no...

    No manual entry for getfreemem

    Obviously no function available or what.
    Have a nice Day

    Matt
  11. HI I was thinking a bit longer and I realized...

    HI
    I was thinking a bit longer and I realized that my concept of getting the values of free memory isn't the right one. Does anyone have any experience with function getfreemem()?
    I haven't got a...
  12. Nobody can help me at the moment? Have a nice...

    Nobody can help me at the moment?
    Have a nice Day

    Matt
  13. What if I would want a number that is always...

    What if I would want a number that is always changing.I just want how to determine location of nubers/text, so the it will always display anything on that location. I can't type something I don't...
  14. How to copy a word or numbers from text to other location

    HI
    I would like to open a file with text and numbers and copy from the text few words and numbers.
    Like if you want some data from system and want to data from system location be stored into...
  15. Replies
    8
    Views
    1,792

    How can I implement it in the program-I have...

    How can I implement it in the program-I have memtester and have to write a line that would display information of ram and program would run forward. So, when program starts, displays data from...
  16. Replies
    8
    Views
    1,792

    Displaying amount of ram?

    HI
    I would like to start a program (memtester, I allready have it) and the first thing is that program has to display amount of used and free memory, and then you enter amount of memory to test. The...
  17. Program that displays amount of free memory

    HI
    I would like to somthing like free function that displays amount of free memory in linux, so I want to write a program that displays amount of free memory on the system, so I suppose I have to...
  18. Replies
    3
    Views
    1,753

    Allocating ram

    HI
    Does anybody know how to allocate ram that si being used and how much of ram is free. OS is Linux.
    Have a nice Day

    Matt
  19. I sorted out, what an idiot thing from me. Have...

    I sorted out, what an idiot thing from me.
    Have a nice Day

    Matt
  20. hi I also have problem with undefined reference....

    hi
    I also have problem with undefined reference. Program worked fine before, I added few lines and it worked ok, but then my colegue updated the Monta Vista Linux and now when I want to compile it...
  21. Replies
    14
    Views
    2,360

    HI The system function works only if your...

    HI
    The system function works only if your previous location was address of the menu, so from the second program goes back to te same location, but there is problem with scripts. When I want to start...
  22. Replies
    14
    Views
    2,360

    HI I managed to link another program with execve...

    HI
    I managed to link another program with execve function(and I tried with execv and it works also),but there is a problem. It is very inportant what kind of program I'm linking. If I want to link...
  23. Replies
    14
    Views
    2,360

    Starting new program with function

    I would like to ask which function to use to start program with another program. I would like to start a program and when program ends it executes the second program.execvp, execve?
    path of the...
Results 1 to 23 of 23