Deepin Linux often automatically cuts off the monitor signal

Updated on number 2024-02-09
16 answers
  1. Anonymous users2024-02-05

    The differences between the HUP, INT, KILL, TERM, and TSTP interrupt signals in Linux are as follows: different typing, different corresponding operations, and different enablements.

    First, the typing is different.

    1. HUP interrupt signal: HUP interrupt signal is a signal sent by the terminal driver when the user types.

    2. INT interrupt signal: INT interrupt signal is a signal sent by the terminal driver when the user types.

    3. KILL interrupt signal: KILL interrupt signal is a signal sent by the terminal driver when the user types.

    4. Term interrupt signal: The term interrupt signal is a signal sent by the terminal driver when the user types.

    5. TSTP interrupt signal: The TSTP interrupt signal is a signal sent by the terminal driver when the user types. Second, the corresponding operation is different.

    1. Hup interrupt signal: The corresponding operation of the hup interrupt signal is to suspend the process and sleep.

    2. INT interrupt signal: The corresponding operation of the INT interrupt signal is to shut down all processes normally.

    3. Kill interrupt signal: The corresponding operation of the kill interrupt signal is to forcibly shut down all processes.

    4. Term interrupt signal: The corresponding operation of the term interrupt signal is the normal exit process.

    5. TSTP interrupt signal: The corresponding operation of the TSTP interrupt signal is to temporarily deactivate the process.

    Third, the use is different.

    1. HUP interrupt signal: After the HUP interrupt signal is sent, it can be re-entered by the user to resume the enabling process.

    2. INT interrupt signal: After the INT interrupt signal is sent, it cannot be re-entered by the user to resume the enabling process.

    3. kill interrupt signal: After the kill interrupt signal is sent, it cannot be re-entered by the user to resume the enabling process.

    4. Term interrupt signal: After the term interrupt signal is sent, it can be re-entered by the user to enable the process.

    5. TSTP interrupt signal: After the TSTP interrupt signal is sent, it can be re-entered by the user to continue using the process.

  2. Anonymous users2024-02-04

    Hup 1 terminal disconnection.

    int 2 interrupt (same as ctrl + c).

    quit 3 (same as ctrl +.)

    term 15.

    kill 9 to force termination.

    cont 18 continues (as opposed to stop, fg bg command).

    stop 19 (same as ctrl + z).

    The int--- is a signal sent by the terminal driver when the user types. This is a request to terminate the current operation. If this signal is captured, some simple program should either exit or allow self-sufficiency to be terminated, which is the default handling method if the program does not capture this signal.

    Programs that have a command line or input mode should stop what they are doing, clear the state, and wait for the user to input again.

    term --- is a request to terminate an execution operation entirely. It expects the receiving process to clear the self-sufficient state and exit.

    There are two interpretations --- hup.

    1, which is understood by many daemons as a request to reset. If a process can re-read its configuration file and adjust its self-sufficiency to accommodate changes without restarting, then HUP usually triggers this behavior.

    Sometimes the signal is generated by the terminal driver again, trying to come"Clear"("Termination") processes that are connected to a particular terminal. For example, at the end of a terminal session, or when the modem is hung up, the shell background does not accept the influence of the HUP's signal.

    Some users can use nohup to mimic this behavior.

    quit and term are similar--- except that it generates a memory dump.

  3. Anonymous users2024-02-03

    The hup is to make the process suspend and sleep.

    int interrupt (same as ctrl + c).

    kill the six relatives who don't recognize it.

    termexits the process normally.

    tstp stop bit.

  4. Anonymous users2024-02-02

    And kill -15 is a normal kill? What is the difference between the three of them? Thank you! ctrl+c is to terminate the command or script currently running in the terminal window, kill -9 pid, is a reckless forced termination (,

  5. Anonymous users2024-02-01

    You should post the source code, usually using setjmp as if (setjmp(jmpbuf)).

    This way, when longjmp comes back, it will go to the contents of the free resource.

  6. Anonymous users2024-01-31

    Probably not, setjmp and longjmp need to work on the same stack.

  7. Anonymous users2024-01-30

    1.Low-level signals will be interrupted by high-level signals For example, your computer's alarm clock goes off, and then the power goes off (a power outage is also an interrupt signal) 2It depends on how your program is written, usually in the usr log folder.

  8. Anonymous users2024-01-29

    signal, this function is relatively simple, given a signal, give a signal processing function, of course, the function is simple, its function is relatively simple, simply give a function example as follows:

    #include

    #include

    #include

    void ouch(int sig)

    int main()

    Of course, in practice, you need to set different to signal processing functions for different to signal, and sig ign igns the sig dfl default, and these two macros can also be used as signal processing functions. At the same time, the sigstop sigkill signals cannot be captured and ignored. Note that after experiments, it is found that the signal function will also block the signal currently being processed, but there is no way to block other signals, such as processing sig int, another sig int will be blocked, but sig quit will be interrupted, if sig quit has processing, you need to wait for sig quit to finish processing, and sig int will continue to process just now.

  9. Anonymous users2024-01-28

    Operating system signals (signal intelligence, signal - unknown).

  10. Anonymous users2024-01-27

    1. Click Start and click Control Panel;

    2. Click Power Options;

    3. After the currently selected power plan, click Change Plan Settings;

    4. After "Turn off the display", select the time you need from the drop-down list or choose never;

    5. Click Save Modifications, and then close the Power Options window.

  11. Anonymous users2024-01-26

    Directly tap Settings, then enter the brightness and lock screen, there is sleep time in it, set to never, and that's it.

  12. Anonymous users2024-01-25

    Update the driver and see, the old network card is generally on the motherboard. Changing the network card is not realistic. If you really want to study linux, it is recommended to use the command line

  13. Anonymous users2024-01-24

    Is it wireless? If it's wireless, look at the signal channel, and some old laptops will be disconnected when they connect to a high channel.

  14. Anonymous users2024-01-23

    1. Enter the system graphical interface and open [Terminal] in the application.

    3. Open the CRT software and create a new connection.

    4. Open the setup wizard and select SSH2 as the protocol.

    5. Enter the IP address and user name, and the others can be used by default.

    6. Next, finish, click Connect.

    7. The following information is displayed, indicating that the connection is successful.

  15. Anonymous users2024-01-22

    SecureCRT auto-disconnect may be Linux's link management to prevent excessive connections.

    1. Open the global configuration.

    2. Check Auto Link.

  16. Anonymous users2024-01-21

    Open the SecureCRT Properties or Option menu of a connection ---Session Option---Terminal---Anti-IDLE--- and put send string in front of , followed by a space, and after every enter 300

Related questions
21 answers2024-02-09

Of course it's not good.

KFC food is high-calorie and not nutritious. It's easy for people to hoard fat. >>>More

12 answers2024-02-09

The only way to do that is to try to log in with a single user to see if root can be recovered. >>>More

3 answers2024-02-09

If the foundation is good, you can read the book directly and follow the operation. >>>More

15 answers2024-02-09

Yes, it's just that you have to hit dimensional fragments under a single machine, which is more difficult Under 300mf, the explosion rate of 1/60,000 of the mission to kill Barr. >>>More

4 answers2024-02-09

It is said that the father is the patron saint of the child, and the child is the angel of the father. But I kind of hated my father. >>>More