summaryrefslogtreecommitdiff
path: root/usr.sbin/pstat/pstat.c
AgeCommit message (Expand)Author
2012-12-18We no longer use struct eproc for kinfo_proc in sysctl.h so thereTodd C. Miller
2012-07-11Don't skip pipe, kqueue, crypto, or systrace files in pstat -f outputPhilip Guenthe
2012-07-09According to miod, KERNBASE used as a userland symbol should dieTheo de Raadt
2012-05-17show the f_iflags; ok guentherTheo de Raadt
2011-06-28Use kvm_getfile2() instead of sysctl(KERN_FILE) for the -f optionPhilip Guenthe
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-05-31Don't define NFS before including kernel header files,Thordur I. Bjornsson
2008-10-07pstat can hide information too; also based on PR 5113Theo de Raadt
2008-09-01sync synopsis and usage; KNF.Igor Sobrado
2008-02-20set globalnl to vnodenl in filemode() so we access the rightThordur I. Bjornsson
2007-12-28printf field widths are always int, so add casts to removeCharles Longeau
2007-12-08no need to pre-check for % in dformat, it will fail later anywaysTheo de Raadt
2007-11-28refine format string, support hh and c for real. ok deraadtTed Unangst
2007-11-28Be more careful with printf-style formats, and fix a few other nigglesTheo de Raadt
2007-11-28add a -d argument, which can be used to peek at values in the kernel.Ted Unangst
2007-11-26cleanup. nl is a poor name for a global (accessed via macro no less).Ted Unangst
2007-09-03malloc(n * m) -> calloc(n, m); ok espieTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2006-06-04teach this about NMEADISC tooTheo de Raadt
2006-04-18simple variable renaming to please lintTheo de Raadt
2006-03-27Check for syncer vnodes before the file system specific routine getsPedro Martelletto
2006-03-26Pretty-print addresses on 64-bit architectures; with input and ok deraadt@Uwe Stuehler
2006-03-26Back out -r1.59. I did not follow the process.Uwe Stuehler
2006-03-26Set the width of address columns based on the machine word width.Uwe Stuehler
2006-03-25Kill double wordPedro Martelletto
2006-03-25Handle syncer vnodes gracefully, okay deraadt@Pedro Martelletto
2005-12-28Use the DIP macros to uniformly access fields from UFS1 and UFS2 dinodes.Pedro Martelletto
2005-12-17Remove the 'on disk' inode (dinode) from the 'in memory' inode in UFS.Pedro Martelletto
2005-12-11inode/dinode separation for ext2fsPedro Martelletto
2005-10-15Use queue macros instead of directly accessing fields. ok miod@ pat@ millert@Otto Moerbeek
2005-05-26typoPedro Martelletto
2005-05-26remove reference to MNT_UNIONPedro Martelletto
2005-05-03setresgid; ok deraadt@Damien Miller
2005-02-08* plug memory leaks in some paths. From Andrey MatveevPatrick Latifi
2004-09-14remove unused variablesTheo de Raadt
2004-08-03make pstat -f show lockingMichael Coulter
2004-03-16add -M and -N to options list;Jason McIntyre
2003-09-08insufficient size for mib; andrushock@korovino.netTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-01-06some cleanup; andrushock@korovino.netTheo de Raadt
2003-01-06only do kvm_openfiles for -v, all others use sysctlTheo de Raadt
2003-01-06minor tweaksTheo de Raadt
2002-12-12can now get _ttylist via sysctl; millert okTheo de Raadt
2002-12-09knfTheo de Raadt
2002-07-13slight cleanupTheo de Raadt
2002-07-12remove printing of soon-to-be-gone flags.Artur Grabowski
2002-06-19mark which nlist[] kmem entries are not needed in the sysctl case, and which areTheo de Raadt
2002-06-18size_t cleanupsTheo de Raadt
2002-06-16When processing the KERN_VNODE sysctl, the kernel builds a packed structure,Miod Vallat
2002-06-08Take advantage of sysctls for stats --- not in use, as we need theAngelos D. Keromytis