Operating Systems  sandbox 

Table of Contents

Linux

What is Proc?

File system which shows

$ cd /prod
$ ls
1   acpi        cmdline   diskstats      fb           ioports    keys         loadavg  modules       partitions  slabinfo  sysrq-trigger  uptime             zoneinfo
29  bootconfig  consoles  dma            filesystems  irq        kmsg         locks    mounts        pressure    softirqs  sysvipc        version
30  buddyinfo   cpuinfo   driver         fs           kallsyms   kpagecgroup  mdstat   mtrr          schedstat   stat      thread-self    version_signature
31  bus         crypto    dynamic_debug  interrupts   kcore      kpagecount   meminfo  net           scsi        swaps     timer_list     vmallocinfo
47  cgroups     devices   execdomains    iomem        key-users  kpageflags   misc     pagetypeinfo  self        sys       tty            vmstat
$
$ cat 30/cmdline # 30 is a pid of a process
nginx: worker process
$

Windows