Technology

head

I was asked by one of my friends, how he could get the top 10 processes in a Unix system. I knew of the usual commands “top”and “ps” and never thought of how you could just get the top 10. Interestingly there is a command called “head“. So if you wanted the top 10 processes you would use “ps -auxw | head“. “man head” returns the following

NAME
head – output the first part of files

SYNOPSIS
head [OPTION]… [FILE]…

DESCRIPTION
Print first 10 lines of each FILE to standard output. With more than
one FILE, precede each with a header giving the file name. With no
FILE, or when FILE is -, read standard input.

The Tao Of Security

I came across this blog by Richard Bejtlich while I was researching for security related sites. Richard is a principal consultant at Foundstone and his knowledge and methodology just amazes me. I visit this site everyday if not more :). I hope to add more bits about technology as I come across interesting things.

New blogging software!

In the spirit of New Year, I decided to try a new blogging software . Apparently the one I used before is not being actively developed anymore. And WordPress is the continuation of the older B2 project. The interface looks a lot cleaner and it has a lot more features in the background. Only problem was that I couldn’t figure out how to import all my old posts. I did make a backup of the old database. Will try to see if I can manually import them. Isn’t life wonderful 🙂 .

Sun[set or rise]??

You might have already noticed all the buzz being generated in the tech. world due Sun’s annoucement that is might have to write off 1 Billion [yeah, you heard that right] dollars for this quarter. A lot of people are saying that this is the start of the end. It is funny how bad decisions made by management can affect a company :). I always admired Sun for being a “technology” company, but in the last few years instead of being innovative and adopting to changing market needs, Sun stagnated. I mean, how many companies would think of going with Sun when they can get comparable technology [Linux+Inte/AMD] at a far cheaper price. What is wrong with people in the upper management? I have seen several companies go down just because of bad decesions by management. Do people loose their brains once they get there?? I do hope [if not for the shareholders, at least for the employees] that Sun can get its act together.