Question from title sounds weird to you? It's just a 'rm backup_filename'? Well. I really wish it was so simple in some cases. One of the servers I'm looking into, there is interesting situation: quite busy database server (2k tps is the ...

I'm quite happy user of Arch Linux. BUT... Recent upgrade changed Xorg to new version which requires HAL (Hardware Abstraction Layer). Problem: when HAL is turned on, it totally breaks my keyboard - generates extra "key presses" when using "special" keys - ...

Every so often I need to find who exactly is damaging database performance. I mean - I have db connection which does something strange/wrong with the database, but what exactly is responsible? Switching to separate user for every program, script and ...

April 16th, 2008 by depesz | Tags: , , , | 4 comments »

simple brainteaser. take no more than 30 seconds to think about it: using standard cron installed on your unix system, how often would this command be run: */57 * * * * command ? if you choose to answer in comments, please supply ...

there is this situation: multiple people have to have access to single system account on unix/linux. you are one of them, but you really want to have your own environment. aliases, path, and so on. problem? others dont want your changes. is ...

September 18th, 2007 by depesz | Tags: | 3 comments »

[ wersja polska poniżej ] english version just found this nice brain teaser. i have this code in bash: echo -e "1 1\n2 2" | while read A B; do echo "[$A] [$B]"; echo "ZZZ"; done it will print: [1] [1] ZZZ [2] [2] ZZZ which is perfectly valid and ...

i have been given a machine with 2 discs (2x 160gb, sata), linux debian 4.0 and a task to make it run as raid1. in the begining layout was simple: disc: /dev/sda had 2 partitions: sda1 - 2gb, swap sda2 - rest of disc, ...

February 26th, 2007 by depesz | Tags: | 1 comment »

firmą która nieoczekiwanie (dla niej samej też) zaczęła nieźle zarabiać na linuksie okazało się hp. w sierpniu 2005 roku ogłosili, że debian sarge będzie w pełni supportowany na ich serwerach. efekt? w roku rozliczeniowym 2006 okazało się, że mają sprzedaż za ...

February 8th, 2007 by depesz | Tags: | 2 comments »

czasem przydałaby się możliwość wyczyszczenia cache'a dyskowego. jeśli potrzebujemy tego w kontekście jakiejś pobocznej partycji to wystarczy odmontować i zamontować. ale co jeśli nie możemy tego zrobić? root file system. albo chociażby fs którego potrzebujemy. neil conway wpadł na rozwiązanie, a ja ...

January 21st, 2007 by depesz | Tags: | 4 comments »

dowiedziałem się przypadkiem o firmie "system76". jest ona podobno jednym z największych "supporter'ów" (nie mam pojęcia jak to przetłumaczyć by zachować sens) ubuntu. a co robi? sprzęt. pecety. i laptopy. bez windowsów, za to z linuksem. jeśli kiedyś stawialiście linuksa na ...