log-file output in separate files
From: Paal Marker (paal_at_barum.folkebibl.no)
Date: 02/25/04
- Previous message: kluu te: "Apache question,"
- Next in thread: Reuben D. Budiardja: "Re: log-file output in separate files"
- Reply: Reuben D. Budiardja: "Re: log-file output in separate files"
- Reply: James Shanks: "Re: log-file output in separate files"
- Reply: Pete Nesbitt: "Re: log-file output in separate files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: redhat-list@redhat.com Date: Wed, 25 Feb 2004 12:28:14 +0100
I need to store excerpts of logfiles in separate files from remote server.
Usually I use the commands:
grep -n "expression" /var/log/logfile
and
tail --lines=x /var/log/logfile
...for getting output
Is there a way to give these commands and then the output is
automatically stored in a new file?
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: kluu te: "Apache question,"
- Next in thread: Reuben D. Budiardja: "Re: log-file output in separate files"
- Reply: Reuben D. Budiardja: "Re: log-file output in separate files"
- Reply: James Shanks: "Re: log-file output in separate files"
- Reply: Pete Nesbitt: "Re: log-file output in separate files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: log-file output in separate files
... On February 25, 2004 03:28 am, Paal Marker wrote: ... > I need to store excerpts
of logfiles in separate files from remote server. ... > Is there a way to give
these commands and then the output is ... (RedHat) - Re: HD Patch for badsectors?
... >I have a remote server, and some sectors on that drive is not ... common
commands like ls, cp, mv, scp, tar ... "Bus error" doesn't really apply to PC hardware
(I note you ... (Debian-User) - Re: Strange problem of "read" method of filestream class.
... Poseidon wrote: ... > commands after read, otherwise no data is sent
to remote server. ... If replying to the group, please do not mail me too ...
(microsoft.public.dotnet.general) - Re: documentation & tutorials for net::ssh
... I think just knowing what I need to do to the script ... What shell command
are you giving to the remote server? ... Are the commands self-terminating, or do
they remain ... (comp.lang.ruby) - SCP directory help
... I have a script that runs a few commands to send ... the file is sent
to the remote server, it tries to place the file into ... a nested directory on
the remoter server instead of where I want to ... (comp.security.ssh)