procsf is a file holding system processes informationNo, it's a file system (hence procfs) expressed as a whole hierarchy of directories and files.
How is procsf different from the top commandtop and similar tools read files from procfs to aggregate and display process info. You don't need to read top output, you can read procfs yourself, which is more efficient and puts you fully in control. It's the same idea that you do not spawn ls, but use opendir/readdir/stat to get file info.
how can I make use of it effectivelyman 5 proc
These are simple files, you already know how to open files and read from them. It makes no difference that the files are virtual and do not reside on some permanent storage. That's one of the design goals in unix.
In reply to Re^3: Use running system processes and filter them on different ways
by daxim
in thread Use running system processes and filter them on different ways
by edujs7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |