EzDevInfo.com

reboot interview questions

Top reboot frequently asked interview questions

How does a computer restart itself?

How can a computer restart itself? After it's off, how does it tell itself to come back on again? What kind of software is it that can do this?


Source: (StackOverflow)

How do you shutdown or restart a Windows computer over a Remote Desktop connection?

When I connect to my Windows 7 desktop computer via Remote Desktop (MSTSC.exe), the options under the Start Menu are "Log Off" (the default), "Lock", and "Disconnect". How do I restart (or shutdown)?


Source: (StackOverflow)

Advertisements

How do I restart redis that I installed with brew?

I used brew to install redis (a key/value store database server) for my node.js app.

brew install redis

However, it seems to disappear and is very volatile. Because I'm using redis as my session store, I need to be able to quickly restart it on my mac when this happens.

How do I restart redis that I installed with brew?


Source: (StackOverflow)

Windows 8 uptime not resetting after restart or shut down

Memory continuously rises, probably because of various applications that I run including Chrome, and it starts to choke out windows so I try to reboot it after 3-4 days at the most.

When I am in the Task Manager after a complete cycle (shut down and start up) it shows 5 days 7 hours 30 minutes and some seconds. Also, Memory is at 2.9 GB after a restart, is this normal?

What kind of issues is this going to cause, other than I can't tell exactly how long it has been between cycles (restarts)?

How can I fix this issue?

I am running Windows 8.1 Pro. I have been trying for about 30 minutes to search Google for this issue and possible solutions but "uptime" is quite the ambiguous word.


Source: (StackOverflow)

Why does Adobe Acrobat Reader require a restart on update?

Why does Adobe Acrobat Reader require a restart when you update it? It's a piece of software that reads PDFs. Just what else is it installing/updating that requires a total OS reboot to "complete" the installation?

A bit of Googling indicates that it's to allow the OS to install the Adobe "Speed Launcher" - is this it or are there other components that are more tightly into the OS that it must absolutely have to have closed so that it can update them?

Edit: Any way to give half points to the two users that gave plausible explanations for this particular issue? I'm under the impression a combination of both of these answers is the reason why the restart is required, unless anyone has additional knowledge of what goes on behind the scenes are an Adobe update.


Source: (StackOverflow)

Restore work space after reboot? [duplicate]

This question already has an answer here:

Is there a way to reboot windows 7 with the option of saving the current working session and restoring it after reboot?

So after reboot, my browser is automatically launched without losing any tabs, Word automatically brings me up to the current doc I am working on, etc.


Source: (StackOverflow)

Can PSU cause my PC to reboot?

I'm having an issue with my PC: It is rebooting sometimes, and I am suspecting the PSU, so I want to confirm a few things. It is a new PC and the first issues started occuring roughly one month after purchase. Also they only occur after several hours of usage. And it seemed that completely shutting down powerline to the PC, and waiting few minutes, then putting it on again, seemed to relief the issue, but that might be just coincidence?

First off:

  • Does the PSU capacity decrease over lifetime of the PSU?
  • Does the PSU capacity temporarily decrease as it is active for a continious time?

My PC specs: Intel i7-3770, 16GB RAM, GTX 770, SSD, HDD. I think Asus Z77 motherboard.

As you can see it is pretty high-end, but I rechecked the PSU on the invoice yesterday and to my surprise I found a 30 euro PSU, namely the HKC V-550.

My system draws 480W of power from the powerline, if on full GPU & CPU stresstest. This is a heavily modified version of their base system, which did not include such a high-end GPU as the GTX770.

Also, as far as I know, a system shutdown (without! bluescreen) can only occur, if:

  • PSU shuts down
  • CPU shuts down
  • Motherboard shuts down?

But to me it occurs to be logical that the PC would not reboot if the CPU or Motherboard had shutdown, yet with a PSU and a safety switch it might seem logical that it could reboot.

Also about the reboot: The PC "on"-LED in the front turns off once it reboots, and in my headset (that is connected through USB) I heard some kind of clicking sound once when it turns off, and once when it turns on. Might that be enough reason to believe that it is the PSU?

Also, the temperatures of my CPU and GPU, actually of my whole PC, are perfectly fine under load. The only real test I have not been able to do yet is Memtest86, but wouldn't that lead to a bluescreen under windows anyway? Instead of a reboot.

Well I hope someone is able to help me here.


Source: (StackOverflow)

Linux : To monitor a Service and restart if stopped?

Actually I'm not so sure whether i should use Shell Scripts, or if there some ways already. But whatever approach we use, i would like to keep a Service running all the time.

Let's say iptables as an example. Then ..

  • Whenever the iptables service is stopped or (in other words) not running, i want it to be started (or restarted) .. automatically whenever it stopped (or not running).
  • In other more simple words, i want to keep a Service up and running all the time.

(May be i could give a fair frequency to check, if doing Real-time checking is the problem. So lets say, every 5 mins)

The only way i could think of, is to use Shell Scripts with Cron Tab.

  • Is there any smart solution please?

Thanks!


Source: (StackOverflow)

Make GNU screen survive reboot

I am using GNU screen a lot. I find it very annoying that everytime the server has to be rebooted I lose all my sessions (even if I know in advance, I need to set-up everything again).

I've searched the web for possibilities how to make screen survive a reboot, but found nothing that works for me. Some of the methods I found and there flaws:

  • CryoPID: seems to be dead, promising since 2005 to include support for screen
  • DMCTP: has problems with setuid(), didn't work for me (I admit I didn't try very hard)
  • some script trying to recreate the session from scratch; you still lose your history and I think also the environments variables are not correctly set (and when I tried it didn't bring up all sessions)

Maybe somebody knows some better process freezer? This seems to be the most promising way.


Source: (StackOverflow)

Stop Windows 7 from forcefully shutting itself down when waiting to update

I have had this happen to me twice now. I'll be in the middle of working on something that has resulted in me not rebooting my machine for several days. If Windows 7 is waiting to install updates it'll eventually get to a point where it forces a restart to install the updates. The problem is that it doesn't notify me or tell me that its going to do this and I've lost work as a result and most recently had a VM become corrupt and unusable. Is there a way to at least get it to prompt me before doing this? It used to...


Source: (StackOverflow)

Why the multiple reboots installing Windows 7?

I just installed Windows 7 on my non-PC and was struck by how many times the Windows installer reboots during installation. It even tells you on the screen during installation that the computer will reboot multiple times.

I know Microsoft must have a good reason for this, but I'm completely baffled why this is necessary. Installation simply writes to the disk, and because the system has booted off the DVD, it already has full write access to the target hard drive partition.

Is Windows in fact installing a preliminary disk image and then booting off of that instead of the DVD in order to speed up installation? (Though that then raises the question, why two reboots?)

It probably seemed like more than that because I had to do an extra reboot initially (back to my host OS) to fix the format of my partition, and then there were the subsequent reboots for Windows updates.


Source: (StackOverflow)

How to diagnose a spontaneous reboot?

My computer reboots, seemingly completely at random, about once every week to two weeks but has occasionally gone months. It just goes from running fine to the POST with no error messages or anything and doesn't seem to be due to heat or usage as it's happened a couple of times when the computer has booted just a few moments ago and is idling. It's been happening for as long as I've had this computer, almost two years. It's happened in both Vista and Windows7.

I strongly suspect it's a hardware problem. But due to the rareish and random nature of the crashes my normal strategy of just removing hardware until the problem stops isn't really practical. My guess would be Power Supply, Ram, or Motherboard. But I just don't know how to test an issue this random and want to figure out how to confirm which it is before I go replacing things. So is there some software or hardware that can be used to test these sorts of errors? I did run memtest86 for about 8 hours without finding any issues. And the power supply is more than capable of running my system.


Source: (StackOverflow)

Difference between shutting down and turning on vs. restart in Windows 8?

In Windows 8, is there a difference between:

Shutting down my computer (inside W8) and then instantly turn it back on again
vs.
Restarting it from inside Windows 8

Edit: Talking about normal Windows 8 desktop (not RT).
Edit2: Reason for asking is that shutting down and turning on my computer did not fix something where I needed a reboot, but a Restart did. I've heard that when shutting down the kernel is hibernated, but not when doing a restart.

What are the implications of doing one instead of another. When do I need to do one instead of the other?


Source: (StackOverflow)

Why Windows needs reboot a lot more than Linux?

I use both Ubuntu and Windows XP. One thing that catches my attention for a long time is the high need for reboots in Windows. Most of the time when I install a program, Windows requests to reboot system. This happens considerably more frequently than Linux.

Why is it so?

Thanks!


Source: (StackOverflow)

how can I restart redmine?

Redmine has to be restarted after a plugin installation.

How can I do that on linux? Does it mean to restart my web server (nginx in my case)? Or do I have to do something else?


Source: (StackOverflow)