Linux command DMESG See why the process was killed

Source: Internet
Author: User
Tags dmesg

Once a python process has been hung, use the following command.

Can see the reason: Virtual machine total Memory 8082608KB, the result Python project consumes 7341764KB, memory leaks, cause the python process to be killed by the system

Incidentally, the following watch command is introduced:

This command can be used in real time with the newly monitored content

1, Tailf Log/web.log will see the screen constantly increase the display of new logs

2, watch "tail-20 log/web.log" screen will only output 20 of the latest log, and the screen of the 20 log content, with the time is the words refreshed. , refreshed every 2 seconds

Reference: http://www.runoob.com/linux/linux-comm-dmesg.html

https://linux.cn/article-3587-1.html#3_14174

Linux command DMESG See why the process was killed

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.