Ps show processes that were not started by INIT and are not kernel processes Ps show processes that were not started by INIT or are not kernel processes in FreeBSD, ps show processes, ps filter processes
Ps show processes that were not started by INIT or are not kernel processes in FreeBSD
DESCRIPTION The ps utility displays a header line, followed by lines containing information about all of your processes that have controlling terminals.
A different set of processes can be selected for display by using any combination of the -a, -G, -p, -T, -t, and -U options. If more than one of these options are given, then ps will select all processes which are matched by at least one of the given options.
For the processes which have been selected for display, ps will usually display one line per process. The -H option may result in multiple out- put lines (one line per thread) for some processes. By default all of these output lines are sorted first by controlling terminal, then by process ID. The -m, -r, -u, and -v options will change the sort order. If more than one sorting option was given, then the selected processes will be sorted by the last sorting option which was specified. The options are as follows:
-a Display information about other users' processes as well as your own. This will skip any processes which do not have a control- ling terminal, unless the -x option is also specified. This can be disabled by setting the security.bsd.see_other_uids sysctl to zero. -l Display information associated with the following keywords: uid, pid, ppid, cpu, pri, nice, vsz, rss, mwchan, state, tt, time, and command. -x When displaying processes matched by other options, include pro- cesses which do not have a controlling terminal. This is the opposite of the -X option. If both -X and -x are specified in the same command, then ps will use the one which was specified last.
The following command will show processes that are not kernel processes and were not started by INIT(useful to monitor user-space processes).
Designed and developed by Andrei Manescu. Optimized for Mozilla Firefox.
Copyright 2007 Andrei Manescu
All trademarks and copyrights on this page are owned by their respective owners. Comments are owned by those who posted them.