I have a tiny problem.
I want to graph some data i have stored in a file with the RRDtool program. This RRDTooll program works with shell commands:
rrdtool create test.rrd \
--start 920804400 \
DS:speed:COUNTER:600:U:U RRA \
Now, I want to make a C program to graph these data. But i don't know how to add variables with the system command
system("rrdtool create test.rrd --start %s ...",a);
How can i do that in C. or How could i do that in a shell script????
Please Help me!