Tag Archive for Hardware

Interrogating Solaris hardware for installed CPU and memory resources

There are times when working with a Solaris server that you need to know a little more about the hardware configuration. Knowing how much memory that you have and how many processors there are can be very useful to know if you are not to hog such resources.

The command for revealing how much memory has been installed is:

prtconf -v

Since memory is often allocated to individual CPU’s, then knowing how many are on the system is a must. This command will give you the bare number:

psrinfo -p

The following variant provides the full detail that you see below it:

psrinfo -v

Output:

Status of virtual processor 0 as of: 10/06/2008 16:47:54
  on-line since 09/13/2008 14:47:52.
  The sparcv9 processor operates at 1503 MHz,
        and has a sparcv9 floating point processor.
Status of virtual processor 1 as of: 10/06/2008 16:47:54
  on-line since 09/13/2008 14:47:49.
  The sparcv9 processor operates at 1503 MHz,
        and has a sparcv9 floating point processor. 

For a level intermediate between both extremes, try this to get what you see below it:

psrinfo -vp

Output:

The physical processor has 1 virtual processor (0)
  UltraSPARC-IIIi (portid 0 impl 0×16 ver 0×34 clock 1503 MHz)
The physical processor has 1 virtual processor (1)
  UltraSPARC-IIIi (portid 1 impl 0×16 ver 0×34 clock 1503 MHz)

VMware Workstation in full screen mode hobbles my keyboard

I have recently encountered an odd situation following my recent upgrade to Ubuntu 8.04: when I use VMware Workstation to run Windows XP in full screen mode, the keyboard no longer acts as it should. For instance, Caps Lock and Num Lock keys stop working as does the Shift key. Logging out and back in again is the least that’s needed to set things right but there has to be a better way to fix the problem. I am not saying that it’s limited to the scenario where I saw it happen but it’s still very odd behaviour. If you have a solution, please let me know. Of course, I’ll keep you posted if I find one. In the meantime, I’ll be avoiding full screen mode with VMware as much as I can.

Update 1:

I have done a spot of digging on this one since and gained the impression that there might be a conflict between VMware and the version of X.org Server that comes with Ubuntu. A restorative trick that I have seen suggested is to issue the following command in a terminal, replacing "gb" with your own locale, but I have yet to see if it works:

setxkbmap -rules xorg -layout "gb"

In any case, it looks as if it is not a permanent fix but just a way to keep working without resorting to system restarts, logging off and back on, etc.

Update 2:

I can now verify that the comand quoted above works for me. Of course, it would better to find a permanent fix and even better for the behaviour never to occur at all but any fix is better than none whatsoever.

Ubuntu: an appraisal of hardware support

After a painless start with Ubuntu, I have been able to overcome the obstacles placed in my way thus far. In fact, it is sure to yield a goodly number of blog posts, never a bad thing from my point of view. And so to this installment…

For this post, I’ll stick with the hardware side of things. Compared with previous voyages into the Linux universe, I have not encountered any "brick walls" placed in my path. Audio support was one bugbear in the past but Ubuntu simply took care of that with no intervention from me. I popped in a CD and music was played back to me and I have the same confidence with MP3 files. In the same way, graphics were set up to my liking with having to lift a finger; there is proprietary ATI driver available but I’ll stick with the standard set up since it easily works well enough for me. Printer set up needed a prod from my end but it got on with things and found my HP LaserJet 1018 with nary a bother and all was set up very quickly. All other items of hardware but one scarcely merit a mention, so seamless was their detection and set up.

The one piece of hardware that made me work was my Epson Perfection 4490 Photo scanner. it wasn’t supported out of the box but a spot of googling was all that it took to find out how to set things to rights. In fact, the best answer turned out to be on Ubuntu’s forum, hardly a surprise really. The step by step instructions sent me over to Epson’s repository of open source Linux drivers for the correct files; I did need to make sure I wasn’t selecting 4990 in place of 4490, a very easy thing to do. I snagged Debian RPM’s and used alien to convert them to DEB files. Running dpkg as root did the installation and quick checks with sane-find-scanner and scanimage commands revealed that all was well, to my clear relief.

Hardware support has always been an Achilles heal for Linux but, on the basis of this experience, the Linux community seem to be more on top of it than ever before. The proprietary nature of the devices is an ever present challenge for driver developers so getting as far as they have is an impressive achievement. It’s a long way from roadblocks due to tempestuous support of modems, sound cards, printers and scanners and I seem to have got over the biggest hurdle on my Linux journey this time around.

Evaluating an ergonomic mouse

Recent hectic mouse work has left my right hand feeling the worse for wear so a recent opportunity to try out a work colleague’s Evoluent VerticalMouse 3 was one that I took up. I gave it a go for a day and it left me impressed enough to go out and order one for myself. It’s not a cheap item with some selling for a smidgen less than £60 and others selling for significantly more than this. Also, it is a handed item with the latest version being available to right handers like myself and an earlier one for lefties. It will work with Windows 2000 but the supplied software is for XP and later.

The idea behind the gadget is an intriguing one: rather than having your hand held parallel to your desk as with a conventional mouse, you have it almost perpendicular to it. The claim is that when you have your arm this way, it is less likely to get tired. The arrangment sounds as if it might not work but it does in practice: your thumb is the anchor for the hand and the little finger (lúidín in Irish) rests on a little ledge that stops it getting dragged along either the mouse mat or the surface of the desk. This arrangement does allow you to relax your hand on the mouse. You get the usual mouse functions plus extra buttons that you can use to go back and forward through web pages; even without installing the included software, you get these. However, I have observed drift of the mouse cursor across the screen of my home PC when the unit is not being moved around. At first, I wasn’t sure what is causing this but it now appears to be the mouse mat that I was using. I’ll continue to give it a go.

Update: a mouse such as this really needs you to rest your arm on the desk for it to be at its most helpful. That’s fine for work but my home set up had me stretching my arm and that leads to a lot of discomfort. That isn’t the fault of the mouse: it is actually telling me something useful. The primary cause is a pull out keyboard drawer that I have to use due to lack space on the desk itself. So, I raised up my full tower computer case a little from the floor and now use that as a platform for the mouse. I know that it’s an unconventional approach but it seems to be working so far and I can make further adjustments if needs be…

Is computer mousemat wrist support a waste of time?

It is an occupational hazard for those who use computers a lot that they feel twinges in their wrists, hands, fingers and forearms. I, for one, have to admit that I end up getting my continual warnings. Previously, this has taken the form of wrist fatigue, weakness and discomfort and mouse mats with wrist support have taken pride of place on computer desks frequented by my person. Keyboard wrist supports have been another staple when at my workplace.

More recently, I have been exposed to a new bespoke-built application at work and its testing has meant a lot of intensive mouse work and it can be very repetitive. The can take its toll and my fatigued fingers have been enough to make me speak to the occupational health department at work. To their credit, they recognise the issues and I am getting some advice from a physiotherapist. The obvious resolution is of course the very one that you can never do as much as you want when you are an application developer: rest from computer-related activities. I work with someone for whom rest has not worked and his problems have made him ambidextrous; I am right-handed and find it tricky to use a mouse with my left but that’s what he has mastered. Exercises are another necessity; vigorous hand shaking together with wrist rotations and stretches are among those that I have been told to do every thirty minutes while using a PC. I don’t know how that appears to my work colleagues but it sounds like something that could look a little odd to those not in the know. Anything has to better than doing permanent and lasting damage…

Doing daft exercise is fine in the comfort of one’s own home though and that brings me to another point: you cannot just concentrate on your work set up and forget about that at home.Spending hours playing computer games on a dining table and seated on a dining room chair is never going to help your cause; that’s not something that I have ever done but it’s a story that I have heard. I have certainly made some adjustments so that my wrist and arm are level with one another; the latter was likely to be inclined at an angle at times with some strain on the wrist. Nine years go, I have had an inappropriate chair adding to the discomfort of pulled back muscles so my current home computer chair became a required acquisition, from Argos as it happened. It performs sterling service but that has not stopped me wondering about one with armrests but that could be down to my using a computer desk with a roll out keyboard shelf.

Another key piece of advice is to relax my hand on the mouse and for that you need to set up your desk properly. A lot of problems are caused by the habit of holding the palm of one’s hand in thin air over a mouse and my long fingers make the practice easier to do than it should be. Having a mouse with wrist support exacerbates the situation and I have come to the conclusion that I need my wrist resting directly on the desk and that allows my arm to move the mouse too and not just my wrist. That allows me to rest the palm of my hand and my fingers on the mouse. It seems to be better for me but it leaves one question: how did wrist supports get added to mouse mats in the first place? Saying that, I am not in a position to question the use of keyboard wrist supports but typing has never been known cause me any real problems.

Terminology for larger and larger disk drive data volumes

When I started into the world of computing at university, 200-300 MB hard drives were the norm for PC’s. My own first PC had what was then thought a sizable 1.6 GB disk and things have increased in size since then. I now have access to several hundred gigabytes of storage at home and we are now seeing 1TB offerings for the PC market.

Terabyte storage has been the preserve of the server market but given the disk sizes that are available now, even larger units are needed to describe the sizes of data volumes, ones that I haven’t seen before. So here goes:

Unit
 

Number of bytes
(in next smaller unit)

Number of bytes
(binary*)

Number of bytes
(decimal*)

petabyte

 1024 TB 

 2**50

 10**15

exabyte

 1024 PB 

 2**60

 10**18

zettabyte

 1024 EB 

 2**70

 10**21

yottabyte

 1024 ZB 

 2**80

 10**24

* Binary measurements are used by operating systems like Windows while decimal ones are used by hard drive manufacturers

 I know that the above strays into the realms of esoterica but, with the way that things have been going, we may be talking about petabytes before very long. As it so happens, HP recently mentioned zettabytes when talking about its range of UNIX servers and I needed to go looking up what it meant…

Private
  • As is commonly the case with places like these, all the views that you find expressed on here in postings and articles are mine alone and not those of any organisation with which I have any association, through work or otherwise. With regards to any comments left on the site, I reserve the right to reject any that are inappropriate. Otherwise, whatever is said is the sole responsibility of whoever is leaving the comment.