# Proc Enum

### List Process <a href="#list-process" id="list-process"></a>

```
/proc/sched_debug

runnable tasks:
 S           task   PID         tree-key  switches  prio     wait-time             sum-exec        sum-sleep
-----------------------------------------------------------------------------------------------------------
 S        systemd     1       445.759924      3828   120         0.000000      1769.826770         0.000000 0 0 /autogroup-2
 S       kthreadd     2     47838.720959       296   120         0.000000         4.630080         0.000000 0 0 /
 I         rcu_gp     3        13.968795         2   100         0.000000         0.004180         0.000000 0 0 /
. . .
 S        apache2  4043      1830.183525      2693   120         0.000000       329.979700         0.000000 0 0 /autogroup-53
>R        apache2  4048      1829.204925      2690   120         0.000000       334.717910         0.000000 0 0 /autogroup-53
 S        apache2  4071      1830.150655      2677   120         0.000000       325.964820         0.000000 0 0 /autogroup-53
 S        apache2  4102      1832.182545      2666   120         0.000000       333.209330         0.000000 0 0 /autogroup-53
 I    kworker/0:2  4460     47962.478071     17337   120         0.000000       565.512360         0.000000 0 0 /
 I kworker/u256:2  4921     47938.019991      2367   120         0.000000        54.812880         0.000000 0 0 /
 I kworker/u256:0  5062     47956.387321       595   120         0.000000        15.096550         0.000000 0 0 /
```

### More info: <a href="#read-files-proces-for-pid" id="read-files-proces-for-pid"></a>

{% embed url="<https://www.netspi.com/blog/technical/web-application-penetration-testing/directory-traversal-file-inclusion-proc-file-system/>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cs.desdes.xyz/miscelanio/proc-enum.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
