diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:17:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 13:17:26 +0000 |
commit | a4dc4fbcc1b131061dcccd5cdcc2395d9a2ba784 (patch) | |
tree | bc531e7e083fff1668bb4e79e9692d8cc47aea95 /doc | |
parent | Initial commit. (diff) | |
download | psmisc-a4dc4fbcc1b131061dcccd5cdcc2395d9a2ba784.tar.xz psmisc-a4dc4fbcc1b131061dcccd5cdcc2395d9a2ba784.zip |
Adding upstream version 23.7.upstream/23.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Makefile.am | 11 | ||||
-rw-r--r-- | doc/Makefile.in | 535 | ||||
-rw-r--r-- | doc/fuser.1 | 310 | ||||
-rw-r--r-- | doc/killall.1 | 178 | ||||
-rw-r--r-- | doc/peekfd.1 | 64 | ||||
-rw-r--r-- | doc/prtstat.1 | 40 | ||||
-rw-r--r-- | doc/pslog.1 | 40 | ||||
-rw-r--r-- | doc/pstree.1 | 178 |
8 files changed, 1356 insertions, 0 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000..a4783e5 --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,11 @@ + +man_MANS = killall.1 peekfd.1 prtstat.1 pslog.1 pstree.1 +EXTRA_MANS = + +if WANT_FUSER + man_MANS += fuser.1 +else + EXTRA_MANS += fuser.1 +endif + +EXTRA_DIST = $(man_MANS) $(EXTRA_MANS) diff --git a/doc/Makefile.in b/doc/Makefile.in new file mode 100644 index 0000000..e6a6904 --- /dev/null +++ b/doc/Makefile.in @@ -0,0 +1,535 @@ +# Makefile.in generated by automake 1.16.5 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994-2021 Free Software Foundation, Inc. + +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ +VPATH = @srcdir@ +am__is_gnu_make = { \ + if test -z '$(MAKELEVEL)'; then \ + false; \ + elif test -n '$(MAKE_HOST)'; then \ + true; \ + elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ + true; \ + else \ + false; \ + fi; \ +} +am__make_running_with_option = \ + case $${target_option-} in \ + ?) ;; \ + *) echo "am__make_running_with_option: internal error: invalid" \ + "target option '$${target_option-}' specified" >&2; \ + exit 1;; \ + esac; \ + has_opt=no; \ + sane_makeflags=$$MAKEFLAGS; \ + if $(am__is_gnu_make); then \ + sane_makeflags=$$MFLAGS; \ + else \ + case $$MAKEFLAGS in \ + *\\[\ \ ]*) \ + bs=\\; \ + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ + esac; \ + fi; \ + skip_next=no; \ + strip_trailopt () \ + { \ + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ + }; \ + for flg in $$sane_makeflags; do \ + test $$skip_next = yes && { skip_next=no; continue; }; \ + case $$flg in \ + *=*|--*) continue;; \ + -*I) strip_trailopt 'I'; skip_next=yes;; \ + -*I?*) strip_trailopt 'I';; \ + -*O) strip_trailopt 'O'; skip_next=yes;; \ + -*O?*) strip_trailopt 'O';; \ + -*l) strip_trailopt 'l'; skip_next=yes;; \ + -*l?*) strip_trailopt 'l';; \ + -[dEDm]) skip_next=yes;; \ + -[JT]) skip_next=yes;; \ + esac; \ + case $$flg in \ + *$$target_option*) has_opt=yes; break;; \ + esac; \ + done; \ + test $$has_opt = yes +am__make_dryrun = (target_option=n; $(am__make_running_with_option)) +am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) +pkgdatadir = $(datadir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkglibexecdir = $(libexecdir)/@PACKAGE@ +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +@WANT_FUSER_TRUE@am__append_1 = fuser.1 +@WANT_FUSER_FALSE@am__append_2 = fuser.1 +subdir = doc +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/m4/gettext.m4 \ + $(top_srcdir)/m4/host-cpu-c-abi.m4 $(top_srcdir)/m4/iconv.m4 \ + $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \ + $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \ + $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \ + $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = +CONFIG_CLEAN_VPATH_FILES = +AM_V_P = $(am__v_P_@AM_V@) +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) +am__v_P_0 = false +am__v_P_1 = : +AM_V_GEN = $(am__v_GEN_@AM_V@) +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) +am__v_GEN_0 = @echo " GEN " $@; +am__v_GEN_1 = +AM_V_at = $(am__v_at_@AM_V@) +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) +am__v_at_0 = @ +am__v_at_1 = +SOURCES = +DIST_SOURCES = +am__can_run_installinfo = \ + case $$AM_UPDATE_INFO_DIR in \ + n|no|NO) false;; \ + *) (install-info --version) >/dev/null 2>&1;; \ + esac +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__uninstall_files_from_dir = { \ + test -z "$$files" \ + || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ + || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ + $(am__cd) "$$dir" && rm -f $$files; }; \ + } +man1dir = $(mandir)/man1 +am__installdirs = "$(DESTDIR)$(man1dir)" +NROFF = nroff +MANS = $(man_MANS) +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) +am__DIST_COMMON = $(srcdir)/Makefile.in +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +ACLOCAL = @ACLOCAL@ +AMTAR = @AMTAR@ +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CSCOPE = @CSCOPE@ +CTAGS = @CTAGS@ +CXX = @CXX@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEJAGNU = @DEJAGNU@ +DEPDIR = @DEPDIR@ +DL_LIB = @DL_LIB@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ETAGS = @ETAGS@ +EXEEXT = @EXEEXT@ +GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@ +GMSGFMT = @GMSGFMT@ +GMSGFMT_015 = @GMSGFMT_015@ +GREP = @GREP@ +HARDEN_CFLAGS = @HARDEN_CFLAGS@ +HARDEN_LDFLAGS = @HARDEN_LDFLAGS@ +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +INTLLIBS = @INTLLIBS@ +INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LN_S = @LN_S@ +LTLIBICONV = @LTLIBICONV@ +LTLIBINTL = @LTLIBINTL@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +MKDIR_P = @MKDIR_P@ +MSGFMT = @MSGFMT@ +MSGMERGE = @MSGMERGE@ +MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_URL = @PACKAGE_URL@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +PO4A = @PO4A@ +POSUB = @POSUB@ +SED = @SED@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +TERMCAP_LIB = @TERMCAP_LIB@ +USE_NLS = @USE_NLS@ +USE_PO4A = @USE_PO4A@ +VERSION = @VERSION@ +WITH_AppArmor = @WITH_AppArmor@ +WITH_IPV6 = @WITH_IPV6@ +WITH_SELINUX = @WITH_SELINUX@ +WITH_STATX = @WITH_STATX@ +XGETTEXT = @XGETTEXT@ +XGETTEXT_015 = @XGETTEXT_015@ +XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@ +abs_builddir = @abs_builddir@ +abs_srcdir = @abs_srcdir@ +abs_top_builddir = @abs_top_builddir@ +abs_top_srcdir = @abs_top_srcdir@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +am__tar = @am__tar@ +am__untar = @am__untar@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +builddir = @builddir@ +datadir = @datadir@ +datarootdir = @datarootdir@ +docdir = @docdir@ +dvidir = @dvidir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +htmldir = @htmldir@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localedir = @localedir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +pdfdir = @pdfdir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +psdir = @psdir@ +runstatedir = @runstatedir@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +srcdir = @srcdir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +top_build_prefix = @top_build_prefix@ +top_builddir = @top_builddir@ +top_srcdir = @top_srcdir@ +man_MANS = killall.1 peekfd.1 prtstat.1 pslog.1 pstree.1 \ + $(am__append_1) +EXTRA_MANS = $(am__append_2) +EXTRA_DIST = $(man_MANS) $(EXTRA_MANS) +all: all-am + +.SUFFIXES: +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ + && { if test -f $@; then exit 0; else break; fi; }; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign doc/Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign doc/Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + +$(top_srcdir)/configure: $(am__configure_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(ACLOCAL_M4): $(am__aclocal_m4_deps) + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh +$(am__aclocal_m4_deps): +install-man1: $(man_MANS) + @$(NORMAL_INSTALL) + @list1=''; \ + list2='$(man_MANS)'; \ + test -n "$(man1dir)" \ + && test -n "`echo $$list1$$list2`" \ + || exit 0; \ + echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ + { for i in $$list1; do echo "$$i"; done; \ + if test -n "$$list2"; then \ + for i in $$list2; do echo "$$i"; done \ + | sed -n '/\.1[a-z]*$$/p'; \ + fi; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) +tags TAGS: + +ctags CTAGS: + +cscope cscopelist: + +distdir: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) distdir-am + +distdir-am: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(MANS) +installdirs: + for dir in "$(DESTDIR)$(man1dir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + if test -z '$(STRIP)'; then \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + install; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ + fi +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic mostlyclean-am + +distclean: distclean-am + -rm -f Makefile +distclean-am: clean-am distclean-generic + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-man + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: install-man1 + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-man + +uninstall-man: uninstall-man1 + +.MAKE: install-am install-strip + +.PHONY: all all-am check check-am clean clean-generic cscopelist-am \ + ctags-am distclean distclean-generic distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-man1 install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ + pdf-am ps ps-am tags-am uninstall uninstall-am uninstall-man \ + uninstall-man1 + +.PRECIOUS: Makefile + + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/doc/fuser.1 b/doc/fuser.1 new file mode 100644 index 0000000..37191c0 --- /dev/null +++ b/doc/fuser.1 @@ -0,0 +1,310 @@ +.\" +.\" Copyright 1993-2005 Werner Almesberger +.\" 2005-2023 Craig Small +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.TH FUSER 1 "2022-11-02" "psmisc" "User Commands" +.SH NAME +fuser \- identify processes using files or sockets +.SH SYNOPSIS +.ad l +.B fuser +.RB [ \-fuv ] +.RB [ \-a | \-s ] +.RB [ \-4 | \-6 ] +.RB [ \-c | \-m | \-n +.IR space ] +.RB [ \ \-k +.RB [ \-i ] +.RB [ \-M ] +.RB [ \-w ] +.RB [ \-\c +.IR SIGNAL ] +] +.IR name " ..." +.br +.B fuser \-l +.br +.B fuser \-V +.ad b +.SH DESCRIPTION +.B fuser +displays the PIDs of processes using the specified files or file +systems. In the default display mode, each file name is followed by a +letter denoting the type of access: +.PP +.RS +.PD 0 +.TP +.B c +current directory. +.TP +.B e +executable being run. +.TP +.B f +open file. +.B f +is omitted in default display mode. +.TP +.B F +open file for writing. +.B F +is omitted in default display mode. +.TP +.B r +root directory. +.TP +.B m +mmap'ed file or shared library. +.TP +.B . +Placeholder, omitted in default display mode. +.PD +.RE +.LP +.B fuser +returns a non-zero return code if none of the specified files is +accessed or in case of a fatal error. If at least one access has been +found, +.B fuser +returns zero. +.PP +In order to look up processes using TCP and UDP sockets, the +corresponding name space has to be selected with the +.B \-n +option. By default +.B fuser +will look in both IPv6 and IPv4 sockets. To change the default +behavior, use the +.B \-4 +and +.B \-6 +options. The socket(s) can be specified by the local and remote port, +and the remote address. All fields are optional, but commas in front +of missing fields must be present: +.PP +.RI [ lcl_port ][,[ rmt_host ][,[ rmt_port ]]] +.PP +Either symbolic or numeric values can be used for IP addresses and port +numbers. +.PP +.B fuser +outputs only the PIDs to stdout, everything else is sent to stderr. +.SH OPTIONS +.TP +.BR \-a ", " \-\-all +Show all files specified on the command line. By default, only files +that are accessed by at least one process are shown. +.TP +.B \-c +Same as \fB\-m\fR option, used for POSIX compatibility. +.TP +.B \-f +Silently ignored, used for POSIX compatibility. +.TP +.BR \-k ", "\-\-kill +Kill processes accessing the file. Unless changed with +.BI \- SIGNAL\/\c +, SIGKILL is sent. +An +.B fuser +process never kills itself, but may kill other +.B fuser +processes. The effective user ID of the process executing +.B fuser +is set to its real user ID before attempting to kill. +.TP +.BR \-i ", " \-\-interactive +Ask the user for confirmation before killing a process. +This option is +silently ignored if +.B \-k +is not present too. +.TP +.BR \-I ", " \-\-inode +For the name space +.B file +let all comparisons be based on the inodes of the specified file(s) +and never on the file names even on network based file systems. +.TP +.BR \-l ", " \-\-list\-signals +List all known signal names. +.TP +.BI -m " NAME\fR, " "\-\-mount " NAME +.I NAME +specifies a file on a mounted file system or a block device that is +mounted. All processes accessing files on that file system are listed. +If a directory is specified, it is automatically changed to +.IR NAME / +to use any file system that might be mounted on that directory. +.TP +.BR \-M ", " \-\-ismountpoint +Request will be fulfilled only if +.I NAME +specifies a mountpoint. This is an invaluable seat belt which prevents +you from killing the machine if +.I NAME +happens to not be a filesystem. +.TP +.B \-w +Kill only processes which have write access. This option is silently +ignored if +.B \-k +is not present too. +.TP +.BI \-n " NAMESPACE\fR, " "\-\-namespace " NAMESPACE +Select a different name space. The name spaces +.B file +(file names, the default), +.B udp +(local UDP ports), and +.B tcp +(local TCP ports) are supported. For ports, either the port number or +the symbolic name can be specified. If there is no ambiguity, the +shortcut notation +.IB name / space +(e.g., +.IB 80 / tcp \fR) +can be used. +.TP +.BR \-s ", " \-\-silent +Silent operation. +.B \-u +and +.B \-v +are ignored in this mode. +.B \-a +must not be used with +.BR \-s . +.TP +.BI \- SIGNAL +Use the specified signal instead of SIGKILL when killing processes. +Signals can be specified either by name (e.g., +.BR \-HUP ) +or by number (e.g., +.BR \-1 ). +This option is silently ignored if the +.B \-k +option is not used. +.TP +.BR \-u ", " \-\-user +Append the user name of the process owner to each PID. +.TP +.BR \-v ", " \-\-verbose +Verbose mode. Processes are shown in a +.BR ps -like +style. The fields PID, USER and COMMAND are similar to +.BR ps . +ACCESS shows how the process accesses the file. Verbose mode will also +show when a particular file is being accessed as a mount point, knfs +export or swap file. In this case +.B kernel +is shown instead of the PID. +.TP +.BR \-V ", " \-\-version +Display version information. +.TP +.BR \-4 ", " \-\-ipv4 +Search only for IPv4 sockets. This option must not be used with the +.B \-6 +option and only has an effect with the tcp and udp namespaces. +.TP +.BR \-6 ", " \-\-ipv6 +Search only for IPv6 sockets. This option must not be used with the +.B \-4 +option and only has an effect with the tcp and udp namespaces. +.SH FILES +.TP +/proc +location of the proc file system +.SH EXAMPLES +.TP +.B fuser \-km /home +kills all processes accessing the file system /home in any way. +.TP +.BI "if fuser \-s /dev/ttyS1; then :; else " command "; fi" +invokes +.I command +if no other process is using /dev/ttyS1. +.TP +.B fuser telnet/tcp +shows all processes at the (local) TELNET port. +.SH RESTRICTIONS +Processes accessing the same file or file system several times in the +same way are only shown once. +.PP +If the same object is specified several times on the command line, some +of those entries may be ignored. +.PP +.B fuser +may only be able to gather partial information unless run with +privileges. As a consequence, files opened by processes belonging to +other users may not be listed and executables may be classified as +mapped only. +.PP +.B fuser +cannot report on any processes that it doesn't have permission to look +at the file descriptor table for. The most common time this problem +occurs is when looking for TCP or UDP sockets when running +.B fuser +as a non-root user. In this case +.B fuser +will report no access. +.PP +Installing +.B fuser +SUID root will avoid problems associated with partial information, but +may be undesirable for security and privacy reasons. +.PP +.B udp +and +.B tcp +name spaces, and UNIX domain sockets can't be searched with kernels +older than 1.3.78. +.PP +Accesses by the kernel are only shown with the +.B \-v +option. +.PP +The +.B \-k +option only works on processes. If the user is the kernel, +.B fuser +will print an advice, but take no action beyond that. +.PP +.B fuser +will not see block devices mounted by processes in a different mount namespace. +This is due to the device ID shown in the process' file descriptor table being +from the process namespace, not fuser's; meaning it won't match. +.SH BUGS +.PP +.B fuser \-m /dev/sgX +will show (or kill with the \fB\-k\fR flag) all processes, +even if you don't have that device configured. There may be other +devices it does this for too. +.PP +The mount \fB\-m\fR option will match any file within the same device as the +specified file, use the \fB\-M\fR option as well if you mean to specify only +the mount point. +.PP +.B fuser +will not match mapped files, such as a process' shared libraries if they are +on a +.BR btrfs (5) +filesystem due to the device IDs being different for +.BR stat (2) +and \fI/proc/<PID>/maps\fR. +.SH "SEE ALSO" +.BR kill (1), +.BR killall (1), +.BR stat (2), +.BR btrfs (5), +.BR lsof (8), +.BR mount_namespaces (7), +.BR pkill (1), +.BR ps (1), +.BR kill (2). diff --git a/doc/killall.1 b/doc/killall.1 new file mode 100644 index 0000000..3414066 --- /dev/null +++ b/doc/killall.1 @@ -0,0 +1,178 @@ +.\" +.\" Copyright 1993-2002 Werner Almesberger +.\" 2002-2023 Craig Small +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.TH KILLALL 1 "2023-06-17" "psmisc" "User Commands" +.SH NAME +killall \- kill processes by name +.SH SYNOPSIS +.ad l +.B killall +.RB [ \-Z , \ \-\-context +.IR pattern ] +.RB [ \-e , \ \-\-exact ] +.RB [ \-g , \ \-\-process\-group ] +.RB [ \-i , \ \-\-interactive ] +.RB [ \-n , \ \-\-ns +.IR PID ] +.RB [ \-o , \ \-\-older\-than +.IR TIME ] +.RB [ \-q , \ \-\-quiet ] +.RB [ \-r , \ \-\-regexp ] +.RB [ \-s , \ \-\-signal +.IR SIGNAL ,\ \fB\- \fISIGNAL\fR ] +.RB [ \-u , \ \-\-user +.IR user ] +.RB [ \-v , \ \-\-verbose ] +.RB [ \-w , \ \-\-wait ] +.RB [ \-y , \ \-\-younger\-than +.IR TIME ] +.RB [ \-I , \ \-\-ignore-case ] +.RB [ \-V , \ \-\-version ] +.RB [ \-\- ] +.IR name " ..." +.br +.B killall +.BR \-l ", " \-\-list +.br +.B killall +.BR \-V , \ \-\-version +.ad b +.SH DESCRIPTION +.B killall +sends a signal to all processes running any of the specified commands. +If no signal name is specified, SIGTERM is sent. +.PP +Signals can be specified either by name (e.g.\& +.B \-HUP +or +.BR \-SIGHUP ) +or by number (e.g.\& +.BR \-1 ) +or by option +.BR \-s . +.PP +If the command name is not regular expression (option +.BR \-r ) +and contains a slash +.RB ( / ), +processes executing that particular file will be selected for killing, +independent of their name. +.PP +.B killall +returns a zero return code if at least one process has been killed for +each listed command, or no commands were listed and at least one +process matched the \fB\-u\fR and \fB\-Z\fR search criteria. +.B killall +returns non-zero otherwise. +.PP +A +.B killall +process never kills itself (but may kill other +.B killall +processes). +.SH OPTIONS +.IP "\fB\-e\fP, \fB\-\-exact\fP" +Require an exact match for very long names. If a command name is +longer than 15 characters, the full name may be unavailable (i.e. it +is swapped out). In this case, +.B killall +will kill everything that matches within the first 15 characters. With +.BR \-e , +such entries are skipped. +.B killall +prints a message for each skipped entry +if +.B \-v +is specified in addition to +.BR \-e . +.IP "\fB\-I\fP, \fB\-\-ignore\-case\fP" +Do case insensitive process name match. +.IP "\fB\-g\fP, \fB\-\-process\-group\fP" +Kill the process group to which the process belongs. The kill signal +is only sent once per group, even if multiple processes belonging to +the same process group were found. +.IP "\fB\-i\fP, \fB\-\-interactive\fP" +Interactively ask for confirmation before killing. +.IP "\fB\-l\fP, \fB\-\-list\fP" +List all known signal names. +.IP "\fB\-n\fP, \fB\-\-ns\fP" +Match against the PID namespace of the given PID. The default is to match +against all namespaces. +.IP "\fB\-o\fP, \fB\-\-older\-than\fP" +Match only processes that are older (started before) the time +specified. The time is specified as a float then a unit. The units +are s,m,h,d,w,M,y for seconds, minutes, hours, days, weeks, months and +years respectively. +.IP "\fB\-q\fP, \fB\-\-quiet\fP" +Do not complain if no processes were killed. +.IP "\fB\-r\fP, \fB\-\-regexp\fP" +Interpret process name pattern as a POSIX extended regular expression, per +.BR regex (3). +.IP "\fB\-s\fP, \fB\-\-signal\fP, \fB\-\fISIGNAL\fP" +Send this signal instead of SIGTERM. +.IP "\fB\-u\fP, \fB\-\-user\fP" +Kill only processes the specified user owns. Command names are +optional. +.IP "\fB\-v\fP, \fB\-\-verbose\fP" +Report if the signal was successfully sent. +.IP "\fB\-V\fP, \fB\-\-version\fP" +Display version information. +.IP "\fB\-w\fP, \fB\-\-wait\fP" +Wait for all killed processes to die. +.B killall +checks once per second if any of the killed processes still exist and +only returns if none are left. Note that +.B killall +may wait forever if the signal was ignored, had no effect, or if the +process stays in zombie state. +.IP "\fB\-y\fP, \fB\-\-younger\-than\fP" +Match only processes that are younger (started after) the time +specified. The time is specified as a float then a unit. The units +are s,m,h,d,w,M,y for seconds, minutes, hours, days, weeks, Months and +years respectively. +.IP "\fB\-Z\fP, \fB\-\-context\fP" +Specify security context: kill only processes having +security context that match with given extended regular expression +pattern. Must precede other arguments on the command line. Command +names are optional. +.SH FILES +.TP +/proc +location of the proc file system +.SH "KNOWN BUGS" +Killing by file only works for executables that are kept open during +execution, i.e. impure executables can't be killed this way. +.PP +Be warned that typing +.B killall +.I name +may not have the desired effect on non-Linux systems, especially when +done by a privileged user. +.PP +.B killall \-w +doesn't detect if a process disappears and is replaced by a new process +with the same PID between scans. +.PP +If processes change their name, +.B killall +may not be able to match them correctly. +.PP +.B killall +has a limit of names that can be specified on the command line. This +figure is the size of an unsigned long integer multiplied by 8. For most 32 +bit systems the limit is 32 and similarly for a 64 bit system the limit +is usually 64. +.SH "SEE ALSO" +.BR kill (1), +.BR fuser (1), +.BR pgrep (1), +.BR pidof (1), +.BR pkill (1), +.BR ps (1), +.BR kill (2), +.BR regex (3). diff --git a/doc/peekfd.1 b/doc/peekfd.1 new file mode 100644 index 0000000..f14159f --- /dev/null +++ b/doc/peekfd.1 @@ -0,0 +1,64 @@ +.\" +.\" Copyright 2007 Trent Waddington <trent.waddington@gmail.com> +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.TH PEEKFD 1 "2021-12-01" "psmisc" "User Commands" +.SH NAME +peekfd \- peek at file descriptors of running processes +.SH SYNOPSIS +.B peekfd +.RB [ \-8 , \-\-eight\-bit\-clean ] +.RB [ \-n , \-\-no\-headers ] +.RB [ \-c , \-\-follow ] +.RB [ \-d , \-\-duplicates\-removed ] +.RB [ \-V , \-\-version ] +.RB [ \-h , \-\-help ] +.I pid +.RI [ fd ] +.RI [ fd "] ..." +.SH DESCRIPTION +.B peekfd +attaches to a running process and intercepts all reads and writes to +file descriptors. You can specify the desired file descriptor numbers +or dump all of them. +.SH OPTIONS +.IP -8 +Do no post-processing on the bytes being read or written. +.IP -n +Do not display headers indicating the source of the bytes dumped. +.IP -c +Also dump the requested file descriptor activity in any new child +processes that are created. +.IP -d +Remove duplicate read/writes from the output. If you're looking at a +tty with echo, you might want this. +.IP -v +Display a version string. +.IP -h +Display a help message. +.SH FILES +.BI /proc/ * /fd +.RS +Not used but useful for the user to look at to get good file descriptor +numbers. +.SH ENVIRONMENT +None. +.SH DIAGNOSTICS +The following diagnostics may be issued on stderr: +.TP +.BI "Error attaching to pid " <PID> +An unknown error occurred while attempted to attach to a process, you +may need to be root. +.SH BUGS +Probably lots. Don't be surprised if the process you are monitoring +dies. +.SH AUTHOR +.MT trent.waddington@gmail.com +Trent Waddington +.ME +.SH "SEE ALSO" +.BR ttysnoop (8) diff --git a/doc/prtstat.1 b/doc/prtstat.1 new file mode 100644 index 0000000..3a7aed6 --- /dev/null +++ b/doc/prtstat.1 @@ -0,0 +1,40 @@ +.\" +.\" Copyright 2009-2020 Craig Small +.\" +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.TH PRTSTAT 1 "2020-09-09" "psmisc" "User Commands" +.SH NAME +prtstat \- print statistics of a process +.SH SYNOPSIS +.ad l +.B prtstat +.RB [ \-r | \-\-raw ] +.I pid +.br +.B prtstat +.BR \-V | \-\-version +.ad b +.SH DESCRIPTION +.B prtstat +prints the statistics of the specified process. This information comes +from the +.BI /proc/ pid /stat +file. +.SH OPTIONS +.TP +.BR \-r , \ \-\-raw +Print the information in raw format. +.TP +.BR \-V , \ \-\-version +Show the version information for +.BR prtstat . +.SH FILES +.TP +.BI /proc/ pid /stat +source of the information +.B prtstat +uses. diff --git a/doc/pslog.1 b/doc/pslog.1 new file mode 100644 index 0000000..5b6ec5a --- /dev/null +++ b/doc/pslog.1 @@ -0,0 +1,40 @@ +'\" t +.\" (The preceding line is a note to broken versions of man to tell +.\" them to pre-process this man page with tbl) +.\" Man page for pwdx +.\" Licensed under version 2 of the GNU General Public License. +.\" Copyright 2015 Vito Mule’. +.\" Based on the pwdx(1) man page by Nicholas Miell. +.\" +.TH PSLOG 1 "2020-09-09"Linux" "Linux User's Manual" +.SH NAME +pslog \- report current logs path of a process +.SH SYNOPSIS +.ad l +.B pslog +.IR pid " \&...\&" +.br +.B pslog \-V +.ad b +.SH DESCRIPTION +The +.B pslog +command reports the current working logs of a process. +.SH OPTIONS +.TP +.B \-V +Display version information. +.SH "SEE ALSO" +.BR pgrep (1), +.BR ps (1), +.BR pwdx (1). +.SH AUTHOR +Vito Mule\(cq +.MT mulevito@gmail.com +.ME +wrote +.B pslog +in 2015. Please send bug reports to +.MT mulevito@gmail.com +.ME . + diff --git a/doc/pstree.1 b/doc/pstree.1 new file mode 100644 index 0000000..8209cf5 --- /dev/null +++ b/doc/pstree.1 @@ -0,0 +1,178 @@ +.\" +.\" Copyright 1993-2002 Werner Almesberger +.\" 2002-2021 Craig Small +.\" This program is free software; you can redistribute it and/or modify +.\" it under the terms of the GNU General Public License as published by +.\" the Free Software Foundation; either version 2 of the License, or +.\" (at your option) any later version. +.\" +.TH PSTREE 1 "2021-06-21" "psmisc" "User Commands" +.SH NAME +pstree \- display a tree of processes +.SH SYNOPSIS +.ad l +.B pstree +.RB [ \-a , \ \-\-arguments ] +.RB [ \-c , \ \-\-compact\-not ] +.RB [ \-C , \ \-\-color\ \fIattr\fB ] +.RB [ \-g , \ \-\-show\-pgids ] +.RB [ \-h , \ \-\-highlight\-all , \ \-H \fI\ pid\fB \fR, \fB\ \-\-highlight\-pid\ \fIpid\fB \fR] +.RB [ \-l , \ \-\-long ] +.RB [ \-n , \ \-\-numeric\-sort ] +.RB [ \-N , \ \-\-ns\-sort\ \fIns\fB ] +.RB [ \-p , \ \-\-show\-pids ] +.RB [ \-s , \ \-\-show\-parents ] +.RB [ \-S , \ \-\-ns-changes ] +.RB [ \-t , \ \-\-thread-names ] +.RB [ \-T , \ \-\-hide-threads ] +.RB [ \-u , \ \-\-uid\-changes ] +.RB [ \-Z , \ \-\-security\-context ] +.RB [ \-A , \ \-\-ascii , \ \-G , \ \-\-vt100 , \ \-U , \ \-\-unicode ] +.RB [ \fIpid\fB , \ \fIuser\fR] +.br +.B pstree +.BR \-V , \ \-\-version +.ad b +.SH DESCRIPTION +.B pstree +shows running processes as a tree. The tree is rooted at either +.I pid +or +.B init +if +.I pid +is omitted. If a user name is specified, all process trees rooted at +processes owned by that user are shown. +.PP +.B pstree +visually merges identical branches by putting them in square brackets +and prefixing them with the repetition count, e.g. +.nf +.sp + init\-+\-getty + |\-getty + |\-getty + `\-getty +.sp +.fi +becomes +.nf +.sp + init\-\-\-4*[getty] +.sp +.fi +.PP +.PP +Child threads of a process are found under the parent process and are +shown with the process name in curly braces, e.g. +.nf +.sp + icecast2\-\-\-13*[{icecast2}] +.sp +.fi +.PP +If +.B pstree +is called as +.B pstree.x11 +then it will prompt the user at the end of the line to press return and +will not return until that has happened. This is useful for when +.B pstree +is run in a xterminal. +.PP +Certain kernel or mount parameters, such as the \fIhidepid\fR option for procfs, +will hide information for some processes. In these situations +.B pstree +will attempt to build the tree without this information, showing process +names as question marks. + +.SH OPTIONS +.IP \fB\-a\fP +Show command line arguments. If the command line of a process is +swapped out, that process is shown in parentheses. +.B \-a +implicitly disables compaction for processes but not threads. +.IP \fB\-A\fP +Use ASCII characters to draw the tree. +.IP \fB\-c\fP +Disable compaction of identical subtrees. By default, subtrees are +compacted whenever possible. +.IP \fB\-C\fP +Color the process name by given attribute. Currently \fBpstree\fR +only accepts the value \fBage\fR which colors by process age. +Processes newer than 60 seconds are green, +newer than an hour yellow and the remaining red. +.IP \fB\-g\fP +Show PGIDs. Process Group IDs are shown as decimal numbers in +parentheses after each process name. +If both PIDs and PGIDs are displayed then PIDs are shown first. +.IP \fB\-G\fP +Use VT100 line drawing characters. +.IP \fB\-h\fP +Highlight the current process and its ancestors. This is a no-op if +the terminal doesn't support highlighting or if neither the current +process nor any of its ancestors are in the subtree being shown. +.IP \fB\-H\fP +Like +.BR \-h , +but highlight the specified process instead. Unlike with +.BR \-h , +.B pstree +fails when using +.B \-H +if highlighting is not +available. +.IP \fB\-l\fP +Display long lines. By default, lines are truncated to either the COLUMNS +environment variable or the display width. If neither of these methods work, +the default of 132 columns is used. +.IP \fB\-n\fP +Sort processes with the same parent by PID instead of by name. +(Numeric sort.) +.IP \fB\-N\fP +Show individual trees for each namespace of the type specified. The +available types are: +.IR ipc ", " mnt ", " net ", " pid ", " time ", " user ", " uts . +Regular users don't +have access to other users' processes information, so the output will be +limited. +.IP \fB\-p\fP +Show PIDs. PIDs are shown as decimal numbers in parentheses after each +process name. +.B \-p +implicitly disables compaction. +.IP \fB\-s\fP +Show parent processes of the specified process. +.IP \fB\-S\fP +Show namespaces transitions. Like \fB\-N\fR, the output is limited when running +as a regular user. +.IP \fB\-t\fP +Show full names for threads when available. +.IP \fB\-T\fP +Hide threads and only show processes. +.IP \fB\-u\fP +Show uid transitions. Whenever the uid of a process differs from the +uid of its parent, the new uid is shown in parentheses after the +process name. +.IP \fB\-U\fP +Use UTF-8 (Unicode) line drawing characters. Under Linux 1.1-54 and +above, UTF-8 mode is entered on the console with +.B echo \-e '\\033%8' +and left with +.BR "echo \-e '\\033%@'" . +.IP \fB\-V\fP +Display version information. +.IP \fB\-Z\fP +Show the current security attributes of the process. For SELinux systems this +will be the security context. +.SH FILES +.TP +/proc +location of the proc file system +.SH BUGS +Some character sets may be incompatible with the VT100 characters. +.SH "SEE ALSO" +.BR ps (1), +.BR top (1), +.BR proc (5). +.\"{{{}}} |