Author Archives:

Memory Usage Monitor

This problem was certainly irritating! I had come to work one day, when I found out that one of the main servers for a lab had crashed without explanation the day before, leading to temporary chaos.  The only pointers present were that there were some kernel segfaults recorded in /var/log/messages.  However, the system had crashed [...]

Getting started with gdb

I found these steps helpful a few weeks ago: 1. Compile your program with the -g switch so that gcc/g++ builds it with debugging options. e.g. gcc -g myprog.cc -omyprog 2. Run gdb with the binary as an argument gdb myprog 3. Check the contents of the program list – type enter till you reach [...]

GDB seems cool :)

For those people who have had to program in Linux like I have had to (that is.. because of coursework), and if you have been used to a development environment like Visual C++ (I was used to something much more basic, but I found it very easy nonetheless– Turbo Pascal!), you might find debugging in [...]

Is your computer freezing up on you?

The windows xp machine I had been using had been freezing up on me more and more frequently for the past few days.  I had booted over to Linux and checked the smart statistics of the hard disk– which seemed to be fine.  I was thinking of doing memory tests too.. but never got around [...]

Follow

Get every new post delivered to your Inbox.