Re: problem with syscall macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 13 January 2005 00:37, sounak  chakraborty wrote:
> >Just reading what is probably the first sentence would make one
> > think all you want is "cp /var/log/messages myfile".  Or perhaps
> > you want syslogd to write everything it puts in /var/log/messages
> > into another file as well.  If so see syslog.conf.  Trying to
> > figure out what this has to do with syscall3 or with a kernel is
> > making my brain hurt.
>
> exactly i want to scan through  the  log file and extract my useful
> messages to myfile and this program will work as a deamon

Then you certainly shouldn't need to use syscall3 or write any kernel 
code.  Except for the daemon aspect, grep might be all you really need.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux