Re: lite brydd [OT]

<[email protected]>
Newsgroups gmane.linux.debian.user.swedish
Message-ID <20140714181002.4e0edb78@igor>
On Mon, 14 Jul 2014 17:38:58 +0200
Karl Thorén <[email protected]> wrote:

> Hej!
> 
> Körs skriptet vid start så hamnar echo (stdout) utskrifter bara på den
> aktiva konsollen. Dvs sparas inte till någon logg.
> 
> Vill du spara till syslog så använd programmet logger istället.
> 
> Byter du ut
> echo "Setting max frequency of all CPUs to 3.4GHz"
> till
> logger -s "Setting max frequency of all CPUs to 3.4GHz"
> Så skrivs medelandet till syslog och stderr.
> 
> Lite beskrivning finns här
> http://www.cyberciti.biz/tips/howto-linux-unix-write-to-syslog.html
> 
> /Karl
> 
> 

Stort tack Karl!

mvh
/Janne
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.