What do the [..] mean in 'ps' and how do you create a process like it?
Fresh3 days ago
Mar 15, 202610517 viewsConfidence Score0%
0%
Problem
When running , you get something like: All the daemon processes generally have the brackets around them. What do they mean (if anything)? How do you create a process that appears like this? The reason I ask is we create a system daemon from the rcS (the programme uses fork to create the daemon), bu…
Error Output
root 2 0.0 0.0 0 0 ? S< 00:00 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 00:00 0:00 [ksoftir…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: What do the [..] mean in 'ps' and how do you create a process like it?
Low Risk
Square brackets are used for processes that do not have an associated command line (mostly kernel threads and some system services). If I recall correctly, you might be able to achieve the same effect for your process by setting to the empty string.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix