Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2002 17:43:05 +0900
From:      Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
To:        chat@FreeBSD.org
Cc:        Robert Watson <rwatson@FreeBSD.org>, Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
Subject:   Re: The largest number of vnodes/in-core inodes in a host
Message-ID:  <200203040843.g248h50j045578@rina.r.dl.itc.u-tokyo.ac.jp>
In-Reply-To: <Pine.NEB.3.96L.1020303223951.54127B-100000@fledge.watson.org>
References:  <200203031530.g23FU7fu082955@silver.carrots.uucp.r.dl.itc.u-tokyo.ac.jp> <Pine.NEB.3.96L.1020303223951.54127B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 3 Mar 2002 22:40:31 -0500 (EST),
  Robert Watson <rwatson@FreeBSD.org> said:

rwatson> Might make sense to follow up with the command to generate the numbers, so
rwatson> that people can compare with their local box :-).

'vmstat -z | grep VNODE' gives the number of allocated vnodes:

--- v --- vmstat -z | grep VNODE --- v ---
tanimura@rina% vmstat -z | grep VNODE
VNODE:           192,        0,  50730,     44,    50730
--- ^ --- vmstat -z | grep VNODE --- ^ ---

The fourth column (50730 in this example) is the number of vnodes.


'vmstat -m | grep FFS' tells you the number of in-core inodes:

--- v --- vmstat -m | grep FFS --- v ---
tanimura@rina% vmstat -m | grep FFS
 512  USBdev, UFS mount, MFS node, FFS node, NFSV3 diroff, NFS daemon,
     FFS node 49983 24992K  25335K 63770K141970109    0     0  512
--- ^ --- vmstat -m | grep FFS --- ^ ---

The second column in the second line (49983 in this example) is the
number of in-core inodes.

-- 
Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp> <tanimura@FreeBSD.org>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203040843.g248h50j045578>