NFSLOGSUM(8)
π NAME π
ok so nfslogsum β she summarizes nfswatch log files. that's the whole job bestie, and she does it flawlessly β¨
π SYNOPSIS π
nfslogsum [ -n ] [ -v ] [ logfile ]
πΈ DESCRIPTION πΈ
okay so here's the tea: nfslogsum takes the log files that nfswatch produces and turns them into an actual summary, because reading raw logs is not the vibe. π«Ά
by default she summarizes the log file nfswatch.log. want a different one? just drop an alternate log file on the command line, easy. π
every nfswatch log file can hold one or more log sessions, and each one starts with a header that gets printed whenever logging is turned on. for each session, nfslogsum tallies up the interval packet totals and prints a one-page summary of that session. total packets and percentages? tabulated for each category, and displayed. periodt. π
the -n option tells nfslogsum to read only the first n entries in the log file. this is lowkey iconic for summarizing log files in cumulative "chunks". π§©
if the -v option is given, nfslogsum produces a "verbose" summary of the log file. on top of everything described above, you also get a summary of how many calls to each NFS procedure were made on each file system and on each individual file. this summary is split into three sections of six columns each, and the columns are headed by the names of the NFS procedures. here's the rundown, briefly: π
NULLPROCβ do nothing. this procedure exists so you can do server response testing and timing.GETATTRβ get file attributes (type, mode, number of links, owner's uid, owner's gid, size, access, modification and change times, etc.). used by thestat(2)system call, plus several others.SETATTRβ set file attributes (mode, owner's uid, owner's gid, size in bytes, access and modification times). used by system calls likechmod(2),chown(2),truncate(2), and so on.GETROOTβ get file system root. this procedure is obsolete, and has been replaced by a MOUNT Protocol procedure. πLOOKUPβ look up file name. used to obtain an initial file handle for use in current and future requests on that file, and it's used by many different system calls.READLINKβ read from symbolic link. used by thereadlinksystem call, and by the kernel.READβ read data from file. used by theread(2)system call.WCACHEβ write to cache. unused in the current NFS protocol revision. πWRITEβ write data to file. used by thewrite(2)system call.CREATEβ create file. used by thecreat(2)andopen(2)system calls.REMOVEβ remove file. used by theunlink(2)system call.RENAMEβ rename file. used by therenamesystem call.LINKβ create link to file. used by thelink(2)system call.SYMLINKβ create symbolic link to file. used by thesymlink(2)system call.MKDIRβ create directory. used by themkdir(2)system call.RMDIRβ remove directory. used by thermdir(2)system call.READDIRβ read entries from directory. generally only oneREADDIRcall is needed per directory, since a variable number of entries can be returned. efficiency queen πSTATFSβ get file system attributes (transfer size, block size, blocks in use, blocks free). used by thestatfs(2)system call.
π¦ SEE ALSO π¦
π BUGS π
nfslogsumis extremely sensitive to the format of the log file produced bynfswatch. do not edit or change the log file before feeding it tonfslogsum. not even a little. not even one character. she will notice and she will act up. π
β¨ AUTHOR β¨
David A. Curry Purdue University Engineering Computer Network 1285 Electrical Engineering Building West Lafayette, IN 47907-1285 davy@ecn.purdue.edu
and that's the whole page bestie π this one came out of the Purdue/DEC System Manager's Manual, dated January 1993 β vintage, but the girlies still use her. bye now, go summarize some logs π
π¦ where this page comes from
- debian bookworm: nfswatch 4.99.12-1 Β· BSD-3-Clause
- debian trixie: nfswatch 4.99.14-1 Β· BSD-3-Clause
- fedora 43: nfswatch 4.99.14-2.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: nfswatch 4.99.14-3.fc44 Β· LicenseRef-Callaway-BSD
- ubuntu noble: nfswatch 4.99.12-1build3 Β· BSD-3-Clause
- ubuntu questing: nfswatch 4.99.14-1
- ubuntu resolute: nfswatch 4.99.14-1build1 Β· BSD-3-Clause
- ubuntu stonking: nfswatch 4.99.14-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms