Most Popular

1500 questions
42
votes
6 answers

Improving TCP performance over a gigabit network with lots of connections and high traffic of small packets

I’m trying to improve my TCP throughput over a “gigabit network with lots of connections and high traffic of small packets”. My server OS is Ubuntu 11.10 Server 64bit. There are about 50.000 (and growing) clients connected to my server through TCP…
Worker
  • 647
  • 1
  • 6
  • 9
42
votes
9 answers

How to delete all but last [n] ZFS snapshots?

I'm currently snapshotting my ZFS-based NAS nightly and weekly, a process that has saved my ass a few times. However, while the creation of the snapshot is automatic (from cron), the deletion of old snapshots is still a manual task. Obviously…
growse
  • 7,830
  • 11
  • 72
  • 114
42
votes
4 answers

How to verify if a dedicated server is really dedicated?

I ordered a dedicated server 1 month ago and I want to make sure my server is dedicated and not a VPS or Shared server. Are there any tools I can verify that my server is running on bare metal and that I am the only user?
Tech4Wilco
  • 521
  • 1
  • 5
  • 8
42
votes
4 answers

Directly editing IIS 7 applicationHost.config configuration file

I know that IIS 7+ uses XML config files instead of the metabase. I also know that if I edit a web.config file for a given site, IIS automagically detects the changes and implements any corresponding config changes. However, does this also apply to…
lunadesign
  • 421
  • 1
  • 4
  • 3
42
votes
6 answers

How can I prevent cron from filling up my syslog?

I have a script which needs to be executed each minute. The problem is that cron is logging to /var/log/syslog each time it executes. I end up seeing something like this repeated over and over in /var/log/syslog: Jun 25 00:56:01 myhostname…
user7321
  • 976
  • 1
  • 8
  • 13
42
votes
4 answers

What is the maximum username length on current GNU/Linux systems

I'd like to know what the maximum username length is for current GNU/Linux systems, e.g. Ubuntu 11.04. 8 characters appears to be some historical standard, but I've already noticed on my current Ubuntu system that this limit does not apply.
Klaas van Schelven
  • 559
  • 1
  • 4
  • 6
42
votes
1 answer

What exactly will --delete-excluded do for rsync?

I use rsync with great pleasure for backing up my servers, although I do have a question about the --delete-excluded parameter. /usr/bin/rsync -a --delete --numeric-ids --relative --delete-excluded --rsh=/usr/bin/ssh root@server01:/etc…
ujjain
  • 3,963
  • 15
  • 50
  • 88
42
votes
5 answers

monit: check process without pidfile

I'm looking for a way to kill all processes with a given name that have been running for more than X amount of time. I spawn many instances of this particular executable, and sometimes it goes into a bad state and runs forever, taking up a lot of…
Parand
  • 728
  • 1
  • 8
  • 15
42
votes
8 answers

How to grep ps output with headers

How can I grep the PS output with the headers in place? These two process make up an app running on my server.... root 17123 16727 0 16:25 pts/6 00:00:00 grep GMC root 32017 1 83 May03 ? 6-22:01:17…
Ben
  • 3,630
  • 17
  • 62
  • 93
42
votes
8 answers

How do I restart a Windows service from a script?

I have a batch script that looks like: sc stop myservice sc start myservice it errors out because sc doesn't wait till the service is stopped. How do I restart a service with a script?
Joshua
  • 779
  • 1
  • 9
  • 18
42
votes
9 answers

How do you setup ssh to authenticate using keys instead of a username / password?

How do you setup ssh to authenticate a user using keys instead of a username / password?
ScArcher2
  • 623
  • 1
  • 7
  • 9
42
votes
5 answers

Measuring 'total bytes written' under Linux

We're quite interested in exploring the possibility of using SSD drives in a server environment. However, one thing that we need to establish is expected drive longevity. According to this article manufacturer's are reporting drive endurance in…
badnews
  • 565
  • 1
  • 6
  • 6
42
votes
4 answers

Overcoming maximum file path length restrictions in Windows

One of our customers habitually use very long path names (several nested folders, with long names) and we routinely encounter "user education issues" in order to shorten the path to less than 260 characters. Is there a technical solution available,…
Christopher Edwards
  • 688
  • 1
  • 8
  • 19
42
votes
74 answers

What tools should every sysadmin use that no one's heard of?

I'm wondering about tools that are powerful and that most system administrators either don't know about or don't use (but should). For one thing, I like the possibility of finding out about a tool that is good and that I should be using - or at…
Mei
  • 4,560
  • 8
  • 44
  • 53
42
votes
7 answers

View content of memcached

Are there any tools to explore what is currently cached inside a memcached pool? Not some much graphs, but the actual key/values currently stored.
Tom
  • 736
  • 2
  • 9
  • 23
1 2 3
99
100