click below
click below
Normal Size Small Size show me how
Sys-Admin Section 4
Choose a game to study Section 4 Keypoints!
| Question | Answer |
|---|---|
| What is the traditional start-up order? | POST/Hardware, kernel/drivers loaded, OS loaded, Disk mounts, OS services and applications, (databases 1st, messaging/OLTP, apps/webservers |
| what does the who -r command show? | current run level |
| what is one way to show current runlevel besides the who -r command? | runlevel |
| what is runlevel 0? | Halt |
| What is runlevel 1? | Single user mode |
| What is runlevel 2? | not used - user-definable |
| What is runlevel 3? | Full multiuser mode - command prompt |
| What is runlevel 4? | Not used - user definable |
| What is runlevel 5? | Full multi-user mode with an X-based login screen (windows, GUI) |
| What is runlevel 6? | Reboot |
| What is /etc/inittab | Initialization file - where you can change runlevel (initdefault) |
| What does /ect/init.d conatin? | startup scripts |
| What does /etc/init.d/rc#.d conatin? | links to /etc/init.d scripts that begin with either a K or an S |
| What does the K and S stand for in the links found in /etc/init.d? | K = kill script, S = startup script |
| What shutdown command will turn your computer completely off immediately? | shutdown -h 0 |
| What shutdown command will reboot after shutoff? | shutdown -r 0 |
| What does the number in in the shutdown command represent? | time (in seconds) until shutdown |
| what is chkconfig used for? | to view/add/remove what processes/software start up at boot time |
| What does insserv do? | Enables an installed system init script by reading the comment header of the script. |
| what does lsmod give you? | a list of loaded modules |
| what does insmod do? (insmod 'path') | installs a loadable module in the running kernel |
| ls -li (what does this command do?) | shows inode of file |
| df -ki | shows inode usage |
| rmmod | unload loadable modules |
| what command prints basic information currently available from the system | uname -a |
| sysctl -A | used to modify kernel parameters at runtime - displays all values currently available in table form. |
| what is the stat command used for | to get file status |