Most Popular

1500 questions
86
votes
6 answers

Software vs hardware RAID performance and cache usage

I've been reading a lot on RAID controllers/setups and one thing that comes up a lot is how hardware controllers without cache offer the same performance as software RAID. Is this really the case? I always thought that hardware RAID cards would…
ItsJustMe
  • 1,001
  • 1
  • 8
  • 10
86
votes
7 answers

Best way to disable swap in Linux

I am running a custom compiled 3.18.9 kernel and I am wondering about the best way to disable swap on the system. I also use init if it makes a difference. Is it enough to comment or remove the swap line in /etc/fstab to prevent swap from…
user283167
  • 863
  • 1
  • 7
  • 8
86
votes
6 answers

How do I list all connected Salt Stack minions?

Sometimes my saltmaster hangs for a while on salt '*' test.ping waiting for downed minions to reply. Is there a way so see a list of connected minions, regardless of whether they respond to test.ping?
Petrus Theron
  • 1,601
  • 5
  • 17
  • 24
86
votes
8 answers

How to backup 20+TB of data?

We have a NAS server at the company I work for that is being used for storing photography sessions. Each session is approximately 100gb. Over the last couple of years this server has accumulated 10+ TB of data, and we are increasing the amount of…
Jesus Fidalgo
  • 921
  • 2
  • 7
  • 5
86
votes
8 answers

Recommended LogParser queries for IIS monitoring?

As Stack Overflow grows, we're starting to look closely at our IIS logs to identify problem HTTP clients -- things like rogue web spiders, users who have a large page set to refresh every second, poorly written one-off web scrapers, tricksy users…
Jeff Atwood
  • 13,104
  • 20
  • 75
  • 92
86
votes
13 answers

10 servers to administer and I'm a history major

Through reasons that don't warrant exhaustive discussion, I find myself in charge of 10 servers: A domain controller-~500 hosts/~350 users IIS web server-This is where we make our money SQL server-The crown jewels Exchange server Linux box for data…
chipandachair
  • 471
  • 4
  • 6
86
votes
4 answers

How can I find the path to an executable in OSX

Is there a command I can use to easily find the path to an executable? I'm looking for identify on my local machine - something like pwd? pwd identify => /usr/local/bin/identify
Codebeef
  • 1,449
  • 4
  • 19
  • 20
86
votes
3 answers

How to apply a filter to real time output of `tail -f `?

tail -f path The above will output modifications to the file instantly, but I want to apply a filter to the output, only show when there is a keyword xxx in it. How to approach this?
wamp
  • 1,197
  • 3
  • 12
  • 17
85
votes
2 answers

Best way to redirect all HTTP to HTTPS in IIS

We want ALL sites on our webserver (IIS 10) to enforce SSL (ie redirect HTTP to HTTPS). We are currently 'Requiring SSL' on each site and setting up a 403 error handler to perform a 302 redirect to the https address for that specific site. This…
userSteve
  • 1,573
  • 4
  • 23
  • 33
85
votes
5 answers

What is the benefit of not allocating a terminal in ssh?

Every once in a while I will do something like ssh user@host sudo thing and I am reminded that ssh doesn't allocate a pseudo-tty by default. Why doesn't it? What benefits would I be losing if I aliased ssh to ssh -t?
Chas. Owens
  • 2,053
  • 2
  • 21
  • 24
85
votes
14 answers

What's wrong with always being root?

I have a feeling this is a stupid question, but this is something I've wondered for awhile. I have a VPS and this is my first big linux venture. I am the only person who has access to it. My question is, what is wrong with just logging in as root as…
ryeguy
  • 1,071
  • 2
  • 11
  • 11
85
votes
1 answer

Explanation of nodev and nosuid in fstab

I see those two options constantly suggested on the web when someone describes how to mount a tmpfs or ramfs. Often also with noexec but I'm specifically interested in nodev and nosuid. I basically hate just blindly repeating what somebody…
Ivan Kovacevic
  • 1,801
  • 3
  • 15
  • 19
85
votes
12 answers

What solutions exist to allow the use of revision control for server configuration files?

In an environment with multiple system administrators, I see a few advantages to adding the server config files into a revision control system. Most notable are the ability to track changes, who made them, and of course being able to roll back to…
Dave K
  • 2,751
  • 2
  • 21
  • 17
85
votes
11 answers

Where is my mysql log on OS X?

I checked /var/log and /usr/local/mysql and i can't seem to find the log. I am trying to troubleshoot an error establishing a database connection with a php function.
Tony
  • 4,213
  • 11
  • 35
  • 29
85
votes
6 answers

What does passing the -xe parameters to /bin/bash do

Exactly what the title says. I'm not having much luck finding the proper documentation to see what -xe does in the following use case: #!/bin/bash -xe what do those parameters do and where it is documented?
imaginative
  • 1,971
  • 10
  • 32
  • 48