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...
Type: Posts; User: trancedeejay
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...
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...
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...
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...
/*
* 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...
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...
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...
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...
total: used: free: shared: buffers: cached:
Mem: 516644864 27402240 489242624 0 2265088 16936960
Swap: 0 0 0
MemTotal: 504536 kB
MemFree: 477776...
No manual entry for getfreemem
Obviously no function available or what.
Have a nice Day
Matt
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...
Nobody can help me at the moment?
Have a nice Day
Matt
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...
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...
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...
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...
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...
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
I sorted out, what an idiot thing from me.
Have a nice Day
Matt
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...
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...
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...
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...