Today I was trying to restore a backup of our MSSQL server when a user decided to drive me crazy by not disconnecting after telling anyone that we need to do that restore. So I fired up the management studio and had a look at the current processes by using the following query: select spid, status, loginame, hostname, […]
Tag: tip
Check XFS fragmentation
Using XFS means, that you have to deal with fragmentation of your files. Disregarding fragmentation, XFS is a wonderful filesystem which never caused any problems here. To check fragmentation, we use the xfs-debug tool in read-only mode: xfs_db -c frag -r /dev/sdX# At my server it would look like that: stargazer ~ # xfs_db -c frag -r /dev/sda7 […]
Going online via the N900
Today I was on the road again, carrying my laptop with me. I had the need to go online with my laptop. Having my Nokia N900 with me, this shouldn’t be a problem, right? So my first step was connecting the devices via Bluetooth. The Assistant kicked in and anything looked like it would work – but somehow […]
Today’s hint
Today I was trying to free some space on my server and came across my kernel sources which were a space hog here – especially if they’re already compiled: denkbrett src # du -sh linux-2.6.39.3 718M linux-2.6.39.3 denkbrett src # cd linux-2.6.39.3 denkbrett linux-2.6.39.3 # make distclean denkbrett src # du -sh 437M . As you see, a […]
Linux configs versioned
Sometimes it’s really fun to mess around on a Linux box – but it also can be a mess to get things back to a working state after breaking some configurations. As we are just talking about text files, things shouldn’t be too hard to do.
Mac-Tip
Screenshots are cool for technical support tasks as they are useful for analyzing error messages. I noticed that Apple users usually send quite many screenshots (as I get them quite often). After a while a friend told me how it works. To capture the whole screen, press: cmd + shift + 3 If you just need a small […]