Lets look at iomem first iomem simply lists the

Info icon This preview shows pages 32–33. Sign up to view the full content.

Let's look at iomem first. iomem simply lists the memory reservations that have been defined for are ioports, and you can see those here. If we look at the ioports file we can see which hardware deviceshave been assigned which IO port. There's another useful file in this directory called 'meminfo'.meminfo contains memory utilization statistics. For example, we can see the total amount of memory in the system, about 2 GB. We can see how much memory is available. We can see how muchmemory has been cached. We can see how much swap memory, or virtual memory, is available and how much has been used. 'modules' File 3:54-4:50 Another useful file is the 'modules' file. The modules file contains a list of all the kernel modules loaded on the system. Remember, with Linux when we talk about kernel modules we're talkingessentially about drivers. They provide the interface between the physical hardware in the systemand the CPU in the operating system. Let's do 'less modules'. You can see a list of all the kernel modules that have currently been loaded.You can also view version information about the operating system. This is contained in the version file, 'cat version'. Here you can view Linux version number information. You probably notice that this is very similar to the output that you see when you run the 'uname' command. You can also view how long the system has been up and running by viewing the 'uptime' file. Here it tells us how long the system has been up. Do an 'ls' command here. SCSI Devices 4:51-6:50 There's a subdirectory in /proc that contains useful hardware information about the SCSI devices installed in our system. Remember when we're dealing with Linux, if you have a SATA drive connected to the system or a USB drive connected to the system, the Linux kernel views those devices as SCSI devices. To view the information about the storage devices in most Linux systems, this is the directory where you need to go. Let's go into scsi. We do an 'ls' command. One useful file here is the 'scsi' file. In here you can see a list of all the SCSI devices that have been installed in the system. These actually aren't really SCSI devices as I said earlier. They're actually SATA devices. If we look at the output we see that we have one optical drive, two hard disks and also a USB drive connected to this system. This system is actually running in VMware virtual machine, so for these first three devices the vendor is VMware, and the model basically are virtual disks indicating that these aren't really hardware devices. They are virtual devices. This USB drive down here is actually a physical thumb drive that's been connected into the system and accessed by the virtual machine. The vendor is Kingston. The model is Data Traveler 2.0. Let's go up a level and do the 'ls' command.Other useful hardware information is contained in this directory right here, the bus directory. Let's go into it. Within this directory are two subdirectories. One is input, one is pci. If we wanted to view information about the input devices connected to this system, we'd go into the input directory. Notice in here there's a file called
Image of page 32

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

Image of page 33
This is the end of the preview. Sign up to access the rest of the document.
  • Spring '14
  • Liquid crystal display, Universal Serial Bus, Cathode Ray Tube

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern