Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

logs

How to find out from the logs what caused system shutdown?

August 10, 2022 by Magenaut

E.g. I’m seeing this in /var/log/messages:

Categories Q&A, Unix & Linux Tags logs, shutdown Leave a comment

Is there an easy way to log all commands executed, including command line arguments?

August 10, 2022 by Magenaut

I am trying to find how to log a specific instantiation of rrdtool to see whether the path it is receiving is incorrect.

Categories Q&A, Unix & Linux Tags arguments, audit, logs, proc Leave a comment

stderr gets flushed before stdout, when using file logger

August 10, 2022 by Magenaut

My python code:

Categories Q&A, Unix & Linux Tags logs, nohup, python, stderr Leave a comment

Daemontools multilog loses log line time information. How to fix it?

August 10, 2022 by Magenaut

I am using daemontools to monitor a process and its output log. I am using multilog to write the logs to disk.

Categories Q&A, Unix & Linux Tags buffer, daemontools, logs Leave a comment

Where are my sshd logs?

August 9, 2022 by Magenaut

I can’t find my sshd logs in the standard places.

Categories Q&A, Unix & Linux Tags arch-linux, logs, openssh, sshd Leave a comment

View stdout/stderr of systemd service

August 9, 2022 by Magenaut

I have created a simple systemd service file for a custom application. The application works well when I run it manually, but my CPU gets maxed out when I run it with systemd.

Categories Q&A, Unix & Linux Tags io-redirection, logs, systemd Leave a comment

How do I add newlines between lines printed on the command line?

August 9, 2022 by Magenaut

Mail logs are incredibly difficult to read. How could I output a blank line between each line printed on the command line? For example, say I’m grep-ing the log. That way, multiple wrapped lines aren’t being confused.

Categories Q&A, Unix & Linux Tags command-line, logs, output, text-formatting, text-processing Leave a comment

Logging SSH access attempts

August 9, 2022 by Magenaut

I’ve configured an ubuntu server with openssh in order to connect to it and execute commands from a remote system like a phone or a laptop. The problem is… I’m probably not the only one.

Categories Q&A, Unix & Linux Tags logs, ssh Leave a comment

Record every keystroke and store in a file

August 9, 2022 by Magenaut

I need to record every keystroke and store in a file in the user directory ~, when using my account, I am not sudoer and I cannot install programs (like logKeys) in any way. How could I do so using terminal?

Categories Q&A, Unix & Linux Tags input, keyboard, logs, x11 Leave a comment

Monitoring activity on my computer.

August 9, 2022 by Magenaut

So recently I found that someone has been using my computer without consent, browsing folders, etc….

Categories Q&A, Unix & Linux Tags forensics, logs, monitoring, security Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress