RÖVID HOSSZÚ LEÍRÁS c cmd a végrehajtható fájl egyszerû neve C cmdline teljes parancssor f flags módosítók hosszú formátumú F mezôben g pgrp processz csoport-azonosító G tpgid tty vezérlô processz csoport-azonosító j cutime összes felhasználói idô J cstime összes rendszer idô k utime felhasználói idô K stime rendszer idô m min_flt kisebb laphibák száma M maj_flt nagyobb laphibák száma n cmin_flt kisebb laphibák száma összesen N cmaj_flt nagyobb laphibák száma összesen o session session azonosító p pid processz azonosító P ppid szülô processz azonosító r rss rezidens set méret R resident rezidens lapok s size memória méret kilóbájtban S share közös (megosztott) lapok összessége t tty a tty aleszköz száma T start_time a processz indítási ideje U uid felhasználói azonosító szám u user felhasználói név v vsize teljes VM méret bájtban y priority kernel ütemezô prioritása
%CPU shows the cputime/realtime percentage. It will not add up to 100% unless you are lucky. It is time used divided by the time the process has been running.
The SIZE and RSS fields don't count the page tables and the task_struct of a proc; this is at least 12k of memory that is always resident. SIZE is the virtual size of the proc (code+data+stack).
To perform the device number to name mapping ps maintains a file called "/etc/psdevtab" (updated whenever "/dev" becomes newer and permissions allow update). If permissions do not allow update, every invokation of ps requires a stat(2) of every file in the "/dev" directory. If "/dev" changes often on your system you should run ps as root often. ;-) I may add a fallback file under $HOME under force of popular demand.
Fordította: Németi Dávid |