This site works best with JavaScript enabled
Sign In
Discussions
Activity
Sign In
All
8. Explain the function and usage of `pthread_join()` and how it helps in thread synchronization.
0
★
2
B
35
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
12. Explain the four arguments of `pthread_create()` and their significance in thread creation.
0
★
2
B
166
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
11. What is the purpose of the `pthread_create()` function in POSIX threads
0
★
2
B
28
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
5. What is the significance of thread states like running, blocked, and waiting
0
★
2
B
23
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
9. How does shared memory between threads in Pthreads simplify communication compared to processes?
0
★
2
B
24
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
6. What challenges are commonly associated with using Pthreads, such as race conditions and deadlock
0
★
2
B
21
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
13. What happens if `pthread_create()` is called with a NULL value for the `attr` parameter?
0
★
2
B
28
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
17. What is the purpose of the `pthread_exit()` function in POSIX threads
0
★
2
B
18
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
18. Explain how the `void *retval` argument in `pthread_exit()` is used
0
★
2
B
24
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
20. What is the difference between joinable and detached threads
0
★
2
B
36
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
19. How does calling `pthread_exit()` in the main thread affect the behavior of the entire process?
0
★
2
B
25
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
002.06.StreamsAndFileProcessing
0
★
1
B
20
E
Started by
pravjot
November 2024
002.06.Streams and File Processing
3. What are the main components of a POSIX thread?
0
★
2
B
25
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
2. Explain the key differences between threads and processes in Linux
0
★
2
B
23
E
Most recent by
abhinandan2971verma
November 2024
003.11.POSIX-Threads
Queries. 104.01.Linux Network Stack, User-Space
0
★
1
B
22
E
Started by
pravjot
November 2024
104.01.Linux Network Stack User-Space
4. Understanding Process IDs in Unix Systems
0
★
3
B
51
E
Most recent by
riteshtyagi725
November 2024
003.02.91.Interview Questions. Intro-to-Processes
3. Using the `ps` Command to View Processes
0
★
3
B
55
E
Most recent by
riteshtyagi725
November 2024
003.02.91.Interview Questions. Intro-to-Processes
2. Managing Process Priorities with Nice Values
0
★
3
B
37
E
Most recent by
riteshtyagi725
November 2024
003.02.91.Interview Questions. Intro-to-Processes
8. Replace the current process with the `date`
0
★
3
B
33
E
Most recent by
akashbhandari
November 2024
003.04.81.Assignment. Process Replacement
7. Replace the current process with the `ls -l`
0
★
4
B
42
E
Most recent by
akashbhandari
November 2024
003.04.81.Assignment. Process Replacement
6. Significance of the `NULL` terminator
0
★
3
B
20
E
Most recent by
akashbhandari
November 2024
003.04.81.Assignment. Process Replacement
4. Advantage, `execvp()` have over `execv()`
0
★
4
B
25
E
Most recent by
bhatnagarharsh37
November 2024
003.04.81.Assignment. Process Replacement
3. where `execl()` is preferred over `execv()
0
★
4
B
38
E
Most recent by
bhatnagarharsh37
November 2024
003.04.81.Assignment. Process Replacement
2. Why use exce() functions
0
★
5
B
51
E
Most recent by
bhatnagarharsh37
November 2024
003.04.81.Assignment. Process Replacement
1. Difference between `fork()` and any `exec()
0
★
5
B
63
E
Most recent by
bhatnagarharsh37
November 2024
003.04.81.Assignment. Process Replacement
Issues, queries and suggestions in Introduction to Networks and Configurations
0
★
1
B
20
E
Started by
pravjot
November 2024
004.01.Introduction to Networks and Configurations
004.04.Linux Network Stack
0
★
1
B
26
E
Started by
pravjot
November 2024
004.04.Linux Network stack
Issues, queries and suggestions.Transmission Control Protocol
0
★
1
B
22
E
Started by
pravjot
October 2024
004.05.Transmission Control Protocol
Array Store which type of memory?
0
★
3
B
25
E
Most recent by
mdaliakbar
October 2024
Query
5. Using `pidstat` for Process Monitoring
0
★
4
B
132
E
Most recent by
mdaliakbar
October 2024
003.01.92.Interview-Questions-Introductory-Concepts
1. Understanding Process Structure and Types
0
★
3
B
49
E
Most recent by
riteshtyagi725
October 2024
003.02.91.Interview Questions. Intro-to-Processes
4. Per-Process I/O Monitoring with `iotop`
0
★
3
B
28
E
Most recent by
riteshtyagi725
October 2024
003.01.92.Interview-Questions-Introductory-Concepts
3. Monitoring I/O with `iostat`
0
★
3
B
30
E
Most recent by
riteshtyagi725
October 2024
003.01.92.Interview-Questions-Introductory-Concepts
2. Analyzing CPU Time with `vmstat`
0
★
3
B
36
E
Most recent by
riteshtyagi725
October 2024
003.01.92.Interview-Questions-Introductory-Concepts
1. Understanding `vmstat` Output
0
★
3
B
73
E
Most recent by
riteshtyagi725
October 2024
003.01.92.Interview-Questions-Introductory-Concepts
6. Default Parameter Values in Functions
0
★
2
B
23
E
Most recent by
abhinandan2971verma
October 2024
011 Shell Scripting using Bash
4. Returning String Values from Functions
0
★
2
B
20
E
Most recent by
abhinandan2971verma
October 2024
011 Shell Scripting using Bash
10. Combining Multiple Concepts
0
★
2
B
25
E
Most recent by
abhinandan2971verma
October 2024
011 Shell Scripting using Bash
5. Using Positional Parameters in Functions
0
★
2
B
29
E
Most recent by
abhinandan2971verma
October 2024
011 Shell Scripting using Bash
3. Returning Integer Values from Functions
0
★
2
B
20
E
Most recent by
abhinandan2971verma
October 2024
011 Shell Scripting using Bash
2. Passing Parameters to Functions
0
★
2
B
22
E
Most recent by
abhinandan2971verma
October 2024
011 Shell Scripting using Bash
1. Basic Function Definition
0
★
2
B
24
E
Most recent by
abhinandan2971verma
October 2024
011 Shell Scripting using Bash
20. Tracking Page Faults for Processes
0
★
3
B
108
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
19. Understanding Page Faults
0
★
4
B
273
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
18. Monitoring System Memory Status
0
★
3
B
68
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
17. Understanding Load Average
0
★
3
B
33
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
16. Scheduling Priority and Nice Value
0
★
3
B
47
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
15. Interpreting `time` Command Output
0
★
3
B
48
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
14. Using the `time` Command
0
★
3
B
42
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
Issues, queries, suggestions related to 02.Networking Basics should be put here...
0
★
1
B
17
E
Started by
pravjot
October 2024
004.02.Networking Basics
13. Measuring CPU Time for Processes
0
★
3
B
37
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
12. Viewing Threads in Process Monitoring Tools How can you view thread information using the `ps` a
0
★
3
B
40
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
1. Describe the difference between connection-oriented and connectionless communication.
0
★
1
B
20
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
2. What are sockets in network programming
0
★
1
B
19
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
3. Explain the purpose of the `bind()` system call in socket programming.
0
★
1
B
18
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
4. How does the `select()` function help manage multiple socket connections in a server?
0
★
1
B
17
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
5. What are the key differences between `send()` and `sendto()`?
0
★
1
B
36
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
6. In the context of raw sockets, why might you need to use them
0
★
1
B
20
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
7. What is the purpose of the `recvfrom()` system call, and how is it different from `recv()`?
0
★
1
B
24
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
8. Describe the process of converting an IP address from human-readable format to binary format and
0
★
1
B
23
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
9. What are some common network debugging tools available in Linux?
0
★
1
B
18
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
10. Explain what a blocking socket is.
0
★
1
B
28
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
11. In Linux, what is the purpose of the `fcntl()` system call, and how can it be used in network
0
★
1
B
18
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
12. How would you handle errors in a socket-based program?
0
★
1
B
19
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
13. What is the purpose of the `listen()` system call, and what role does the `backlog` parameter
0
★
1
B
14
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
14. Describe the role of the `accept()` system call in a server application.
0
★
1
B
21
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
15. What is a UNIX domain socket, and how does it differ from an Internet domain socket?
0
★
1
B
32
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
16. What is the role of `getaddrinfo()` in network programming?
0
★
1
B
16
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
17. How would you implement a basic client-server model where the server handles multiple clients si
0
★
1
B
13
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
18. Explain the difference between a multicast and a broadcast in network programming.
0
★
1
B
20
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
19. What are some strategies for improving the performance of a networked application?
0
★
1
B
18
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
20. What is the purpose of setting socket options with `setsockopt()`?
0
★
1
B
29
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
11. Difference Between Single-Threaded and Multi-Threaded Processes
0
★
3
B
169
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
10. Library Call Tracking with `ltrace`
0
★
3
B
33
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
9. Tracing System Calls with `strace`
0
★
3
B
33
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
12. Create a FIFO in a C program
0
★
3
B
39
E
Most recent by
abhinandan2971verma
October 2024
003.06.Inter Process Communication. FIFOs
11. Use command line to create a FIFO
0
★
3
B
42
E
Most recent by
abhinandan2971verma
October 2024
003.06.Inter Process Communication. FIFOs
8. FIFOs are persistent
0
★
3
B
57
E
Most recent by
abhinandan2971verma
October 2024
003.06.Inter Process Communication. FIFOs
7. FIFOs and bidirectional communication
0
★
3
B
47
E
Most recent by
abhinandan2971verma
October 2024
003.06.Inter Process Communication. FIFOs
4. blocking behavior in FIFOs
0
★
3
B
44
E
Most recent by
abhinandan2971verma
October 2024
003.06.Inter Process Communication. FIFOs
3. FIFOs provide a "first in, first out"
0
★
3
B
27
E
Most recent by
abhinandan2971verma
October 2024
003.06.Inter Process Communication. FIFOs
17. Setting Environment Variables with `setenv()`
0
★
3
B
43
E
Most recent by
mdaliakbar
October 2024
003.02.91.Interview Questions. Intro-to-Processes
8. Dependency of `lsof` on Kernel Information
0
★
3
B
45
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
7. Using `lsof` Effectively
0
★
3
B
75
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
6. Understanding `lsof` Output
0
★
3
B
276
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
5. Enhanced Process Monitoring with `atop` and `htop`
0
★
3
B
35
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
Issues, queries and suggestions. 03.Introduction-to-Sockets
0
★
1
B
20
E
Started by
pravjot
October 2024
004.03.Introduction-to-Sockets
18. Understanding Process Scheduling Algorithms
0
★
3
B
37
E
Most recent by
mdaliakbar
October 2024
003.02.91.Interview Questions. Intro-to-Processes
19. Role of the Memory Manager
0
★
3
B
50
E
Most recent by
mdaliakbar
October 2024
003.02.91.Interview Questions. Intro-to-Processes
20. Functionality of the Virtual File System
0
★
3
B
36
E
Most recent by
mdaliakbar
October 2024
003.02.91.Interview Questions. Intro-to-Processes
Queries-List-of-Threads-attributes
0
★
2
B
22
E
Most recent by
bhatnagarharsh37
October 2024
003.11.POSIX-Threads
4. Top Program Keystrokes
0
★
3
B
32
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
3. Using `ps` and `top` Commands
0
★
3
B
39
E
Most recent by
riteshtyagi725
October 2024
003.01.91.Interview-Questions-Introductory-Concepts
1. What is DHCP, and why is it used in networking?
0
★
1
B
17
E
Started by
pravjot
October 2024
014.06.DHCP. A network management protocol
2. Can you explain the DORA process in DHCP?
0
★
1
B
13
E
Started by
pravjot
October 2024
014.06.DHCP. A network management protocol
3. What is a DHCP Lease? How does it work?
0
★
1
B
14
E
Started by
pravjot
October 2024
014.06.DHCP. A network management protocol
4. What is the difference between static and dynamic IP assignment in DHCP?
0
★
1
B
11
E
Started by
pravjot
October 2024
014.06.DHCP. A network management protocol
5. What happens if a DHCP lease expires?
0
★
1
B
15
E
Started by
pravjot
October 2024
014.06.DHCP. A network management protocol
6. How would you configure a DHCP server on a Linux machine?
0
★
1
B
18
E
Started by
pravjot
October 2024
014.06.DHCP. A network management protocol
7. What is the purpose of the `/etc/dhcp/dhcpd.conf` file, and how would you configure it?
0
★
1
B
15
E
Started by
pravjot
October 2024
014.06.DHCP. A network management protocol
‹
1
…
4
5
6
7
8
9
10
…
24
›
Powered by
Vanilla
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
0
405.Advanced Character Device Driver
3
102. C++23 Fundamentals and Advanced STL
1
Linux Systems and DevOps Engineering
1
EmbLogic FusionEgde Tech Convergence Program. FuTeC-40
1
000 Linux System Administration
36
001 C Programming, Data Structures
144
» 001.14. Macros and Pre-Processor Directives
59
002 OOPs using C++ with Eclipse on Linux
31
» 002.06.Streams and File Processing
1
003 Linux System Programming
375
» 003.01.Processes-and-Resources-Utilization
26
» 003.01.91.Interview-Questions-Introductory-Concepts
20
» 003.01.92.Interview-Questions-Introductory-Concepts
5
» 003.02.Process-Management. Introduction
21
» 003.02.91.Interview Questions. Intro-to-Processes
20
» 003.03.Process-Management - Process Duplication
91
» 003.03.92.Interview-Questions-Process-Duplication
20
» 003.03.93.Interview-Questions-Process-Duplication
20
» 003.03.94.Interview-Questions-Process-Duplication
20
» 003.03.95.Interview-Questions-Process-Duplication
20
» 003.03.96.Interview-Questions-Process-Duplication
10
» 003.04.Process-Management - Process Replacement
67
» 003.04.81.Assignment. Process Replacement
24
» 003.04.91.Interview-Questions-Process-Replacement
20
» 003.04.92.Interview-Questions-Process-Replacement
22
» 003.05.01.Inter-Process-Communication. Pipes
22
» 003.06.Inter Process Communication. FIFOs
21
» 003.07.Signals and Handlers
43
» 003.07.91.Assignment. Signals and Handlers
20
» 003.07.92.Assignment. Signals and Handlers
22
» 003.08.Inter Process Communication Message Queues
1
» 003.09.Inter Process Communication. Shared Memory
1
» 003.10.Synchronization Techniques. Semaphore
21
» 003.11.POSIX-Threads
21
004 Linux Network Programming
41
» 004.01.Introduction to Networks and Configurations
1
» 004.02.Networking Basics
1
» 004.03.Introduction-to-Sockets
22
» 004.04.Linux Network stack
1
» 004.05.Transmission Control Protocol
1
005 Character Device Drivers Development
315
» Interview Questions: Chacacter Device Drivers Development
230
» 05.07: Debugging Tools for Linux Character Device Drivers
52
» 005.08: The Chaos and Control: Concurrency and Synchronization in Linux Drivers
10
006.Project Evolution with GitLab
2
» 01.Introduction To GitLab
1
008 Block Device Driver Development
4
» 008.01.Introduction to Block Device Drivers
1
009 Embedded Linux-ARM. Storage
112
» 009.01.Linux Boot Process
45
» 009.01.14.Linux-Boot-Process
5
» 009.01.16.Introduction-to-BIOS-IQs
5
» 009.01.18.Introduction-to-BIOS-IQs
5
» 009.01.20.BIOS CMOS UEFI. IQs
5
» 009.02.Introduction To Embedded Linux
1
» 009.03.01.ARM Processor Architecture
1
» 009.03.02.Programmers Model
1
» 009.04.Boot Loaders
50
» 009.05.Understanding-ARM-Board-Bringup
1
» 009.06.Board Bringup. Raspberry Pi4
1
010 Embedded Linux ARM, Configuring and Porting using Storage
0
011 Shell Scripting using Bash
93
» 011.01.Introduction to Shells and Shell Scripts
1
» 011.02.Basics of Shell Scripting - Bash
1
» 011.03.Conditions and Branching
23
» 011.04.Loops and Iterations/
31
» 011.04.81.Assignment. Branching and Looping
10
» 011.05.Reserved-Words-Bullitin-Commands-Command-Line-Parsing
1
» 011.06.Parameters and Variables
1
» 011.08.Arrays-Strings-in-bash
11
» 011.09.File Operations and Commands
1
» 011.10.Writing-Manual-Pages
1
» 011.11.Makefile
1
» 011.12.sed-awk
1
012 Linux Kernel Architecture and Internals
3
014. Linux Network Administration
297
» 014.01.Intro to NW and Configurations
220
» 014.01.12.Introduction to Networking
10
» 014.01.14.Packets-IQs
10
» 014.01.16.NetworkLayers
10
» 014.01.18.The Internet Layer
20
» 014.01.20.routes and the kernel routing table
10
» 014.01.22.The Default Gateway
5
» 014.01.24.IPv6 Addresses And Networks
20
» 014.01.26.Basic ICMP And DNS Tools
10
» 014.01.28.The Physical Layer And Ethernet
5
» 014.01.30.Understanding Linux Network Interface
5
» 014.01.32.Intro To Network Interface Configuration
5
» 014.01.34.Boot Activated Network Configuration
5
» 014.01.36.Manual and Boot Activated Nw Config
5
» 014.01.38.Network Configuration Managers
10
» 014.01.40.Resolving Hostnames
19
» 014.01.42.The Transport Layer TCP UDP Services.
10
» 014.01.44.Understanding DHCP
5
» 014.01.46.Automatic IPv6 Network Configuration. IQs
5
» 014.01.48.Configuring Linux as Router
5
» 014.01.50.Private Networks IPv4
5
» 014.01.52.Network Address Translation. IP Masquerading
5
» 014.01.54.Routers And Linux
5
» 014.01.56.Linux Firewall Basics
5
» 014.01.58.Setting Firewall Rules
5
» 014.01.60.Firewall Strategies
10
» 014.01.62.Ethernet-IP-ARP-NDP-IQs
5
» 014.01.64.Wireless Ethernet
5
» 014.02.Secure Shell SSH
11
» 014.02.12.Basics of Services
3
» 014.02.14.Introduction to Network Servers
2
» 014.02.16.Network Servers. Secure Shell
5
» 014.06.Network Protocol Telnet
38
» 014.06.12.Introduction-To-Telnet
3
» 014.06.14.General Working. Telnet
5
» 014.06.16.General-Working-Telnet
5
» 014.06.18.Network Virtual Terminal
3
» 014.06.20.More About Telnet
3
» 014.06.22.Installing Telnet on Fedora
5
» 014.06.24.Telnet Commands-Fedora
3
» 014.06.26.Using Telnet in Linux
5
» 014.06.28.Secure telnet with FirewallD. Fedora.
3
» 014.06.30.Using Telnet in Linux
2
» 014.06.DHCP. A network management protocol
26
015 Python with Eclipse on Linux
27
025.Rust Programming
49
» 025.04.81.Assignment Collections. Arrays
10
» 025.04.82.Assignment. Collections - Vectors
10
» 025.04.83.Assignment. Collections - Tuples
20
» 025.05.Traits and Generics
1
050.Debugging using GNU GDB
1
101 Advanced Data Structures using C
17
104.Mastering Linux Network Stack
1
» 104.01.Linux Network Stack User-Space
1
105 Parallel Port Device Drivers Development
5
205 Serial Port Device Drivers Development
3
303 Linux System Programming
34
Project 22. Ethernet Network Device Driver Development
0
Query
561
Project.203 Linux System Programming. MySQL
0
Pravjot Sir Classes
162
Events at EmbLogic
2
Project 16: SPI Device Driver Development
2
Project 17: I2C Device Driver Development
0
Project 18: PCI Device Driver Development
0
Project 19: Embedded Linux on ARM Using Network TFTP
0
Project 20: CAN Bus Protocol and Driver Development
0
Project 21: USB Device Drivers Development
0
Embedded Linux
0
ARM Embedded Processor
0
Training
2
Members Area
1
Word From Admin
1
005-04.Device Operations open release write read/
0
005.10.Software Implemented Filesystem. /proc
1
005.11.Sysfs. Giving Our Linux Driver, A Dashboard
1