ux tag

417 questions


1 answers
157 views
0
I want to sleep in milliseconds

I know that the sleep(x) function of C++ POSIX is sleep in secondsI want to do sleep in milliseconds, but is there a function like this?

2 years ago

2 answers
39 views
0
I'm curious about the linux fork() routine

at fork() on Linux,I wonder which parts of the memory are shared by Parent and Child, and which parts are copied and kept.(Before the COW happened.))

2 years ago

1 answers
131 views
0
This is a question related to linux jar.

Currently using Linux, turn tomcat server to war, We are building a server to run java application through jar.Socket communication is required through jar. If you run with Eclipse, it works normally ...

2 years ago

1 answers
148 views
0
Ubuntu C++ error: undefined reference to 'clock_gettime' and 'clock_settime'

#include <iostream>#include <time.h>using namespace std;int main(){ timespec time1, time2; int temp; clock_gettime(CLOCK_PROCESS_CPUTIME_ID, &time1); It's like a party clock_gettime(CL...

2 years ago

1 answers
44 views
0
I have a question about samba installation in virtualbox and ubuntu.

Hello...I've been trying a few times, but I couldn't, so I'm asking you$sudo apt-get install samba$sudo gedit /etc/samba/smb.conf-----------------------------------------------------------------------...

2 years ago

1 answers
121 views
0
Does anyone know what code ":-!!" is in the kernel header?

The code was imported from /usr/include/linux/kernel.h/* Force a compilation error if condition is true, but also produce a result (of value 0 and type size_t), so the expression can be used e.g. in a...

2 years ago

1 answers
139 views
0
Linux Python Run Results Live File Output

To save the result of python execution in crontab as a file and leave it as a log 1 */8 * * * python3 code.py >> ~/log.txtis in use, but when used in this way, it seems to be logged at once afte...

2 years ago

1 answers
43 views
0
Windows / Linux Multi-Boot

Windows is currently installed on my laptop, and I would like to install and use Linux together.Since there are works that can only be done on Windows, I think using Windows will be the main thing. So...

2 years ago

1 answers
118 views
0
Linux Core Dump... I will attach the result of gdb.

It's almost done, but I suddenly see an error saying what I deleted. Program received signal SIGSEGV, Segmentation fault.__strcmp_sse2_unaligned () at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned...

2 years ago

1 answers
38 views
0
Running Linux Commands Within Python

As the title suggests, I want to run Linux commands from Python to code, but I wonder if there is a way!More specifically, I'm currently working on Python on Linux, and I want to write SPICE commands ...

2 years ago
« - 40 - »

© 2024 OneMinuteCode. All rights reserved.