You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, in the Processes subsection where we open 10 sleep processes, the ps -e -H -o pid,ppid,cmd | (head -1; grep "python3 sleepy_creator.py") and ps -e -H -o pid,ppid,cmd | (head -1; grep sleep) do not show the list of processes, however running ps -e -H is sufficient
The text was updated successfully, but these errors were encountered:
Do the commands show any output? They should only show the PIDs, PPIDs and commands of the sleep processes. The point is not to view the whole process hierarchy.
Stupid question, but did you implement the TODOs from sleepy_creator.py?
Can you try with the one in the solution directory and see if you have the same pattern?
ps -e -H -o pid,ppid,cmd | (head -1; grep "python3 sleepy_creator.py") and ps -e -H -o pid,ppid,cmd | (head -1; grep sleep) should show you only the sleep process, not all processes as ps -e -H does.
Hello, in the
Processes
subsection where we open 10 sleep processes, theps -e -H -o pid,ppid,cmd | (head -1; grep "python3 sleepy_creator.py")
andps -e -H -o pid,ppid,cmd | (head -1; grep sleep)
do not show the list of processes, however runningps -e -H
is sufficientThe text was updated successfully, but these errors were encountered: