3 references to Self
System.Private.CoreLib (3)
src\libraries\Common\src\Interop\Linux\procfs\Interop.ProcFsStat.TryReadStatusFile.cs (2)
54
pid == ProcPid.
Self
? $"{RootPath}{Self}{StatusFileName}" :
61
Debug.Assert(!b || (ProcPid)result.Pid == pid || pid == ProcPid.
Self
, "Expected process ID from status file to match supplied pid");
src\libraries\System.Private.CoreLib\src\System\Environment.Linux.cs (1)
10
public static long WorkingSet => (long)(Interop.procfs.TryReadStatusFile(Interop.procfs.ProcPid.
Self
, out Interop.procfs.ParsedStatus status) ? status.VmRSS : 0);