Chp 2: Managing Software - VII Flashcards
What is considered the heart of every Linux system? *hint: popcorn pg. 88
Linux kernel
Which two options of the uname command often returns ‘unknown’ on many systems. pg. 88
Processor and Hardware Platform
What does the uname -a or –all command provide? pg. 88
all available information
What’s one of the most important tools in process management which is useful in monitoring what’s happening on a system? pg. 88
ps
What are the three types of options for ps? pg. 89
Unix 98 Options (preceded with a -), BSD Option (no dash), GNU Long Options (preceded with a - -)
T or F The ps options that can be grouped together may not be clustered with spaces between them. pg. 89
TRUE for example: ps -a -f would be typed ps -af
What ps options are useful to trace the parentage of a process? pg. 89
-H, -f, and –forest options group processes and use indentation to show the hierarchy of relationships between processes….note that the H is uppercase
What is the TOP tool and what is is used for? pg. 92
Top is a text-mode program used to discern how much CPU time various processes are consuming compared to one another or to identify which processes are consuming the most CPU time.
The ___ command provides a quick glance at how much physical and swap memory is in use, and how much is available. pg. 93
FREE
Which commands will launch a program with a specified priority or edit that priority? pg. 96
nice and renice
1 SIGHUP terminates interactive programs, 9 SIGTERM causes the process to exit w/out performing shutdown tasks, and 15 SIGTERM causes what effect? pg. 97
the process to exit after allowing it to close open files
T or F The kernel can pass signals to programs even if you don’t use the kill command. pg. 98
True
What program do you need to run in order to keep a program continuing to run after you’ve logged out? pg, 98
nohup
If you want to make sure you’re using the external program of kill to terminate a process, what complete path would you type? pg. 97
/bin/kill
What is the difference between kill and killall? pg. 98
kill ends the process based on the PID number, but killall end the process based on it’s name
What does killall -i do for you? pg. 98
asks for confirmation before sending the kill signal to each process