Skip to content

Magenaut

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

process

Is SIGHUP sent to this orphaned process, and why doesn’t it terminate?

August 7, 2022 by Magenaut

In The Linux Programming Interface:

Categories Q&A, Unix & Linux Tags linux, process, sighup Leave a comment

Why does fork sometimes return parent and sometimes child?

August 7, 2022 by Magenaut

When running the fork call to create a new process, if it succeed it returns either 0 (the child) or the parent.

Categories Q&A, Unix & Linux Tags fork, process Leave a comment

Which process has PID 0?

August 7, 2022 by Magenaut

I’m looking for the process started in Linux which has process ID 0. I know init has PID 1 , which is the first process in Linux, is there any process with PID 0?

Categories Q&A, Unix & Linux Tags process Leave a comment

How do I tell a script to wait for a process to start accepting requests on a port?

August 7, 2022 by Magenaut

I need a command that will wait for a process to start accepting requests on a specific port.

Categories Q&A, Unix & Linux Tags networking, open-files, process, shell Leave a comment

What’s the difference between pkill and killall?

August 7, 2022 by Magenaut

I know that pkill has more filtering rules than killall. My question is, what is the difference between:

Categories Q&A, Unix & Linux Tags kill, linux, process, process-management Leave a comment

What is the difference between ps and top command?

August 7, 2022 by Magenaut

What is the difference between ps and top command ? I see that both can display information about running processes . Which one should be used when ?

Categories Q&A, Unix & Linux Tags command, process, process-management, ps, top Leave a comment

If you ^Z from a process, it gets “stopped”. How do you switch back in?

August 7, 2022 by Magenaut

I accidentally “stopped” my telnet process. Now I can neither “switch back” into it, nor can I kill it (it won’t respond to kill 92929, where 92929 is the processid.)

Categories Q&A, Unix & Linux Tags background-process, command-line, jobs, process Leave a comment

tmux session lost in unknown pts, cause and possible solution?

August 7, 2022 by Magenaut

I was trying to re-attach to a long-running tmux session to check up on a python web-application. However tmux attach claims that there is no running session, and ps shows a tmux process (first line), but with a question mark instead of the pts number.

Categories Q&A, Unix & Linux Tags process, session, tmux Leave a comment

How do I monitor opened files of a process in realtime?

August 7, 2022 by Magenaut

I know I can view the open files of a process using lsof at that moment in time on my Linux machine. However, a process can open, alter and close a file so quickly that I won’t be able to see it when monitoring it using standard shell scripting (e.g. watch) as explained in “monitor open process files on linux (real-time)”.

Categories Q&A, Unix & Linux Tags audit, lsof, open-files, process Leave a comment

Real time processes scheduling in Linux

August 7, 2022 by Magenaut

I have been learning some scheduling concepts. Currently my understanding so far is as below.

Categories Q&A, Unix & Linux Tags kernel, process, scheduling Leave a comment
Older posts
Newer posts
← Previous Page1 … Page9 Page10 Page11 Page12 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