sysadmin

How do you maximize server performance?

I have been trying to get my head around to understanding performance and scalability and would like to know what developers/sysadmins are doing to juice their systems. To standardize the answers, it would help if you could take your best shot at responding to any of the following: Profile - Magazine publication on Joomla; Jobs board o...

Receiving email notification from smartd (smartmontools)

Hello, To get information about my HDD drive condition, I configured smartmontools daemon (through smartd.conf) like this: dev/sdb -I 194 -a -o on -S on -s (S/../.././03|L/../../6/04) \ -m [email protected] -M exec /usr/share/smartmontools/smartd-runner Also, by adding “-M test”, I tested email notifications and received test email...

What would you consider good Eclipse support?

Hey, As part of my job, I'm employed to install and support development tools for the developers in the company. Eclipse is an IDE that a great deal of developers here use, but I don't actively support. With the huge range of plugins and quick release of new versions - I find it hard to keep on top of and would not be able (obviously)...

phpMyAdmin crashing the MySQL host server

I have encountered this problem a couple of times, in the last few days. So, it happens occasionally. I have setup mysql on a remote machine, and there is a java program on another machine querying the database to read and write records every few seconds. I am using phpMyAdmin to administer my database. And, at times, after running som...

Virtuozzo Power Panel backups location

Does anybody know if there is default location of stored system backup in this system ? Maybe it's not on the same system, I'm not sure. The system let me do only 3 backups but it would be useful to store these backup externally. Thx for all answers ...

Are there any developers that have had to comply with the new Federal Desktop Core Configuration (FDCC), which will remove local administrator access for all users?

As developers, we believe that not having local administrative access is going to severely handicap our productivity. We will be restricted from running IIS (we’re a web development shop), installing applications, running Microsoft power tools, etc. If you’re going through the FDCC process now, it would be great to hear how you are cop...

Is scripting "programming" or is scripting "system administration?"

Joel and Jeff talked about launching an "IT Pro" version of Stack Overflow during the most recent podcast. This raises a lot of interesting questions (besides "what should it be called?") - scripting falls right in that space between systems administration and "real" programming, so which community should we scripters/sysadmins hypothet...

Is there a way to figure out what is using a Linux kernel module?

If I load a kernel module and list the loaded modules with lsmod, I can get the "use count" of the module (number of other modules with a reference to the module). Is there a way to figure out what is using a module, though? The issue is that a module I am developing insists its use count is 1 and thus I cannot use rmmod to unload it, b...

How can I show file sizes with commas when getting a directory listing with 'ls -l'?

You can do 'ls -l' to get a detailed directory listing like this: -rw-rw-rw- 1 alice themonkeys 1159995999 2008-08-20 07:01 foo.log -rw-rw-rw- 1 bob bob 244251992 2008-08-20 05:30 bar.txt But notice how you have to slide your finger along the screen to figure out the order of magnitude of those file sizes. What's a good w...

To what extent can Version Control help in system administration?

I'm currently tinkering at an OpenBSD system with a view to building myself a firewall and some other bits and bobs. As this is fairly experimental (I'm an OpenBSD n00b, and I've already trashed my system 3 or 4 times), I wonder what experience others have of making part or all of the file system (I'm thinking in particular of /etc) a w...

Process Deluge on Linux.

I tried this experiment on my Linux desktop: int main() { while(1) fork(); return 0; } I ran this program as normal user(not root), i was surprised to find that it brought down my system, it has become unresponsive. I had hoped that due to resource limit exhaustion my process would have been killed,but apparently this is not ...

How can I kill all shells in Unix at once?

My Mac becomes slow over time. The reason is the huge amount of my shells, such as Bashes and Fishes. Each shell has different PID. Killing shells one by one is too cumbersome. How can I kill them at once? ...

ODBC Data Source Administrator access

Is it possible to give a non-administrator rights to modify data sources with Microsoft ODBC Data Source Administrator without adding them to the administrators group? Some users can currently view this information but if they try to make changes, they are not retained. This is on Windows 2003 Standard Server. ...

How do I make cron run something every "N"th minute, where n % 5 == 1?

I know that I can have something run every five minutes in cron with a line like: */5 * * * * /my/script What if I don't want it running at 12:00, 12:05, 12:10, but rather at 12:01, 12:06, 12:11, etc? I guess I can do this: 1,6,11,16,21,26,31,36,41,46,51,56 * * * * /my/script ...but that's ugly. Is there a more elegant way to do ...

Automatically (or more easily) reconnect to a screen session after network interruption.

ADDED: This question is now, I believe, subsumed by this one: http://stackoverflow.com/questions/1075947/can-i-use-gnu-screen See also this related question: http://superuser.com/questions/147873/ssh-sessions-in-xterms-freeze-for-many-minutes-whenever-they-disconnect Original question: It would be nice if there were a way to ssh to ...

How to find out the free disk space for a given path on a linux shell?

1) I am in some directory 2) I want to find out how much free space is left there Is there a simple command that does this? I don't want to look in fstab or whatever, having to map the devices & mount points in my mind in order to determine how much free space I have left. ...

Is there a lint like program for crontab?

Is there anything like lint for crontab? I'd like to know that i've got all my spaces and stars sorted out without waiting for something to not work. ...

Sendmail runs a smtp server(daemon) in the background?

I am relatively new to arena of emails. Just drilling out tutorial by tutorial about email internals. My requirement is I need to send emails and receive emails from my webhost. For this to happen, I need an smtp server(daemon) running right? I recently studied about MTAs, which are responsible for transferring emails from one host to th...

Apache capacity planning tool?

Is there any tool specially designed to analyze Apache traffic logs and give some advices on future load (bandwidth & requests per second)? I am searching for some tools to help me understand better how the server is used and where the performance bottleneck will appear. ...

Resources for Basic Unix System Administration (OSX)

After, reading and understanding Dan Benjamin's post about installing Ruby, Rails, etc. on OSX (Leopard), I really jumped at using usr/local, maybe at my peril and without understanding it fully. I've had no problem running Rails on my local machine, but I still feel like I don't quite wrap my head around these basic sysadmin practices. ...