Most Popular

1500 questions
53
votes
7 answers

What is swap memory?

I am using RAM for storing some of my database tables and the others are stored in hard disk. Today I came to know that my processes are using swap memory. Now what is swap memory and how can I detect that which process is using swap memory and how…
developer
53
votes
6 answers

Windows 7: "localhost name resolution is handled within DNS itself". Why?

After 18 years of hosts files on Windows, I was surprised to see this in Windows 7 build 7100: # localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost Does anyone know why this change was introduced? I'm…
Portman
  • 5,271
  • 4
  • 28
  • 31
53
votes
1 answer

iptables forwarding between two interface

So I have a linux box with two wireless interfaces, one is a station and the other an AP. wlan0 (station) - Connected to the internet connection wlan1 (AP) - Other clients connect to it. I would like for clients connected to wlan1 to be able to…
broody
  • 643
  • 1
  • 7
  • 8
53
votes
7 answers

How to allow active directory users to remote desktop in?

This is my first time setting up or even using active directory. I set it up, and added the computers(Actually VMs in Hyper V) to the active directory, and if if I use hyper-V to connect to the VMs, I am able to use users from the active directory…
user1308743
  • 641
  • 1
  • 6
  • 7
53
votes
2 answers

When do DNS queries use TCP instead of UDP?

Possible Duplicate: Is it true that a nameserver have to answer queries over TCP? I know DNS uses UDP for most of its queries, but in what circumstances will it use TCP instead?
pradeepchhetri
  • 2,698
  • 6
  • 37
  • 47
53
votes
4 answers

Linux CPU usage and Process Execution History

Is there any way to see what process(es) caused the most CPU usage? I have AMAZON EC2 Linux which CPU utilization reaches 100 percent and make me to reboot the system. I cannot even login through SSH (Using putty). Is there any way to see what…
pmoubed
  • 643
  • 1
  • 6
  • 5
53
votes
4 answers

Difference between SSLCertificateFile and SSLCertificateChainFile?

Normally with a virtual host an ssl is setup with the following directives: Listen 443 SSLCertificateFile /home/web/certs/domain1.public.crt SSLCertificateKeyFile /home/web/certs/domain1.private.key SSLCertificateChainFile…
chrisjlee
  • 1,005
  • 2
  • 13
  • 21
53
votes
6 answers

How to move files between two S3 buckets with minimum cost?

I have millions of files in a Amazon S3 bucket and I'd like to move these files to other buckets and folders with minimum cost or no cost if possible. All buckets are in the same zone. How could I do it?
Daniel Cukier
  • 823
  • 1
  • 10
  • 18
53
votes
50 answers

Tools a Windows administrator cannot live without

As a Windows administrator, what tools do you feel you cannot live without?
John T
  • 1,059
  • 1
  • 15
  • 19
53
votes
2 answers

TCP/IP ports necessary for CIFS/SMB operation

If I want to allow Windows networked drives between two firewalled computers, do I need to open ports 137-139, or is port 445 sufficient? I have to submit a form and get approval to open firewall ports, and I don't want to ask for more open ports…
Jonathan
  • 633
  • 1
  • 5
  • 5
53
votes
5 answers

Is it possible to run sshd as a normal user?

I'm aiming to start up a second sshd instance on a non-privileged port (e.g. 2222) with my own configuration file. Obviously, the sshd process can't setuid so logging in as users other than the one who is running the sshd daemon is clearly…
Bo Jeanes
  • 1,520
  • 2
  • 13
  • 17
53
votes
3 answers

SSH connection lost during server upgrade - How to reconnect to process?

So, I was performing an Ubuntu Server upgrade from 11.04 to 11.10. I forgot about it in the background, and my SSH client timed out and disconnected (putty on Windows, go figure). The last thing on my terminal was a question about keeping an old…
Stephen Melrose
  • 5,905
  • 5
  • 25
  • 22
53
votes
1 answer

what s+ S1+ T R+ mean in ps ax ps list

I run this command and got result this but not able to understand the result which node instance should i kill ps ax | grep node 23308 pts/3 S+ 0:00 sudo node index.js 23310 pts/3 Sl+ 0:00 node index.js 23568 pts/1 T 0:00…
Rahul Mehta
  • 999
  • 3
  • 11
  • 13
53
votes
2 answers

How do I find out the W3SVC number of a given IIS7.5 website?

I have a server running multiple websites under IIS7.5. I want to view the log files for one website in particular. In C:\inetpub\logs\LogFiles I see a number of folders, W3SVC1 through 6. How do I find out which website corresponds to which…
Liam
  • 663
  • 1
  • 5
  • 5
53
votes
14 answers

Templating with Linux in a Shell Script?

What I want to acomplish is: Having a config file as template, with variables like $version $path (for example apache config) Having a shell script that "fills in" the variables of the template and writes the generated file to disk. Is this…
Markus
  • 867
  • 2
  • 11
  • 13