Chapter 1 Flashcards
Describe the components of a client-server architecture.
- Server serves clients over the network
- Server share resources
- Web server shares websites
- Bowser access websites
- Network interface card connect computer to network
- Connection wireless(WIFI) or wired (Ethernet)
- Routers connects networks(LAN . WAN- ISP) and determine the shortest distance
- Internet Exchange Points (Large Routers ) connects WANS
Static pages
- Only change when developer changes it
- Does not change in response to user input
- Client sends http request
- Web server responds with html file
- TCP/IP allows two computers to communicate
Dynamic pages
- Generated by server-side program/ script
- Change according to info
- Uses extensions of requested files to determine which server or programme to process
- Php interpreter process php files
- Php can use data from web browser to access data from database server
- Can store data in database
Web browsers
- Internet explorer
- Firefox
- Safari
- Opera
- Chrome
Web server
- Apache
- IIS
Server-side languages
- PHP
- JHP
- ASP.NET
- Perl
- Python
Database servers
- MySQL
- Oracle
- DB2
- MS SQL Server
What is a process in Linux, and how is it related to a command?
A process in Linux is a running instance of a command.
Multiple users running the same command result in distinct running processes.
How is a process identified on a Linux system?
A process is identified by its unique Process ID (PID).
Once a process ends, its PID becomes available for reuse.
What attributes are associated with a process in addition to the Process ID?
Alongside the Process ID, a process is associated with a user account and a group account.
User and group account information determines the process’s access to system resources.
Why is the ability to manage processes crucial for a Linux system administrator?
Managing processes is critical as runaway processes can harm system performance.
Explain the significance of the Process ID (PID) uniqueness on a Linux system.
PID uniqueness ensures each running process has a distinct identifier.
How does the association with user and group accounts impact a Linux process?
This association determines the process’s access level to system resources.
In what situations might a Linux system administrator need to manage processes actively?
Active process management is required for issues like runaway processes consuming excessive resources.
Monitoring and handling processes based on factors like memory and CPU usage is essential.
What is the ps command used for in Linux?
The ps command in Linux is used to list processes currently running on the system. It provides information about running programs, the resources they are utilizing, and details about the users running them.
How does the top command differ from the ps command in listing processes?
The top command offers a more screen-oriented approach to listing processes.
It not only displays information about running processes but also allows users to interactively change the status of processes.
What graphical tool can be used in the GNOME desktop environment to work with processes?
the System Monitor tool (gnome-system-monitor) can be used.
How does the ps command display information about running processes?
The ps command displays information such as usernames, the time a process started, and memory and CPU usage.
what does the “STAT” column represent
The “STAT” column in the ps command output represents the state of the proces