Algorithm to allocate a resource may be to give to shortest job first Works great for multiple short jobs in a system May cause long job to be postponed indefinitely even though not blocked Solution: First-come, first-serve policy
29 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1223 | Lượt tải: 0
Separate what is allowed to be done with how it is done a process knows which of its children threads are important and need priority Scheduling algorithm parameterized mechanism in the kernel Parameters filled in by user processes policy set by user process
55 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1224 | Lượt tải: 0
Mainframe operating systems Server operating systems Multiprocessor operating systems Personal computer operating systems Real-time operating systems Embedded operating systems Smart card operating systems
36 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1214 | Lượt tải: 0
While the log files found in /var/log may be extremely helpful for troubleshooting problems, they might become a problem themselves if they fill up the filesystem. Having services like mail and printing available may be useful, but if they cause your system to crash, then that can be a problem. Mounting /var on a separate partition is often done ...
59 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1606 | Lượt tải: 0
To display the current umask value, execute umask with no arguments. To set umask to a value of 027, type umask 027 The new umask value will only apply during a login session. When a new shell is started, your default umask will be in effect again. To set a new default umask, modify ~/.bashrc The umask value has no effect on existing files or ...
35 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1418 | Lượt tải: 0
Use the userdel command to delete a user account. By default, only the account is deleted, not any of the files owned by the user. By using the –r option, files in the user’s home directory and the user’s mail spool are deleted.
28 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1243 | Lượt tải: 0
Displays detailed user and system information: [sysadmin@localhost ~]$ w 10:44:03 up 50 min, 4 users, load average: 0.78, 0.44, 0.19 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root tty2 - 10:00 43:44 0.01s 0.01s -bash sysadmin tty1 :0 09:58 50:02 5.68s 0.16s id sysadmin pts/0 :0.0 09:59 0.00s 0.14s 0.13s who sysadmin pts/1 example.com 10:00...
28 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1218 | Lượt tải: 0
ifconfig - Displays interface configuration information. route - Displays the routing table. ping - Used to determine if a remote machine can be contacted via the network. netstat - Display network statistics. dig - Displays query results from DNS servers. ssh - Allows a user to login to a remote machine.
22 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1325 | Lượt tải: 0
The kernel ring buffer is memory used to hold messages generated by the kernel. The /var/log/dmesg file is used by some distributions to hold kernel messages that were generated during start up. Kernel messages, mixed in with other messages, are found in the /var/log/messages or /var/log/syslog file. The /etc/syslog.conf or /etc/rsyslog.conf fil...
39 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1239 | Lượt tải: 0
No video standards, requiring specific drivers for specific video cards. Two types of connections: Video Graphics Array (VGA) Digital Visual Interface (DVI) Monitor and video card must both support selected resolution. Typically X.org server determines proper resolution.
24 trang | Chia sẻ: nguyenlam99 | Ngày: 04/01/2019 | Lượt xem: 1320 | Lượt tải: 0