Linux sync time Debug Core core

Source: Internet
Author: User

1. Synchronization Time

#chkconfig--list | grep NTP

NTPD 0:off 1:off 2:off 3:off 4:off 5:off 6:off
Ntpdate 0:off1:off2:off3:off4:off5:off6:off

#chkconfig ntpdate on//self-booting.

#service ntpdate Start//Turn on this service

#date//is updated at this time

Method 2:

Ntpdate time.nist.gov

2. Debug core Information

Set Core size to infinity

#ulimit-C Unlimited

#./test//execution, a core.xxx file is generated when a segment error exits

#gdb Test Core.xxx

Use the BT command to view the backtrace to check where the program is running, to locate the file, line of the core dump.

Shut down dump after commissioning

#ulimit-C 0//Set the size to 0

Linux sync time Debug Core core

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.