Search Results

Search: Posts Made By: MadeInGermany
2,852
Posted By MadeInGermany
Yes, default should be hidepid=0 and all...
Yes, default should be hidepid=0 and all processes readable.
You have a special kernel.
--
For my special interest:
does somebody happen to know how to set mount options if /proc is not in...
2,852
Posted By MadeInGermany
Ok, not present, no workaround. ...
Ok, not present, no workaround.

Traditionally mount(-options) at boot is done in /etc/fstab - but newer Linux seem to mount /proc by magic.?
2,852
Posted By MadeInGermany
You suppress stderr. Does the ls -ld actually say...
You suppress stderr. Does the ls -ld actually say "permission denied" for the others?
If yes then it can see them, and you can do
test -d /proc/<pid>BTW ls -ld /proc/{0..9}* can generate...
2,852
Posted By MadeInGermany
If /proc/<pid>/ is unreadable then it's a kernel...
If /proc/<pid>/ is unreadable then it's a kernel thing.
2,852
Posted By MadeInGermany
What OS has such a broken ps?
What OS has such a broken ps?
2,852
Posted By MadeInGermany
You can test with ps if { ps -p $pid && ! kill...
You can test with ps
if { ps -p $pid && ! kill -0 $pid; } >/dev/null 2>&1 ; then echo $pid is not killable; else echo happy; fi
Or
if { ! ps -p $pid || kill -0 $pid; } >/dev/null 2>&1 ; then echo...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy