On 12/09/16 at 01:25pm, Pratyush Anand wrote:
Thanks for your comments.
On Friday 09 December 2016 01:05 PM, Dave Young wrote:
> > + * (to terminate the spplication and to save current stats in file)
> > > + * # killall -s SIGTERM memtrace
> stop tracking via killall sounds not convinient. How about consider some
> command optioins like
> memtrace start
> memtrace stop
> memtrace cat
Since this a c application so we cat not have a start/stop interface. But we
can have a shell script on top of it which will help us with start/stop
Will that be fine?
It can run as a daemon, the parent process can accept cmds. Ideally it
can run both in background and in foreground. Shell scripts are not
necessary then, what do you think?
It need a makefile as well, maybe split the sources if there's more