blob: 48367c600b24b114fa333c611fa791e4b59a5083 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<!doctype html>
<html lang="EN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/style.css">
<title>Bloggings</title>
</head>
<body>
<header>
<h1>Bloggings</h1>
<a href="/index.php">Back</a>
</header>
<main>
<article>
<h2>Lnav - maîtriser vos journaux</h2>
<h3>2021-06-13</h3>
<img src="/images/lnav.webp" alt="lnav screenshot">
<p>Aujourd'hui, j'ai découvert LNAV, un excellent moyen de visualiser les logs de mon serveur.</p>
<p>Sous Centos:</p>
<p>
<pre><code>
sudo dnf install lnav
lnav /var/log
</code></pre>
</p>
<p>Ceci affiche tous les logs dans /var/logs, et en couleur. </p>
<p>Voir Lnav ici : <a href="https://lnav.org/">lnav.org</a>.</p>
</article>
</main>
<footer>
<p> </p><p>§</p></footer>
</body></html>
|