Results 1 to 6 of 6
hi .
Can anyone tell me how to use the linux commands while writing a c program. eg we are writing a program and we need to find out the ...
- 06-02-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 5
how to use linux commands in a cprogram?
hi .
Can anyone tell me how to use the linux commands while writing a c program. eg we are writing a program and we need to find out the total cpu usage during its execution so how we'll be implementing it.
- 06-02-2008 #2
- 06-02-2008 #3
you can also use the exec functions family. more sophisticated but a bit more complicated. check them out with your C programming reference
Linux and me it's a love story
- 06-04-2008 #4Just Joined!
- Join Date
- Jun 2008
- Posts
- 5
same prob.
I didnt got what u said.
i need to make a c program in simple terms and need to find the total memory usage during execution.After that i have to print the o/p to on the Jsp Or Php or any presentsble language page.
thus in that form I was wondering as how to use the linux commands.
- 06-04-2008 #5Just Joined!
- Join Date
- Jun 2008
- Posts
- 5
i need to make a c program in simple terms and need to find the total memory usage during execution.After that i have to print the o/p to on the Jsp Or Php or any presentsble language page.
thus in that form I was wondering as how to use the linux commands.
- 06-04-2008 #6
hi,
here is a good article on the matter. read it and you will be up and pimping. lol
commands from C progLinux and me it's a love story


Reply With Quote
