I just sent a pile of updates to Princeton. They will probably be added to the site on the 2nd.
The index page has been re-written to include pointers to some of the major sources used for the material on the site.
An Intermittent Problems page has been added to describe how to deal with intermittent problems.
The mdb, dtrace and Disk I/O pages have been rewritten and expanded. The adb and mdb pages were merged to reflect the fact that Solaris 7 is really a dead OS at this point in time. The Disk I/O page was updated to reflect current Solaris 10 information from Solaris Internals and Solaris Performance and Tools by McDougall, Mauro and Gregg, and especially to include pointers to the really cool tools on the DTrace Toolkit page.
The kstat page has been updated to provide some additional information, and the netstat page has been changed to reflect the death of netstat -k
.
The next major effort for the site will be an expansion of the zones page. (The current page is really not much more than a placeholder to avoid dead links on the other pages that refer to zones.)
I am also working on a root cause analysis page. I am finding that this page is involving a lot of reading of business publications; the business community seems to be way ahead of us on thinking about this issue.
--Scott
Labels
- news (101)
- Linux (72)
- tips (36)
- ubuntu (32)
- hardware (24)
- videos (24)
- howtos (21)
- kde (20)
- open source (20)
- solaris (18)
- solaris interview questions (18)
- external links (10)
- fedora (10)
- windows (10)
- debian (8)
- kernel (8)
- solaris interview questions and answers (8)
- MCSE Videos (6)
- commands (6)
- sun (6)
- linus torvalds (5)
- Sun Solaris 10 CBT (4)
- network administration (4)
- web design (4)
- solaris-express (3)
- backup (2)
- virtualization (1)
Updates for mdb, dtrace and diskio pages
New Year 2007 - The year of GNU/Linux
The inherent strength of GNU/Linux lies in the fact that all the configuration pertaining to the OS is saved in liberally commented text files which reside in a specific location. And almost all actions executed by the OS is logged in the appropriate files which are also plain text files. For example, reading the file /var/log/messages will reveal a wealth of knowledge about the actions carried out by the OS and the errors if any during boot-up. So once the initial learning curve is overcome, it becomes a joy to work in GNU/Linux.
I am not trying to disparage Microsoft but when you have a fabulous choice in GNU/Linux which comes with an unbeatable price tag (Free) and if you are able to do almost all your tasks in GNU/Linux baring say playing some of your favorite games, why would you consider buying another OS paying hundreds of dollars ? More over if you are an avid gaming enthusiast, you should rather be buying a Sony PlayStation or a Nintendo Wii or even an XBox and not an OS.
There was a time when I used to boot into Windows to carry out certain tasks. But for the past many months, I have realized that I am able to do all my tasks from within GNU/Linux itself and it has been some time now since I have booted into Windows.
On this positive note, I wish you all a very happy and prosperous New Year.
mdb and kmdb pages
I've submitted the following new pages to Princeton for inclusion: Intermittent Problems, mdb and kmdb. I also made significant improvements to the dtrace page.
A great collection of repositories for Open SuSE Linux
Labels: repositories, SuSE
dtrace, methodology, SMF
I've submitted pages on
general methodology, dtrace and SMF. Depending on Princeton's work schedule, they may not be up until after the holidays.
KVM Virtualization solution to be tightly integrated with Linux kernel 2.6.20
Updated Load Average and ZFS Tuning
I've posted updates to the discussion of Load Averages and ZFS Tuning.
25 Shortcomings of Microsoft Vista OS - A good reason to choose GNU/Linux ...
- Vista introduces a new variant of the SMB protocol - (I wonder what is the future of Samba now...)
- Need significant hardware upgrades
- No anti-virus bundled with Vista
- Many third party applications still not supported
- Your machine better have a truck load of Memory - somewhere around 2 GB. (Linux works flawlessly with just 128 MB... even less).
- Too many Vista editions.
- Need product activation. (Now that is something you will never see in Linux).
- Vista OS will take over 10 GB of hard disk space. (With Linux you have a lot of flexibility with respect to the size of the distribution.).
- Backing up the desktop will take up a lot of space. (Not so in Linux)
- No must have reasons to buy Vista. (The fact that Linux is Free is reason enough to opt for it)
- Is significantly different from Windows XP and so there is a learning curve. (Switching to Linux also involves some learning curve but then it is worth it as it doesn't cost you much and in the long run, you have a lot to gain).
- You'd better come to terms with the cost of Vista - it is really exorbitant running to over $300. (In price, Vista can't beat Linux which is free as in beer and Freedom).
- Hardware vendors are taking their own time to provide support for Vista.(Now a days, more and more hardware vendors are providing support for Linux).
- Vista's backup application is more limited than Windows XP's. (Linux has a rich set of backup options and every one of them is free).
- No VoIP or other communication applications built in. (Skype, Ekiga... the list goes on in Linux).
- Lacks intelligence and forces users to approve the use of many native applications, such as a task scheduler or disk defragmenter. (Linux is flexible to a fault).
- Buried controls - requiring a half a dozen mouse clicks. (Some window managers in Linux also have this problem but then here too, you have a variety of choice to suit your tastes).
- Installation can take hours, upgrades even more. (Barring upgrades, installation of Linux will take atmost 45 minutes. Upgrades will take a little longer).
- Little information support for Hybrid hard drives.
- 50 Million lines of code - equates to countless undiscovered bugs. (True, true... It is high time you switch to Linux).
- New volume-licensing technology limits installations or requires dedicated key-management servers to keep systems activated. (Linux users do not have this headache I believe).
- Promises have remained just that - mere promises. A case to the point being WinFS, Virtual folders and so on. - (Clever marketing my friend, to keep you interested in their product).
- Does not have support for IPX, Gopher, WebDAV, NetDDE and AppleTalk. (Linux has better support for many protocols which Windows do not support).
- Wordpad's ability to open .doc files have been removed. (Now that is what I call extinguishing with style. OpenOffice.org which is bundled with most Linux distributions can open, read and write DOC files).
Labels: opinionated articles
SysAdmin article
An expanded and rewritten version of the Resource Management page has been tentatively accepted by SysAdmin as for its April 2007 issue.
Updated pages
I've submitted some updated pages for Resource Management, ZFS and Scheduling.
I also added a beginning of a page on Zones.
--Scott
Various ways of detecting rootkits in GNU/Linux
Detecting rootkits on your machine running GNU/Linux
I know of two programs which aid in detecting whether a rootkit has been installed on your machine. They are Rootkit Hunter and Chkrootkit.
Rootkit Hunter
Once installed, you can run rootkit hunter to check for any rootkits infecting your computer using the following command:
# rkhunter -c
- MD5 tests to check for any changes
- Checks the binaries and system tools for any rootkits
- Checks for trojan specific characteristics
- Checks for any suspicious file properties of most commonly used programs
- Carries out a couple of OS dependent tests - this is because rootkit hunter supports multiple OSes.
- Scans for any promiscuous interfaces and checks frequently used backdoor ports.
- Checks all the configuration files such as those in the /etc/rc.d directory, the history files, any suspicious hidden files and so on. For example, in my system, it gave a warning to check the files /dev/.udev and /etc/.pwd.lock .
- Does a version scan of applications which listen on any ports such as the apache web server, procmail and so on.
On my machine, the scanning took 175 seconds. By default, rkhunter conducts a known good check of the system. But you can also insist on a known bad check by passing the '--scan-knownbad-files' option as follows :
# rkhunter -c --scan-knownbad-files
# rkhunter --update
59 23 1 * * echo "Rkhunter update check in progress";/usr/local/bin/rkhunter --update
Chkrootkit
# chkrootkit -l
# chkrootkit -x
... which will run this tool in expert mode.
Labels: slashdotted
FSF starts campaign to enlighten computer users against Microsoft's Vista OS
John Sullivan, the FSF program administrator has aptly put it as thus :
Vista is an upsell masquerading as an upgrade. It is an overall regression when you look at the most important aspect of owning and using a computer: your control over what it does. Obviously MS Windows is already proprietary and very restrictive, and well worth rejecting. But the new 'features' in Vista are a Trojan Horse to smuggle in even more restrictions. We'll be focusing attention on detailing how they work, how to resist them, and why people should care.
RPM to be revitalized - courtesy of Fedora Project
Perhaps the need of the hour is that all Linux distributions support a universal package format with all packages residing in a central repository, which can be shared by all Linux distributions alike. But this scenario looks bleak with Debian having its own dpkg format and Red Hat based distributions having their own RPM based package formats. Atleast there is going to be better inter operability with different Red Hat based Linux distributions in the future as one of the goals of this new project is to work towards a shared code base between SuSE, Mandrake, Fedora and so on. At present, a lot of work in creating packages and maintaining repositories is being repeated over and over. But Fedora's decision breathes new life in the future of RPM and one can hope to see RPM morph into a more efficient, robust package manager with lesser bugs.
- Give RPM a full technical review and work towards a shared base.
- Make RPM a lot simpler.
- Remove a lot of existing bugs in the RPM code base.
- Make it more stable.
- Enhance the RPM-Python bindings thus bringing greater interoperability between Python programs and RPM.
Sun Microsystems - doing all it can to propagate its immense software wealth
Taking all these events into consideration, Sun is doing everything in its power to ensure that the fruits of its hard work lives on and gains in popularity. A few days back when I visited Sun's website, I was surprised to see a link offering to send a free DVD media kit consisting of the latest build of Solaris 10 and Sun Studio 11 software to the address of ones choice. I have always believed that one of the reasons for Ubuntu to gain so much popularity was because of its decision to ship free CDs of its OS. Perhaps taking a leaf from Ubuntu, Sun has also started shipping free DVDs of Solaris 10 OS to anybody who want a copy of the same - a sure way of expanding its community.
Labels: opinionated articles, solaris
Travails of adding a second hard disk in a PC running Linux
ZFS and Resource Pools
Additional pages for ZFS and Resource Pools have been submitted. The scheduler page has been expanded.
Sources for the ZFS page include the following:
Solaris ZFS Administration Guide
Brune, Corey, ZFS Administration, SysAdmin Magazine Jan 2007
Humor - Get your ABC's of Linux right
A is for awk, which runs like a snail, and
B is for biff, which reads all your mail.
C is for cc, as hackers recall, while
D is for dd, the command that does all.
E is for emacs, which rebinds your keys, and
F is for fsck, which rebuilds your trees.
G is for grep, a clever detective, while
H is for halt, which may seem defective.
I is for indent, which rarely amuses, and
J is for join, which nobody uses.
K is for kill, which makes you the boss, while
L is for lex, which is missing from DOS.
M is for more, from which less was begot, and
N is for nice, which it really is not.
O is for od, which prints out things nice, while
P is for passwd, which reads in strings twice.
Q is for quota, a Berkeley-type fable, and
R is for ranlib, for sorting ar table.
S is for spell, which attempts to belittle, while
T is for true, which does very little.
U is for uniq, which is used after sort, and
V is for vi, which is hard to abort.
W is for whoami, which tells you your name, while
X is, well, X, of dubious fame.
Y is for yes, which makes an impression, and
Z is for zcat, which handles compression.
Labels: humor
Ishikawa and Interrelationship Diagrams
I've been working on a page including information on some formal troubleshooting methods. En route, I have been looking at Cause-and-Effect (Ishikawa fishbone) diagrams and Interrelationship Diagrams.
Here are some of the noteworthy web pages I've been looking at:
Concordia: Cause and Effect Diagram and
Concordia Interrelationship Diagram provide a nice introduction to the two types of diagrams.
HCI Cause and Effect Diagram provides a slightly longer article, including some historical informaton about Ishikawa diagrams.
balancedscorecard.org Cause and Effect Diagram provides a much more in-depth view of Ishikawa diagrams.
questlearningskills.org Interrelationship Diagrams provides a howto level article about Interrelationship diagrams.
ASQ Interrelationship Diagrams provides a slightly longer article about Interrelationship Diagrams.
Root Cause Analysis: A Framework for Tool Selection provides a nice comparison of Ishikawa and Interrelationship diagrams, as well as Current Reality diagrams.
Trolltech's Qtopia Greenphone
Specifications of the Qtopia Greenphone
The hardware consists of the following:
- Touch-screen and keypad UI
- QVGA® LCD color screen
- Marvell® PXA270 312 MHz application processor
- 64MB RAM & 128MB Flash
- Mini-SD card slot
- Broadcom® BCM2121 GSM/GPRS baseband processor
- Bluetooth® equipped
- Mini-USB port
- 512 MB RAM
- 2.2 GB HDD space and
- 1 GHz processor