summaryrefslogtreecommitdiff
path: root/bin/ps/print.c
AgeCommit message (Expand)Author
2022-01-26remove double t from targeted, add missing r to arbitraryandvar
2021-09-14use emalloc and friends, add ktrace flag printing.christos
2021-09-14Provide symbolic printing of some keywords by capitalizing them.christos
2021-04-17Remove SCCS workaround. No binary change.maya
2021-04-06- dedup codechristos
2021-04-06Fix the column width calculation for the lstart column if an emptysimonb
2019-06-19Add a fallback definition of LSDEAD in ps(1)kamil
2019-06-18Make LSDEAD usage conditionalkamil
2018-09-19Don't display l_wchan, either there is something in l_wmesg and we displaymaxv
2018-04-11use EXIT_FAILURE instead of 1christos
2017-12-09ps: Rename local routine name from uname to usrnamekamil
2016-12-12Handle functions that use the offset from either kinfo_proc2/kinfo_lwp properly.christos
2016-12-02provide a tree like display with -d, from FreeBSDchristos
2016-11-28Calculate CPU usage (pcpu) once per process if it is required. This changerin
2016-11-28for donlist{,_sysctl}:rin
2014-11-15Use l_wmesg if the string is not empty. Don't bother checking l_name forjoerg
2014-04-20Use an enum type for PRINTMODE vs. WIDTHMODE. Compiler output diffs havedholland
2014-01-15Add an LTIME column that prints lwp cputime.mlelstv
2012-03-20Use C89 function definitionsmatt
2012-02-13Remove unused variable.wiz
2011-06-13When converting from pages to kilobytes, cast the return value ofdholland
2011-01-22fix previous.christos
2011-01-22Make printing of lwp flags similar to the process one, identifying (O)nprocchristos
2010-07-28Do not check pcpu value against 100.0 but rather 99.95, to properlynjoly
2010-07-27Make %cpu drop the decimal part when reaching 100%, to stay in the 5njoly
2010-05-31Fix ps(1) and top(1) to show reasonable CPU numbers i.e. cpu_index() providedrmind
2009-10-21Remove uarea swap-out functionality:rmind
2009-03-29- add new RLIMIT_AS (aka RLIMIT_VMEM) resource that limits the totalmrg
2009-02-14fix -Wsign-compare issueslukem
2009-02-03make sure the table stays aligned even if no groups are to be displayeddrochner
2009-02-03make sure the table stays aligned even if no groups are to be displayeddrochner
2008-12-28fix dev_t 64 bit issues.christos
2008-10-19Use 'O' for LSONPROC like solaris instead of bundling LSIDL, LSRUN, LSONPROCchristos
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-02-10Add a CPUID keyword; idea and some of the code from Anon Ymouschristos
2007-12-31Remove systrace. Ok core@.ad
2007-11-06Kill another use of PZERO.ad
2007-09-01add a keyword "lname", to print l_name.yamt
2007-07-28Don't call P_ZOMBIE(struct kinfo_proc2), it's p_stat field containsdsl
2007-02-17Revert the changes done after newlock2 merge, except for the removal ofpavel
2007-02-10Further changes to use compat process flags mapped by sysctl. To bead
2007-02-09Sync with kernel changes introduced by merging the newlock2 branch.ad
2006-10-29Add support for printing the emulation of the process.christos
2006-10-02* When all columns are given null customised headers, the blank headerapb
2005-06-27Add some more const so that this compiles again.christos
2005-06-26sprinkle a little const, and now everything compiles with WARNS=3christos
2005-06-07Appease -Wuninitialized by initializing val and uval to 0.he
2004-11-16print TTY instead of TT, one question mark instead of two and always thechristos
2004-04-23s/the the/the/ (only in sources that aren't regularly imported fromsimonb
2004-03-27Gah, fix uninitialised variable with the "etime" change. _Never_ besimonb