| Deutsch English Français Italiano |
|
<vu98df$1kqer$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro <ldo@nz.invalid> Newsgroups: comp.os.linux.misc Subject: =?UTF-8?B?4oCcTXk=?= 5 Go-To Linux Commands For =?UTF-8?Q?Troubleshooting=E2=80=9D?= Date: Tue, 22 Apr 2025 23:23:27 -0000 (UTC) Organization: A noiseless patient Spider Lines: 14 Message-ID: <vu98df$1kqer$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 23 Apr 2025 01:23:27 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f96c8a384609c8e2f233b1d0d99bc169"; logging-data="1731035"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/wC6MFNMKwJQns2idY3lho" User-Agent: Pan/0.162 (Pokrosvk) Cancel-Lock: sha1:bFoMdVcC9dvgKEKQ5FI6PCyl1Fw= Jack Wallen is at it again, with another article introducing some commands useful for diagnostic purposes <https://www.zdnet.com/article/my-5-go-to-linux-commands-for-troubleshooting-and-how-i-use-them/>. One thing I recently discovered is dmesg has the “-T” option. This shows the message times as regular date/time stamps, instead of seconds after boot (but note the limitations documented in the man page). As for his use of the “ps” command, I would say, ignore the obsolete BSD-style options with no hyphens. Use more modern forms like “ps -ef” instead. Also, if you want more accurate displays of process start time and elapsed times, you can specify custom output options, like “-o user,pid,ppid,lstart,etime,cmd”.