Sujet : “My 5 Go-To Linux Commands For Troubleshooting”
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.miscDate : 23. Apr 2025, 00:23:27
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vu98df$1kqer$1@dont-email.me>
User-Agent : Pan/0.162 (Pokrosvk)
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”.