operating-system tag

10 questions


2 answers
62 views
0
Is there a language in which the operating system cannot be created? [Closed]

This question appears to be outside the scope defined in Help Center for stack overflow.Closed 6 years ago.6 years agoIs there a language in which you cannot create an operating system?if anyWhat are ...


4 answers
85 views
0
Why does the 8086 segment register have a width of 16 bits?

While reading this, I found the following statement:https://ja.wikipedia.org/wiki/Intel_8086In addition to the address register for the operation, it also has a 16-bit register for address conversion ...

2 years ago

1 answers
95 views
0
Monitoring Information Sent to the Outside (Trying to)

I have a question about both PC (Windows, Mac, Linux) and smartphone (iOS, Android). Can I check the information I sent to the outside world or check the contents of what I'm going to send and block i...


1 answers
69 views
0
I'm doing it with the os.popen function in Python, but it doesn't work. Help mecrying

import osdef run(command): file = open(tmp.py, 'w') file.write(command) file.close() res = os.popen(sudo python3 tmp.py -f).read() return resres = run (Hello)print(Result+res+)So, this is how we built...

2 years ago

1 answers
151 views
0
Operating system concepts 9th edition (dinosaur book) User thread, kernel thread question.

I have a question because I don't understand the user thread well.'Thread management is done by the thread library in user space,so it is efficient''because onlyone thread can access the kernel at a t...

2 years ago

2 answers
82 views
0
I have a question about the process state diagram in the operating system.

If you look at the process state diagram, there are states such as new, ready, running, waiting, etc.At this time, the process does not go to ready immediately when there is an input/output or event, ...

2 years ago

1 answers
77 views
0
Can I find out the cache size (in lines) within the C/C++ program?

Please tell me the code to find out the cache size (in line units) in the C/C++ program.My computer uses Linux and I would appreciate it if you could tell me the other platform code.It would be nice i...


1 answers
118 views
0
This is a shared memory question in the operating system.

Hi, everyone. I keep getting confused about the concept of shared memory from the dinosaur book.I just brought the producer code.while(true) { while (counter == BUFFER_SIZE); // do nothing buffer[in] ...

2 years ago

1 answers
70 views
0
Get the number of Python drives

As a beginner at Python, I have a question.How do I get the number of drives on that computer in Python?For example, some computers have drive C only, and some computers may have drive D or E. Is ther...

2 years ago

1 answers
85 views
0
Obtaining Python Directory Capacity

Is there a way to get the capacity of the directory in Python?I thought that using os.path.getsize() as you would get the file size would give you the capacity of the directory, but it all comes out a...


© 2024 OneMinuteCode. All rights reserved.