We also have a priority column added too that tells

Info icon This preview shows pages 54–56. Sign up to view the full content.

View Full Document Right Arrow Icon
We also have a priority column added too that tells us the relative priority of this process on the system versus the other processes that are running. Let's take a look at how we can use the ps command to identify a problematic process. I'm going to open up a new terminal window and over here in my home directory I have an executable file called zombie. When I run this program it's going to create a zombie process, a bad process and we can use the ps command over in this other window to identify it. So I'm just going to type zombie and now let's go over here and let's type the 'ps -elf' command again and we want to locate the zombie process by looking in the status column over here and sure enough right there, we see a Z. That tells me that this process is zombie, meaning that it's got a problem and that it needs to be cleaned up. Summary 6:25-6:37 That's it for this demonstration. In this demo, we talked about how to use the ps command to view process information. We first reviewed all the different options you can use with the ps command to display specific information and then we used the ps command to identify a zombied process.
Image of page 54

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

View Full Document Right Arrow Icon
When installing software on a Linux system, you usually install a precompiled application or service from a software package . Packages contain executables (and other files) that have been precompiled and configured for a specific hardware architecture and Linux distribution. Use the shell commands listed in the following table to manage the applications and processes on Linux: Comman d Description yum The yum command installs packages on Linux systems that use the Red Hat Package Manager (RPM). The yum command can automatically locate and download RPM packages for you by searching one or more repositories on the Internet. It can install the package and all of its dependencies at the same time. The syntax for using yum is as follows: yum install package_name installs the specified package. yum remove package_name uninstalls the specified package. yum list installed lists all packages installed. yum list installed package_name checks to see if the specified package is installed. yum list available displays a list of all packages available for installation within the Internet repositories yum is configured to use. yum list updates generates a list of updates available for all installed packages. yum update package_name installs updates for the specified package. yum info package_name displays information about the specified package, including its version and dependencies. yum search keyword searches for any packages that contain the specified keyword in the description, summary, or package name fields within the Internet repositories yum is configured to use.
Image of page 55
Image of page 56
This is the end of the preview. Sign up to access the rest of the document.

{[ 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