IMail is a very well-known mail server software, but his mail process management is not very well designed, many administrators will encounter IMAIL mail process services Queuemgr often hung problems, Our usual solution is to go into the IMAIL controller reboot Queuemgr, but we will find the IMAIL program hangs, then we can only kill the Queuemgr process through task management to start, then we can automate this step?
The answer is, of course, to take advantage of the
Transferred from: http://m.blog.csdn.net/blog/luckywang1103/25244091The 9th chapter of the USB protocol refers to the USB visible device status [Universal Serial Bus Specification, section 9.1.1, Pg 239], which is divided into connections (attached), power-On (Powered), defaults (default ), address, configuration (configured), and suspend (Suspended) 6 states. The so-called visible, that is, the USB system and the host visible state, other states are
Suspend (suspend) and thread blocking tool class LocksupportIt is generally not recommended to use suspend to suspend threads, because suspend does not release any lock resources while causing the thread to pause. If any other thread wants to access a lock that is taken up b
locked, and the platform device power_device is registered. We will discuss these arrays, locks, and power_device in subsequent articles, the last action we pay attention to here: Creates a working queue thread suspend_work_queue, which is the core of earlysuspend.
After the system is started, the relevant driver registers the early suspend feature through the register_early_suspend () function. After a period of time, if there is no user activity (
the array of the initialization active_wake_locks chain table is displayed, and then the main_wake_lock is initialized and locked, and the platform device power_device is registered. We will discuss these arrays, locks, and power_device in subsequent articles, the last action we pay attention to here: Creates a working queue thread suspend_work_queue, which is the core of earlysuspend.
After the system is started, the relevant driver registers the early sus
the Thunder "member suspends" the function on-line not to be able to freeze does not need the thunder, looked that the member gradually expires, will always be useful and does not need, does not have the regrettable situation, but today may change! Thunder official line "member suspend" service, such as temporarily do not need Thunder member service, you can free
Android sleep (suspend)Involved files:
Kernel/power/main. c
Kernel/power/earlysuspend. c
Kernel/power/wakelock. c
There are three main steps for suspend:
1. Freeze user-State processes and kernel-state tasks
2. Call the suspend callback function of the registered device in the order of registration.
3. Sleep the core device and sleep the CPU into a sleep frozen
Transferred from: http://blog.csdn.net/jacobywu/article/details/24735521Directory (?) [-]
Question
Answer
Add Boot Parameters No_console_suspend
Initcall_debug
Suspend_test
Wakelock
Power0
Earlysuspend
Suspendresume hours fine Tune
Question:How to get enough information under Linux or Android to do the fine tune of power management?Answer:Under Linux or Android, when it comes to power management, there are often not enough informatio
Recently, I have just made a research report on the implementation of suspend to disk in the android system of power management. Recently, I just sorted it out in a relatively idle manner.
I am based on the jz4780grus development board of beijing junzheng. I will make a study report based on the following in the past few days. The content of this report is as follows:
1. Introduction to Linux sleep/Wakeup
1. describes four statuses of
Vtasksuspend (taskhandle_t xtasktosuspend)
Restore Tasks
void Vtaskresume (taskhandle_t xtasktoresume)
Resume task run in interrupt service function
basetype_t Xtaskresumefromisr (taskhandle_t xtasktoresume)
Example
taskhandle_t Pxcreatedtask;
void Tim4_irqhandler ()
{
if (Tim_getitstatus (TIM4, tim_it_update) = = 1)
{
Xtaskresumefromisr ( Pxcreatedtask); Resume task run in interrupt service
Thunderbolt launched the member suspend function, the paid member may suspend the member validity period, such period of time does not use, when uses activates, can avoid the wasteful payment service. So, how to suspend the Thunder member?
1, the installation of the Thunder client, running and login, in this case for
It programmer development must-all kinds of resources download list, the most complete IT resources in history, personal collection summary.
From the operating system point of view, the OS maintains a ready queue (the Ready thread queues). And at some point the CPU only serves the thread at the head of the queue in the ready queue.
But the thread that is currently being serviced may feel that the quality of the CPU service is not good enough, so q
Note: The above wording does not apply to Ubuntu 13.10If you are not entirely sure or for the sake of insurance, you can also write both of them into the com.ubuntu.enable-hibernate.pkla configuration file.
[Enable Hibernate in upower]
Identity=Unix-user:*
Action=org. FreeDesktop. Upower. Hibernate
Resultactive=Yes
[Enable Hibernate in logind]
Identity=Unix-user:*
Action=org. FreeDesktop. Login1. Hibernate
Resultactive=Yes
Introduction
Arguing about sleep nomenclature is often very emotional between peopleWith different views.Windows and Mac OSX have decided on names for the actions and it's aboutTime Linux did the same.We are hurting the user experience with ad-hoc and confusing policiesAbout naming.
Developing gnome-power-Manager (and a chunk of the Power Management in Hal)Gives me first-hand experience of the ways users, distros, packagers andDevelopers canAnd doGet this wrong.
Notes from 'hotkey-setup ':
When
Mentioned in the trigger Process Analysis of stream domain:
In the era of Linux-3.4.5, as long as the dapm module finds that codec still opens a complete path internally (do not know what the complete path is, please tutorial "dapm five: dapm mechanism in-depth analysis (on) 4th), the codec driver will not run its suspend/resume process when the system is sleeping/awake.
At that time, because other tasks were not analyzed in detail, such a bug happene
Tags: OracleOracle 11g Dataguard suspend log transfer for physical standbyCategory: Oracle2017-07-18 10:03:17These two days the production end of the log produced too much lead to the recovery of the archive log directory full of the phenomenon, after clearing the disaster recovery log found log_archive_dest_2 in error state, need to enable it. In the actual production system, there are usually such scenarios, such as on the system maintenance Day, a
From the operating system's point of view, the OS maintains a ready queue (the queued thread of readiness). And at some point the CPU only serves the thread that is in the queue header in the ready queue.However, the thread that is currently being serviced may feel that the quality of the CPU service is not good enough, so quit early, which is yield.Or the thread that is currently being serviced needs to sleep for a while, wakes up and continues to be
Tag: instance does not have res Zed End final system BSP operationSometimes, thread hangs are useful. For example, a separate thread can be used to display the time of day. If the user does not want to use the clock, the thread is suspended. In any case, suspending a thread is simple, and once suspended, restarting the thread is also a simple matter.Pending, the termination and recovery threading mechanism differs in Java 2 and earlier versions. Although you write code in Java 2, you still need
The code is located in power/suspend. C, starting with the pm_suspend function.
The logic of suspend and driver is mainly to traverse all devices and call the suspend function pointer of their related driver (including the suspend function pointer of the device class and bus ).
The order of device calls is as follows
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.